我的测试机是三星的note3 android版本是4.3,开始运行自己做的程序总是锁屏再解锁后会看到 ***程序 已停止的提示框,后来我直接运行咱们的hello没有做任何修改直接打包,也是一样的情况,提示说“HByuilder Hello 已停止”,只要不清除内存就会不停的出现提示,但从hellomui上下载的android程序就没有这种情况,望高手指点,是不是我的配置文件那块有问题
- 发布:2014-11-27 13:29
- 更新:2015-03-28 11:44
- 阅读:2426
急,android离线打包程序三星下总报 程序 已停止
supsea (作者)
刚才我又用eclipse真机调试 ,等三星手机自动锁屏后,logcat里这么显示的,帮忙看看是啥原因
11-27 15:28:17.945: D/webkit(24861): Firewall not null
11-27 15:28:17.945: D/webkit(24861): euler: isUrlBlocked = false
11-27 15:28:17.975: D/dalvikvm(24861): GC_EXPLICIT freed 35K, 23% free 26746K/34556K, paused 3ms+3ms, total 62ms
11-27 15:28:17.985: D/MiniServer(24861): onDestroy _server=io.dcloud.net.http.MiniServer$Server@43179ed8
11-27 15:28:17.985: D/miniserver(24861): close serversocket port=13131
11-27 15:28:17.985: W/System.err(24861): java.net.SocketException: Socket closed
11-27 15:28:17.985: W/System.err(24861): at libcore.io.Posix.accept(Native Method)
11-27 15:28:17.985: W/System.err(24861): at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:55)
11-27 15:28:17.985: W/System.err(24861): at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
11-27 15:28:17.985: W/System.err(24861): at java.net.ServerSocket.implAccept(ServerSocket.java:202)
11-27 15:28:17.985: W/System.err(24861): at java.net.ServerSocket.accept(ServerSocket.java:127)
11-27 15:28:17.985: W/System.err(24861): at io.dcloud.net.http.MiniServer$Server.run(MiniServer.java:91)
11-27 15:28:17.985: W/System.err(24861): at java.lang.Thread.run(Thread.java:841)
11-27 15:28:20.065: D/dalvikvm(24861): GC_EXPLICIT freed 10K, 23% free 26746K/34556K, paused 11ms+13ms, total 123ms
supsea (作者)
解开锁屏后,就看到 图片所示的 程序 已停止的提示框,logcat显示如下
11-27 15:33:33.725: I/AndroidRuntime(24861): VM exiting with result code 10, cleanup skipped.
11-27 15:33:48.895: D/AndroidRuntime(25816): Shutting down VM
11-27 15:33:48.895: W/dalvikvm(25816): threadid=1: thread exiting with uncaught exception (group=0x41837898)
11-27 15:33:48.895: E/AndroidRuntime(25816): FATAL EXCEPTION: main
11-27 15:33:48.895: E/AndroidRuntime(25816): java.lang.RuntimeException: Unable to get provider sdk.download.DownloadProvider: java.lang.ClassNotFoundException: Didn't find class "sdk.download.DownloadProvider" on path: /data/app/io.dcloud.HBuilder.Hello-2.apk
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.app.ActivityThread.installProvider(ActivityThread.java:5153)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4756)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4670)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.app.ActivityThread.access$1400(ActivityThread.java:165)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1386)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.os.Handler.dispatchMessage(Handler.java:99)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.os.Looper.loop(Looper.java:137)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.app.ActivityThread.main(ActivityThread.java:5450)
11-27 15:33:48.895: E/AndroidRuntime(25816): at java.lang.reflect.Method.invokeNative(Native Method)
11-27 15:33:48.895: E/AndroidRuntime(25816): at java.lang.reflect.Method.invoke(Method.java:525)
11-27 15:33:48.895: E/AndroidRuntime(25816): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
11-27 15:33:48.895: E/AndroidRuntime(25816): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
11-27 15:33:48.895: E/AndroidRuntime(25816): at dalvik.system.NativeStart.main(Native Method)
11-27 15:33:48.895: E/AndroidRuntime(25816): Caused by: java.lang.ClassNotFoundException: Didn't find class "sdk.download.DownloadProvider" on path: /data/app/io.dcloud.HBuilder.Hello-2.apk
11-27 15:33:48.895: E/AndroidRuntime(25816): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
11-27 15:33:48.895: E/AndroidRuntime(25816): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
11-27 15:33:48.895: E/AndroidRuntime(25816): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
11-27 15:33:48.895: E/AndroidRuntime(25816): at android.app.ActivityThread.installProvider(ActivityThread.java:5138)
11-27 15:33:48.895: E/AndroidRuntime(25816): ... 12 more
11-27 15:36:35.235: D/AndroidRuntime(25661): Shutting down VM
11-27 15:36:35.235: W/dalvikvm(25661): threadid=1: thread exiting with uncaught exception (group=0x41837898)
11-27 15:36:35.235: E/AndroidRuntime(25661): FATAL EXCEPTION: main
11-27 15:36:35.235: E/AndroidRuntime(25661): java.lang.RuntimeException: Unable to instantiate receiver com.igexin.sdk.SdkReceiver: java.lang.ClassNotFoundException: Didn't find class "com.igexin.sdk.SdkReceiver" on path: /data/app/io.dcloud.HBuilder.Hello-2.apk
11-27 15:36:35.235: E/AndroidRuntime(25661): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2502)
11-27 15:36:35.235: E/AndroidRuntime(25661): at android.app.ActivityThread.access$1600(ActivityThread.java:165)
11-27 15:36:35.235: E/AndroidRuntime(25661): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1402)
11-27 15:36:35.235: E/AndroidRuntime(25661): at android.os.Handler.dispatchMessage(Handler.java:99)
11-27 15:36:35.235: E/AndroidRuntime(25661): at android.os.Looper.loop(Looper.java:137)
11-27 15:36:35.235: E/AndroidRuntime(25661): at android.app.ActivityThread.main(ActivityThread.java:5450)
11-27 15:36:35.235: E/AndroidRuntime(25661): at java.lang.reflect.Method.invokeNative(Native Method)
11-27 15:36:35.235: E/AndroidRuntime(25661): at java.lang.reflect.Method.invoke(Method.java:525)
11-27 15:36:35.235: E/AndroidRuntime(25661): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
11-27 15:36:35.235: E/AndroidRuntime(25661): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
11-27 15:36:35.235: E/AndroidRuntime(25661): at dalvik.system.NativeStart.main(Native Method)
11-27 15:36:35.235: E/AndroidRuntime(25661): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.igexin.sdk.SdkReceiver" on path: /data/app/io.dcloud.HBuilder.Hello-2.apk
11-27 15:36:35.235: E/AndroidRuntime(25661): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
11-27 15:36:35.235: E/AndroidRuntime(25661): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
11-27 15:36:35.235: E/AndroidRuntime(25661): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
11-27 15:36:35.235: E/AndroidRuntime(25661): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2497)
11-27 15:36:35.235: E/AndroidRuntime(25661): ... 10 more
11-27 15:36:37.955: I/Process(25816): Sending signal. PID: 25816 SIG: 9