Im trying to add splash screen to my app, I modify my app.java to look like
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
super.init();
super.setIntegerProperty("splashscreen", R.drawable.splash);
// Set by <content src="index.html" /> in config.xml
super.loadUrl("file:///android_asset/www/index.html");
}
and when I run the app I got an error saying command failed with exit code 2
I follow the instruction from here phonegap - splash screen for Android app