Skip to content Skip to sidebar Skip to footer

Phonegap 3.0 Cli Issue Android Target Number In Build App

I am running MAC Phonegap 3.0 CLI to make my android webapp. Got Android target 18 installed. $ phonegap local build android And so I got error : [error] Please install Androi

Solution 1:

I am including my AndroidManifest.xml file. Look at the pink circle I put. This you have to change. enter image description here

Solution 2:

You can create a project.properties to tells "phonegap" which version of android you would like to use as follow:

target=android-

You can find out more here: http://docs.phonegap.com/en/2.1.0/guide_command-line_index.md.html

Solution 3:

You have to look in file AndroidManifest.xml. You have android:minSdkVersion and android:targetSdkVersion. Specify the min. Version your app will run and targeted one. In your case 18. Hope you understand it if not contact me.

Solution 4:

You are in the wrong place

TRY THIS: phonegap local build android

this will add the android to your platforms folder

Solution 5:

I think PhoneGap, when using build, uses by default the latest API version (target) installed. If you already used the command with a previous API and you want to use the newly installed, run:

phonegap platform update android

Post a Comment for "Phonegap 3.0 Cli Issue Android Target Number In Build App"