[英]Apache Cordova - Application doesn't work on Android 2.2.3
I have created a new project. 我创建了一个新项目。 On Android 5 it works perfectly.
在Android 5上,它可以完美运行。 I am trying to run on 2.3.3 but during installation I am getting a message "There is a problem parsing the package".
我试图在2.3.3上运行,但是在安装过程中,我收到一条消息“解析软件包时出现问题”。
I think I need set minSdkVersion 8 for Android 2.2.3: 我想我需要为Android 2.2.3设置minSdkVersion 8:
<preference name="android-minSdkVersion" value="8" />
but the compilation fails: 但是编译失败:
uses-sdk:minSdkVersion 8 cannot be smaller than version 14 declared in ..AndroidManifest.xml
If I set 14, the application installation also doesn't work on 2.2.3. 如果设置为14,则在2.2.3上也无法进行应用程序安装。 How I can solve this problem?
我该如何解决这个问题?
The latest Cordova release that supports Android 2.2 is the 2.9 . 支持Android 2.2的最新Cordova版本是2.9 。
As reported in the latest Cordova documentation (bold is mine): 如最新的Cordova文档中所报道(粗体是我的):
Cordova supports Android 4.0.x (starting with Android API level 14) and higher.
Cordova支持Android 4.0.x(从Android API级别14开始)和更高版本。 As a general rule, Android versions become unsupported by Cordova as they dip below 5% on Google's distribution dashboard .
通常,Cordova不支持Android版本,因为它们在Google的发布信息中心上降至5%以下 。 Android versions earlier than API level 10, and the 3.x versions (Honeycomb, API levels 11-13) fall significantly below that 5% threshold.
低于API级别10的Android版本和3.x版本(蜂窝,API级别11-13)明显低于该5%阈值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.