我使用 Sencha Touch 2 PR3 和 PhoneGap 1.2 开发了一个应用程序。该应用程序在 Android 2.3.x 上正常运行,但无法在 Android 4 上启动(不在模拟器中,也不在真实设备上)。
最后的日志输出:
12-16 14:14:54.453: D/DroidGap(760): DroidGap.loadUrl(file:///android_asset/www/index.html)
12-16 14:14:54.453: D/DroidGap(760): DroidGap: url=file:///android_asset/www/index.html baseUrl=file:///android_asset/www/
12-16 14:14:54.633: I/WindowManager(77): createSurface Window{4149c360 Title paused=false}: DRAW NOW PENDING
12-16 14:14:54.633: V/PhoneStatusBar(142): setLightsOn(true)
12-16 14:14:58.244: D/dalvikvm(77): GC_CONCURRENT freed 288K, 10% free 12114K/13383K, paused 4ms+23ms
12-16 14:15:02.914: V/PhoneStatusBar(142): setLightsOn(true)
12-16 14:15:02.984: D/PhoneGapLog(760): mainLaunch
12-16 14:15:02.984: D/PhoneGapLog(760): file:///android_asset/www/app/app.js: Line 2 : mainLaunch
12-16 14:15:02.984: I/Web Console(760): mainLaunch at file:///android_asset/www/app/app.js:2
12-16 14:15:02.984: W/InputManagerService(77): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@414f3ba0
12-16 14:15:03.504: D/chromium(760): Unknown chromium error: -6
12-16 14:15:03.504: D/chromium(760): Unknown chromium error: -6
12-16 14:15:03.504: D/chromium(760): Unknown chromium error: -6
12-16 14:15:03.764: D/dalvikvm(760): GC_CONCURRENT freed 370K, 5% free 10436K/10951K, paused 20ms+5ms
12-16 14:15:03.764: D/webviewglue(760): nativeDestroy view: 0x2b7bd0
知道我必须从哪里开始寻找错误吗?