久久久久久久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).我已經(jīng)設(shè)置了

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

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

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

[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] 發(fā)布取消!

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

解決方案

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

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

  • 卸載當前安裝的副本

  • 或打開手機的設(shè)置>應用程序管理器來確定已安裝應用程序的版本號,并在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

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

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

相關(guān)文檔推薦

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 中設(shè)置 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 目錄)
主站蜘蛛池模板: 欧美精品1区2区 | 日韩综合一区 | 久久99精品视频 | 伊人伊人| 日韩中文在线观看 | 成人在线小视频 | 一级日批片 | 欧美性网 | 一区二区三区国产在线观看 | 久久久男人的天堂 | 国产精品国产a级 | 婷婷久久综合 | 中文字幕精品视频 | 精品久久久久久中文字幕 | 日韩网站免费观看 | 欧美一级二级视频 | 久久日韩精品一区二区三区 | 99精品久久久 | 久久久久国产一区二区三区四区 | 国产成人99久久亚洲综合精品 | 欧美 日本 国产 | 精品免费国产视频 | 伊人热久久 | 亚洲综合视频 | 国产精品美女在线观看 | 日韩精品色网 | 日韩在线观看一区二区三区 | 天天看天天干 | 久久成人一区 | 成年人黄色一级片 | 国产在线看片 | 欧美成人a∨高清免费观看 色999日韩 | 久久久这里只有17精品 | eeuss国产一区二区三区四区 | 久久免费精品 | 精品国产18久久久久久二百 | 亚洲国产精品一区二区久久 | 请别相信他免费喜剧电影在线观看 | 九九热精品视频 | 欧美成人aaa级毛片在线视频 | 国产a区 |