Sergey-9 / mobile-web-development-with-phonegap

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

Build errors with Android 1.5 and 1.6 #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select Android 1.5 or 1.6 as the Build Target on the New Android Project 
Wizard 

What is the expected output? What do you see instead?

Build errors show up in the console.

Workarounds:
1. Build for 2.1 or greater.  PhoneGap apps still seem to run on 1.5 and 1.6 
fine
2. Do the following edits:
- Open src/com.phonegap 
- Right click on ContactAccessorSdk5.java and select Delete 
- Open DroidGap.java 
- Comment out two lines 
-//import android.webkit.WebStorage; 
-//import android.webkit.GeolocationPermissions.Callback; 
Comment out the three methods that still show errors (red in the 
margins) 

Original issue reported on code.google.com by paul.beu...@gmail.com on 8 Jan 2011 at 10:55

GoogleCodeExporter commented 9 years ago
Workarounds update - do one of the following 3:
1. Build for 2.1 or greater.  PhoneGap apps still seem to run on 1.5 and 1.6 
fine
2. Use the install from http://www.phonegap.com/download instead of github
3. Do the following edits:
- Open src/com.phonegap 
- Right click on ContactAccessorSdk5.java and select Delete 
- Open DroidGap.java 
- Comment out two lines 
-//import android.webkit.WebStorage; 
-//import android.webkit.GeolocationPermissions.Callback; 
Comment out the three methods that still show errors (red in the 
margins) 

Original comment by paul.beu...@gmail.com on 12 Jan 2011 at 5:33

GoogleCodeExporter commented 9 years ago
PhoneGap 1.0 has deprecated Android 1.5 and 1.6 support. See comment #1 for 
using AppLaud with pre-1.0 versions of PhoneGap. 

AppLaud will not add additional support.

Original comment by paul.beu...@gmail.com on 15 Aug 2011 at 8:21