anhquan1210 / mobile-web-development-with-phonegap

Automatically exported from code.google.com/p/mobile-web-development-with-phonegap
0 stars 0 forks source link

Error when creating project for API Level 8 or Lower #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a PhoneGap Project for API level 8 or lower
2. You can find a Error in AndroidManifest.xml
 'android:xlargeScreens="true"' is supported from API Level 9, so one has to delete manually this line only if the user manages to figure out the reason for error.

Solution : 
 It would be easy for users if some 'if-else' conditions is used while including 'android:xlargeScreens="true"' in AndroidManifest.xml file.

Original issue reported on code.google.com by yoganand...@gmail.com on 8 Aug 2012 at 6:29

GoogleCodeExporter commented 8 years ago
PhoneGap projects are only supported for recent API levels. To support older 
Android version (back to 7), use the minSDK option. See the example at 
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt0

Note, when android:xlargeScreens was introduced, I had similar expectations and 
filed a bug against PhoneGap and learned the above.

Original comment by paul.beu...@gmail.com on 8 Aug 2012 at 2:43