I'm trying to get phonegap 1.6.0 to work with Android, and it seems like following the guide on their website but it doesn't start. It just says the app stopped unexpectedly. I've gone over this multiple times, trying to make multiple projects, and I still get the same thing.
Here is all the code I have:
package com.phonegap.test;
import android.os.Bundle;
import org.apache.cordova.*;
public class PhoneGapTest extends DroidGap {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/index.html");
}
}
It all compiles fine, but craps out at launch. I've double and triple checked my project with the quick start guide and it lines up. I have the cordova-1.6.0.jar in my build path.
Here are the errors I get in eclipse when it attempts to launch.
Is there something I'm missing? Or did something change in 1.6.0 that isn't reflected in the docs?