问题描述
- Installation error: INSTALL_FAILED_OLDER_SDK
-
在eclipse(Mars.1 Release (4.5.1))运行andriod项目,一直提示这个错误信息[2016-02-24 18:40:04 - MainActivity] Installation error: INSTALL_FAILED_OLDER_SDK
[2016-02-24 18:40:04 - MainActivity] Please check logcat output for more details.
[2016-02-24 18:40:05 - MainActivity] Launch canceled!注释了"uses-sdk android:minSdkVersion="4" "这行代码,也还是提示同样的错误信息
解决方案
把4改成8试试,应该是最小版本太低了。
解决方案二:
SDK版本太低,更新个新点的试试
解决方案三:
<?xml version='1.0' encoding='utf-8'?>
This file is automatically generated by Android Tools.
Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
This file must be checked in Version Control Systems.
#
To customize properties used by the Ant build system edit
"ant.properties", and override values to adapt the script to your
project structure.
#
To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Project target.
target=android-21
android.library.reference.1=CordovaLib
解决方案四:
<?xml version='1.0' encoding='utf-8'?>
解决方案五:
屏蔽< >符号????
解决方案六:
<?xml version='1.0' encoding='utf-8'?>
解决方案八:
<activity android:name=""
activity名字设置一下,试试,其他的真看不出来有什么问题了。
时间: 2024-08-04 14:25:41