我需要在Phonegap应用程序中定位这个较旧的平台。如何为Android 2.3构建Phonegap应用程序?
到目前为止,我已经试过:
<preference name="android-minSdkVersion" value="8" />
在我3210,但构建似乎失败:
Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 14 declared in library /home/ldc/myapp/platforms/android/build/intermediates/exploded-aar/android/CordovaLib/unspecified/debug/AndroidManifest.xml
我也试着设置:
<engine name="android" spec="~2.3.0" />
但我一直在:
Error: No compatible version found: [email protected]'>=2.3.0 <2.4.0'
Valid install targets:
["3.5.0","3.5.1","3.6.0","3.6.1","3.6.3","3.6.4","3.7.0","3.7.1","4.0.0","4.0.1","3.7.2","4.0.2","4.1.0","4.1.1","5.0.0"]
任何提示?
你需要的PhoneGap(-build)?否则,您可以使用cordova并安装旧版本。 – Joerg