Android 程序异常弹出消息:很抱歉,程序出现异常即将关闭,但是程序正常运行

I/art ( 314): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 89% free, 126KB/1150KB, paused 144us total 19.486ms

E/fpcdclient( 6015): failed to connect socket -2

E/fingerprints_service( 6015): fpcd_connect() failed

D/AndroidRuntime( 6015): Shutting down VM

E/AndroidRuntime( 6015): FATAL EXCEPTION: main

E/AndroidRuntime( 6015): Process: com.fingerprints.service, PID: 6015

E/AndroidRuntime( 6015): java.lang.RuntimeException: Unable to create application com.fingerprints.service.FingerprintService: java.lang.RuntimeException: openNative() failed

E/AndroidRuntime( 6015): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4590)

E/AndroidRuntime( 6015): at android.app.ActivityThread.access$1500(ActivityThread.java:151)

E/AndroidRuntime( 6015): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1367)

E/AndroidRuntime( 6015): at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime( 6015): at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 6015): at android.app.ActivityThread.main(ActivityThread.java:5288)

E/AndroidRuntime( 6015): at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 6015): at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 6015): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:915)

E/AndroidRuntime( 6015): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:710)

E/AndroidRuntime( 6015): Caused by: java.lang.RuntimeException: openNative() failed

E/AndroidRuntime( 6015): at com.fingerprints.system.FpcD.(FpcD.java:245)

E/AndroidRuntime( 6015): at com.fingerprints.system.FpcD.open(FpcD.java:230)

E/AndroidRuntime( 6015): at com.fingerprints.service.ServiceImpl.userEvent(ServiceImpl.java:105)

E/AndroidRuntime( 6015): at com.fingerprints.service.ServiceImpl.(ServiceImpl.java:135)

E/AndroidRuntime( 6015): at com.fingerprints.service.FingerprintService.onCreate(FingerprintService.java:32)

E/AndroidRuntime( 6015): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)

E/AndroidRuntime( 6015): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4587)

E/AndroidRuntime( 6015): ... 9 more

W/ActivityManager( 2215): Process com.fingerprints.service has crashed too many times: killing!

W/Adreno-ES20( 278): : GL_INVALID_ENUM

W/GLConsumer( 278): [com.android.systemui.ImageWallpaper] bindTextureImage: clearing GL error: 0x500

I/Process ( 6015): Sending signal. PID: 6015 SIG: 9

W/Adreno-ES20( 278): : GL_INVALID_ENUM

W/GLConsumer( 278): [com.android.systemui.ImageWallpaper] bindTextureImage: clearing GL error: 0x500

W/Adreno-ES20( 278): : GL_INVALID_ENUM

W/GLConsumer( 278): [com.android.systemui.ImageWallpaper] bindTextureImage: clearing GL error: 0x500

I/ActivityManager( 2215): Process com.fingerprints.service (pid 6015) has died

W/Adreno-ES20( 278): : GL_INVALID_ENUM

W/GLConsumer( 278): [com.android.systemui.ImageWallpaper] bindTextureImage: clearing GL error: 0x500

W/Adreno-ES20( 278): : GL_INVALID_ENUM

W/GLConsumer( 278): [com.android.systemui.ImageWallpaper] bindTextureImage: clearing GL error: 0x500

5个回答

是不是内存泄露了啊……

不太懂,你可以联系一下在线专家

储存问题应该是 能运行是因为你的程序没有用到内存

只是一个Activity有问题,不会让整个Application崩溃

运行时异常:openNative()失败,好好检查一下这个方法

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐