sencha touch + phonegap原生应用程序卡在加载蓝屏

时间:2013-12-04 13:19:00

标签: android cordova sencha-touch-2

我已经使用sencha touch 2.3和cmd 4构建了一个应用程序,然后使用sencha cmd和phonegap成功制作原生Android应用程序。但在这两种情况下,我的应用程序都保留在蓝色加载屏幕上,其中没有其他3个点。

然后我尝试使用“sencha app generate”命令生成的简单app,但结果保持不变。 请帮帮我,我不知道错误在哪里。

这是我的android模拟器日志文件

I/ActivityManager(   60): Displayed activity com.android.launcher/com.android.la
uncher2.Launcher: 111139 ms (total 111139 ms)
D/dalvikvm(  118): GC_EXTERNAL_ALLOC freed 1042 objects / 53400 bytes in 108ms
I/ActivityManager(   60): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.phonegap.www/
.PGBuildApp }
I/ActivityManager(   60): Start proc com.phonegap.www for activity com.phonegap.
www/.PGBuildApp: pid=238 uid=10036 gids={3003, 1006, 1015}
D/dalvikvm(  238): GC_FOR_MALLOC freed 1720 objects / 158456 bytes in 150ms
I/dalvikvm(  238): Could not find method org.apache.cordova.CordovaWebView.setOv
erScrollMode, referenced from method org.apache.cordova.CordovaActivity.init
W/dalvikvm(  238): VFY: unable to resolve virtual method 2486: Lorg/apache/cordo
va/CordovaWebView;.setOverScrollMode (I)V
D/dalvikvm(  238): VFY: replacing opcode 0x6e at 0x0043
I/CordovaLog(  238): Changing log level to DEBUG(3)
D/CordovaActivity(  238): CordovaActivity.onCreate()
I/dalvikvm(  238): Could not find method android.webkit.WebView.<init>, referenc
ed from method org.apache.cordova.CordovaWebView.<init>
W/dalvikvm(  238): VFY: unable to resolve direct method 345: Landroid/webkit/Web
View;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
D/dalvikvm(  238): VFY: replacing opcode 0x70 at 0x0001
D/dalvikvm(  238): VFY: dead code 0x0004-0046 in Lorg/apache/cordova/CordovaWebV
iew;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
D/CordovaWebView(  238): CordovaWebView is running on device made by: unknown
D/JsMessageQueue(  238): Set native->JS mode to 2
I/CordovaWebView(  238): Disabled addJavascriptInterface() bridge since Android
version is old.
D/CordovaActivity(  238): CordovaActivity.init()
 D/CordovaWebView(  238): >>> loadUrl(file:///android_asset/www/index.html)
D/PluginManager(  238): init()
D/CordovaWebView(  238): >>> loadUrlNow()
D/Config  (  238): Unlimited access to network resources
I/CordovaLog(  238): Found start page location: index.html
I/CordovaLog(  238): Changing log level to DEBUG(3)
D/CordovaActivity(  238): Resuming the App
D/CordovaActivity(  238): CB-3064: The errorUrl is null
D/SoftKeyboardDetect(  238): Ignore this event
D/SoftKeyboardDetect(  238): Ignore this event
I/ActivityManager(   60): Displayed activity com.phonegap.www/.PGBuildApp: 4678
ms (total 4678 ms)
I/ARMAssembler(   60): generated scanline__00000077:03545404_00000004_00000000 [
47 ipp] (67 ins) at [0x52f610:0x52f71c] in 1011887 ns
D/CordovaActivity(  238): onMessage(onPageStarted,file:///android_asset/www/inde
x.html)
D/Cordova (  238): onPageFinished(file:///android_asset/www/index.html)
D/CordovaActivity(  238): onMessage(onPageFinished,file:///android_asset/www/ind
ex.html)
D/CordovaActivity(  238): onMessage(spinner,stop)
D/dalvikvm(  118): GC_EXPLICIT freed 1084 objects / 61000 bytes in 4348ms

0 个答案:

没有答案