-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unfortunately, realsense_app has stopped: Android App #2008
Comments
[Realsense Customer Engineering Team Comment]
|
HI @RealSense-Customer-Engineering I just repeated it more time but result don't change. I still face to this crash. I would like to mention that I used NDK 16b to build project. And you @aaru2211 have succed to run the apps? |
exact same problem with me. im on android 7.0. Rooted device. getenforce returns permissive. is there any way to see what crash log contains? |
Hi everyone. OpenGL ES Shader Compiler Version: E031.29.00.00 |
Fixed in this thread. #2075 |
[Realsense Customer Engineering Team Comment] |
[Realsense Customer Engineering Team Comment] |
[Realsense Customer Engineering Team Comment] |
Hi @RealSense-Customer-Engineering Excuse me for my belated answer. #2075 worked for me too but this has lead to #2143. Since almost one month I'm stuck there I don't know how to continue. |
[Realsense Customer Engineering Team Comment] |
Issue Description
<After following instructions from this link> the android apps crashes by displaying this message Unfortunately, realsense_app has stopped. But I noticed that my D435 seems to be set on despite this crash because the IR led is on.
During the android studio installation the process seems to be right but the logcat consol display this.
07-05 06:02:20.970 11520-11520/? I/art: Late-enabling -Xcheck:jni
07-05 06:02:21.039 11520-11520/? I/Zygote: ZygoteInit::mMethod=public static void android.app.ActivityThread.main(java.lang.String[])
07-05 06:02:21.224 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_dependencies_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:21.570 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_0_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:21.671 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_1_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:21.762 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_2_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_2_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:21.854 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_3_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:21.959 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_4_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_4_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:22.051 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_5_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_5_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:22.149 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_6_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_6_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:22.243 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_7_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_7_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:22.330 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_8_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_8_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:22.430 11520-11520/com.example.realsense_app W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a7 --instruction-set-features=default --dex-file=/data/app/com.example.realsense_app-2/split_lib_slice_9_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.realsense_app-2@split_lib_slice_9_apk.apk@classes.dex) because non-0 exit status
07-05 06:02:22.442 11520-11520/com.example.realsense_app I/InstantRun: starting instant run server: is main process
07-05 06:02:23.020 11520-11520/com.example.realsense_app W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
07-05 06:02:23.143 11520-11520/com.example.realsense_app I/art: Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>
07-05 06:02:23.144 11520-11520/com.example.realsense_app I/art: Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>
07-05 06:02:23.337 11520-11520/com.example.realsense_app I/e.realsense_app: type=1400 audit(0.0:31376): avc: denied { read } for name="usb" dev="tmpfs" ino=68209 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=1
type=1400 audit(0.0:31377): avc: denied { open } for path="/dev/bus/usb" dev="tmpfs" ino=68209 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=1
type=1400 audit(0.0:31378): avc: denied { create } for scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=netlink_kobject_uevent_socket permissive=1
type=1400 audit(0.0:31379): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=netlink_kobject_uevent_socket permissive=1
type=1400 audit(0.0:31380): avc: denied { setopt } for scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=netlink_kobject_uevent_socket permissive=1
07-05 06:02:23.387 11520-11722/com.example.realsense_app D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
07-05 06:02:23.443 11520-11722/com.example.realsense_app I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8909_LA.BR.1.2.7_RB1__release_AU (I741a3d36ca)
OpenGL ES Shader Compiler Version: E031.29.00.00
Build Date: 06/07/16 Tue
Local Branch:
Remote Branch: quic/LA.BR.1.2.7_rb1.21
Local Patches: NONE
Reconstruct Branch: NOTHING
07-05 06:02:23.446 11520-11722/com.example.realsense_app I/OpenGLRenderer: Initialized EGL, version 1.4
07-05 06:02:23.953 11520-11520/com.example.realsense_app W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
for me all these failures and warning are right because the OTG is not connect on the tablet.
If I connect only The OTG without D435 camera I will obtain the warning No Real Sense Camera has been detected.
But after after connecting camera and type chmod command the app fails by displaying the message Unfortunately, realsense_app has stopped. In the same time the IR led is lighting and stuck in this state eventhough app is not running.
Excuse me if my english writing skill is wrong I'm not a native speaker.
The text was updated successfully, but these errors were encountered: