开发者

Unable to run example of PhoneGap for Android

I tried to follow this instruction: http://wiki.phonegap.com/w/page/16494774/Getting-started-with-Android-PhoneGap-in-Eclipse

I can run the example but when I clicked on the "Beep" button or anything button, it has error in "adb logcat" like this and the app crashed:

D/dalvikvm(  387): GC_EXPLICIT freed 115K, 52% free 2656K/5447K, external 2075K/
2792K, paused 4856ms  

I/BootReceiver(   68): Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_
TOMBSTONE)  

I/DEBUG   (   30): debuggerd committing suicide to free the zombie!  

D/Zygote  (   32): Process 425 terminated by signal (11)  

I/ActivityManager(   68): Process com.PhoneGap3 (pid 425) has died.  

I/WindowManager(   68): WIN DEATH: Window{406acdf0 com.PhoneGap3/com.PhoneGap3.P
honeGap3 paused=false}  

I/InputDispatcher(   68): Dropping event because there is no touched window or f
ocused application.  

I/DEBUG   (  440): debuggerd: Nov 24 2010 13:31:11  

D/dalvikvm(   68): GC_CONCURRENT freed 957K, 48% free 4497K/8583K, external 2062
K/2576K, paused 46ms+19ms  

D/dalvikvm(   68): GC_FOR_MALLOC freed 373K, 46% free 4635K/8583K, external 2062
K/2576K, paused 340ms  

I/dalvikvm-heap(   68): Grow heap (frag case) to 9.291MB for 196628-byte allocat
ion  

D/dalvikvm(   68): GC_FOR_MALLOC freed <1K, 46% free 4826K/8839K, external 2062K
/2576K, paused 231ms  

W/InputManagerService(   68): Got RemoteException sending setActive(false) notif
ication to pid 开发者_StackOverflow425 uid 10040  

Can someone help please? Thanks.


In case something went wrong along the project creation phase, check out http://wiki.phonegap.com/w/page/34483744/PhoneGap-Eclipse-PlugIn-for-Android The plugin described will configure and build the example automatically and should be an easier startup experience.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜