2015-09-06 82 views
-1

我是新來的科爾多瓦,我創建了使用科爾多瓦的android項目。如何用cordova中提到的版本創建android項目?

cordova create FAS com.FAS.solitaire "FAS Freecell Solitaire" 
cordova platform add [email protected] 

但是當我發表這個程序在Play商店,那裏顯示( 「需要Android 2.3.3 和高達」)。但是,這個應用程序從Android版本只能運行4.2.2

這個程序Play商店的鏈接是 https://play.google.com/store/apps/details?id=com.FASgame.FASsolitaire

+0

你是什麼版本科爾多瓦使用? – lifeisfoo

+0

@lifeisfoo最新版本cordova 3.5.1 –

+0

latests cordova CLI版本是5.2.0,而cordova android是4.1.1,而不是3.5.1。科爾多瓦android 4.1.1支持android 4.0(SDK 14)和以上,你的問題很混亂 – jcesarmobile

回答

0

嘗試在你的config.xml文件中添加這兩行

<preference name="target-device" value="universal" /> 
<preference name="android-minSdkVersion"  value="7" /> 
相關問題