2016-03-17 128 views
0

我在編譯我的項目ionic/cordova(6)時發現問題,在AndroidManifest.xml(platforms \ android)中查找並設置正確。錯誤構建離子/科爾多瓦Android API 10

在AndroidManifest.xml(平臺\機器人\編譯\ \中間體爆炸-AAR \機器人\ CordovaLib \不明\調試)我的屬性minsdk 10,但是當我生成項目,它將覆蓋14

我就加我config.xml的偏好名= 「機器人-的minSdkVersion」 值= 「10」,但沒有工作....

我對我的表現工具補充:overrideLibrary但是不行......

Manifest merger failed : uses-sdk:minSdkVersion 10 cannot be smaller than version 14 declared in library [android:CordovaLib:unspecified:debug] D:\XX\platforms\android\build\intermediates\exploded-aar\android\CordovaLib\unspecified\debug\AndroidManifest.xml 
1>  Suggestion: use tools:overrideLibrary="org.apache.cordova" to force usage 
1> 
..................... 
1> 
1> * Try: 
1> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 
1>MDAVSCLI : Java HotSpot(TM) 64-Bit Server VM warning : ignoring option MaxPermSize=512m; support was removed in 8.0 

回答