我正在嘗試使Phonegap 1.6.0與Android一起工作,並且它看起來像遵循指南on their website但它不啓動。它只是說應用程序意外停止。我已經多次嘗試過,嘗試製作多個項目,而且我仍然得到同樣的結果。Phonegap 1.6.0錯誤Android
這裏是我的全部代碼:
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");
}
}
這一切編譯罰款,但在發射出去擲骰子。我已經用快速入門指南對我的項目進行了兩倍和三倍的檢查,並且它排隊了。我的構建路徑中有cordova-1.6.0.jar。
Here are the errors I get in eclipse when it attempts to launch.
有我丟失的東西?或者在1.6.0中做了某些未在文檔中反映的更改?
我也有同樣的錯誤很多times.i認爲它是一個在phonegap中的錯誤,而我們使用它與android。 – himanshu 2012-04-16 10:49:09