Hello everyone. I just built an app and I am trying to preview it on my android tablet but it just shows “unfortunately, MyApp has stopped working”
I previewed the hikr example project and it worked fine, but my app doesnt work.
Here is message shown in the build console
/**********/
2/2: MyApp.apk
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
(35.18s)
Build completed in 92.20 seconds
Build complete.
Installing APK on 1 device(s)
Launching activity 'MyApp'
Running logcat on 'E3OKCT174567'
I/art ( 5398): Late-enabling -Xcheck:jni
D/houdini ( 5398): [5398] Initialize library(version: 5.0.1a_x.46587 RELEASE)... successfully.
I/ActivityManager( 626): Start proc com.apps.myapp for activity com.apps.myapp/.MyApp: pid=5398 uid=10096 gids={50096, 9997, 3003, 1028, 1015} abi=armeabi-v7a
D/MyApp( 5398): SUT: false CML: false SDK: 21
D/houdini ( 5398): [5398] Added shared library /data/app/com.apps.myapp-1/lib/arm/libstlport_shared.so for ClassLoader by Native Bridge.
D/houdini ( 5398): [5398] Added shared library /data/app/com.apps.myapp-1/lib/arm/libV8Simple.so for ClassLoader by Native Bridge.
D/houdini ( 5398): [5398] Added shared library /data/app/com.apps.myapp-1/lib/arm/libMyApp.so for ClassLoader by Native Bridge.
D/OpenGLRenderer( 5398): Render dirty regions requested: true
D/Atlas ( 5398): Validating map...
E/libEGL ( 5398): eglSwapBuffers:1056 error 300d (EGL_BAD_SURFACE)
I/OpenGLRenderer( 5398): Initialized EGL, version 1.4
W/OpenGLRenderer( 5398): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/OpenGLRenderer( 5398): Enabling debug mode 0
E/libEGL ( 5398): eglMakeCurrent:777 error 3009 (EGL_BAD_MATCH)
F/libc ( 5398): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadcab1 in tid 5448 (pps.myapp)
I/DEBUG ( 178): pid: 5398, tid: 5448, name: pps.myapp >>> com.apps.myapp <<<
I/KERNEL ( 5398): [18255.224467] pps.myapp[5448]: segfault at deadcab1 ip b0dbfaa4 sp 9ccfeb94 error 7
I/KERNEL ( 5398): in libhoudini.so[b0d10000+302000]
I/KERNEL ( 5398):
I/Zygote ( 199): Process 5398 exited due to signal (11)
I/ActivityManager( 626): Process com.apps.myapp (pid 5398) has died
W/Process ( 626): Unable to open /proc/5398/status
V/Prevent ( 626): pid 5398 is not for com.apps.myapp
D/Prevent ( 626): action: containsKey , package: 5398, count: -1
Process com.apps.myapp terminated.
/********/
Please any idea what I can do? Thanks.