4
我使用PhoneGap的「2.0」與Android SDK 15,我只是想嵌入的WebView科爾多瓦在Android prject,我一步一步使用指南Links,在github上Links 我的應用程序也是另一個例子我跑步時自動崩潰並停止。 logcat的錯誤:嵌入科爾多瓦的WebView在Android
android.view.InflateException: Binary XML file line #6: Error inflating class org.apache.cordova.CordovaWebView
我的XML文件 「main.xml中」:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent">
<org.apache.cordova.CordovaWebView android:id="@+id/phoneGapView" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout >
THX提前.. :)
其工作原理,感謝您的幫助。 – jigspatel
當Eclipse自動生成它時,發生了這種情況。 – Josh
它的作品像魅力,謝謝!有人可以解釋一下爲什麼科爾多瓦爲我們這些開發人員將這些地雷全部留下來? – Josh