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

Android 模擬器:安裝錯(cuò)誤:INSTALL_FAILED_VERSION_DOWNGRA

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

問題描述

我目前正在嘗試編譯和測試一個(gè)小型 Android 應(yīng)用程序.

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

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

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

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

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

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

解決方案

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

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

  • 卸載當(dāng)前安裝的副本

  • 或打開手機(jī)的設(shè)置>應(yīng)用程序管理器來確定已安裝應(yīng)用程序的版本號,并在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 模擬器:安裝錯(cuò)誤: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 存儲(chǔ)桶身份驗(yàn)證錯(cuò)誤)
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 無法檢測到我的手機(jī)進(jìn)行試運(yùn)行)
platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目錄)
主站蜘蛛池模板: 亚洲区中文字幕 | 亚洲精品国产一区 | 精品一区二区三区在线观看 | 爱爱视频在线观看 | 成人av观看 | 玖玖视频国产 | 国产精品久久久久久久久久免费看 | 不卡一区二区三区四区 | cao在线 | 欧美一区二区三区在线观看视频 | 日韩电影免费在线观看中文字幕 | 久久国产精品免费一区二区三区 | 欧美日韩精品一区 | 日韩一区二区在线看 | 在线观看黄免费 | 日日夜夜av| 天天干天天操天天看 | 久久精品国产亚洲a | 国产精品一区二区无线 | 在线日韩 | 在线播放一区二区三区 | 一区二区免费 | 欧美日韩精品一区 | 黄色在线免费观看视频网站 | 久久99精品久久久久久琪琪 | 精品国产乱码久久久 | 欧美一级黄带 | 中文字幕在线视频精品 | 日日综合| 国产免费人成xvideos视频 | 国内精品视频 | 国产色婷婷精品综合在线播放 | 九一视频在线观看 | 在线成人免费视频 | 欧美视频免费在线 | www.99热| 午夜a区 | 国产91综合一区在线观看 | 羞羞网站在线观看 | 99精品网站 | 日韩一区精品 |