久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Android 模擬器:安裝錯誤:INSTALL_FAILED_VERSION_DOWNGRA

Android Emulator: Installation error: INSTALL_FAILED_VERSION_DOWNGRADE(Android 模擬器:安裝錯誤:INSTALL_FAILED_VERSION_DOWNGRADE)
本文介紹了Android 模擬器:安裝錯誤:INSTALL_FAILED_VERSION_DOWNGRADE的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我目前正在嘗試編譯和測試一個小型 Android 應用程序.

我正在使用 Eclipse,并安裝了 SDK 4.2(Api 級別 17).我已經設置了

雖然我也嘗試過不同的值(即 17/17).

我不使用任何 GoogleAPI 函數,也不使用 API 級別 8 中不可用的函數.或者至少在這方面我沒有收到任何編譯錯誤或警告.

當我編譯項目并在運行 Android 2.2.1 的真實設備上運行它時,應用程序運行良好.但是,當我嘗試在具有 Android 4.2、Api Level 17 的模擬器(Android 虛擬設備)上運行應用程序時,出現以下錯誤:

[2012-12-10 21:10:29 - SoftKeyboard] 安裝錯誤:INSTALL_FAILED_VERSION_DOWNGRADE[2012-12-10 21:10:29 - SoftKeyboard] 請檢查 logcat 輸出以獲取更多詳細信息.[2012-12-10 21:10:29 - SoftKeyboard] 發布取消!

然而,Logcat 是空的.我真的不知道,這個錯誤甚至意味著什么......

解決方案

這意味著您正在嘗試安裝一個與已安裝在模擬器上的應用程序具有相同 packageName 的應用程序,但您正在嘗試安裝的應用程序具有較低的 versionCode(您的版本號的整數值).

您可能已經從版本號高于您現在正在使用的副本的代碼的單獨副本安裝.無論哪種情況,都可以:

  • 卸載當前安裝的副本

  • 或打開手機的設置>應用程序管理器來確定已安裝應用程序的版本號,并在AndroidManifest中增加你的.p>

  • 或https://stackoverflow.com/a/13772620/632951

I am currently trying to compile and test a small Android Application.

I am using Eclipse, and have SDK 4.2 (Api Level 17) installed. I've set

<uses-sdk android:targetSdkVersion="17" android:minSdkVersion="8" />

although I've tried also different values (i.e. 17/17).

I do not use any GoogleAPI functions, nor do I use functions that are not available in API Level 8. Or at least I do not get any compile errors or warnings in that regard.

When I compile the project and run it on a real device running Android 2.2.1 the Application runs fine. However when I try to run the application on an emulator (Android Virtual Device) with Android 4.2, Api Level 17 I get the following error:

[2012-12-10 21:10:29 - SoftKeyboard] Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
[2012-12-10 21:10:29 - SoftKeyboard] Please check logcat output for more details.
[2012-12-10 21:10:29 - SoftKeyboard] Launch canceled!

Logcat however is empty. I have really no clue, what this error even means...

解決方案

It means you're trying to install an app with the same packageName as an app that's already installed on the emulator, but the one you're trying to install has a lower versionCode (integer value for your version number).

You might have installed from a separate copy of the code where the version number was higher than the copy you're working with right now. In either case, either:

  • uninstall the currently installed copy

  • or open up your phone's Settings > Application Manager to determine the version number for the installed app, and increment your <manifest android:versionCode to be higher in the AndroidManifest.

  • or https://stackoverflow.com/a/13772620/632951

這篇關于Android 模擬器:安裝錯誤:INSTALL_FAILED_VERSION_DOWNGRADE的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Why would you choose Android API over Google APIs in the SDK on Eclipse?(為什么在 Eclipse 的 SDK 中選擇 Android API 而不是 Google API?)
Couchbase Bucket authentication error(Couchbase 存儲桶身份驗證錯誤)
admob 6.2.1 nullpointer exception(admob 6.2.1 空指針異常)
How to setup SDK in IntelliJ IDEA?(如何在 IntelliJ IDEA 中設置 SDK?)
My phone cannot be detected in eclipse to test run(eclipse 無法檢測到我的手機進行試運行)
platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目錄)
主站蜘蛛池模板: 日韩中文视频 | 九九看片 | 黄色片在线网站 | 免费在线观看一区二区 | 欧美日韩高清一区二区三区 | 国产日韩av一区二区 | 人人做人人澡人人爽欧美 | 亚洲97 | 久久久国产一区二区三区 | 欧美xxxx色视频在线观看免费 | 成在线人视频免费视频 | 中文字幕亚洲精品 | 欧美综合网 | 色网站入口 | 国产午夜精品一区二区三区嫩草 | 欧美综合久久久 | 91精品久久久久久久久久入口 | 日韩手机视频 | 国产一区二区三区在线 | 91久久久久久久久久久久久 | 午夜精品久久 | 欧美日韩国产高清 | 久久国产精品免费一区二区三区 | 一级片在线播放 | 夜夜艹 | 久久99精品久久久久久国产越南 | 久草日韩 | 蜜臀久久 | 午夜资源 | 欧美午夜精品久久久久久浪潮 | 中文字幕亚洲一区二区三区 | 美日韩中文字幕 | 福利片在线观看 | 欧美在线日韩 | 国产一区二区三区www | 中文字幕一二三 | 色五月激情五月 | 免费中文字幕日韩欧美 | 中文字幕亚洲欧美 | 给我免费的视频在线观看 | 粉嫩av久久一区二区三区 |