Friday 18 October 2013

Phonegap commnad line android project creation

Phonegap commnad line android project creation for cordova 2.6_higher version

1)Create a phonegap Project for android in windows in Phonegap versions (like 2.6,2.7)
Open command prombt 
C:>

2)cd:>change to phonegap downloaded dir..in android bin folder (there is one create.batch file avail)
C:\Users\Ganapathi\Desktop\gap\phonegap-2.7.0\phonegap-2.7.0\lib\android\bin

3).C:>...\bin>create Folder_Name package_name Project_Name
Android project creaing...

4).Then ,Inside the phonegap bin folder Specified project is created.

5). Import that project in eclipse project setting.... for further steps


When import to eclipse 4 error occur in manifest file
1) remove  android:windowSoftInputMode="adjustPan" in first line <manifest xmlns:android="

2)remove xlargescreen:true in <supported-screen >tag

 3) choose any one <application android:icon="@drawable/ic_launcher" or icon

4)remove  android:hardwareAccelerated="true" in <application android:icon= tag




No comments:

Post a Comment