2016-10-03 3 views
1

Qt가 만든 비공개 맞춤 프레임 워크를 사용하는 앱이 있습니다. 이 앱은 Android 6 이상에서 작동하며 Android 7 N에서 다운되며 충돌합니다.이 문제는 상당히 인기가있는 것으로 보입니다. 그러나 충돌의 원인을 아직 이해하지 못하고 있습니다. 도와 주실 수 있겠습니까?Android 7 Nougat 앱이 치명적인 오류와 충돌 함

D/LVLDownloader: All expansion files are already here 
W/art: Suspending all threads took: 21.007ms 
W/linker: library "libui.so" ("/system/lib/libui.so") needed or dlopened by "/data/app/com.nn.apps.qt/lib/arm/libgbuffer.so" is not accessible for the namespace "classloader-namespace" - the access is temporarily granted as a workaround for http://b/26394120, note that the access will be removed in future releases of Android. 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Concurrent.so: unused DT entry: type 0xf arg 0xbea 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5AndroidExtras.so: unused DT entry: type 0xf arg 0x5012 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Bluetooth.so: unused DT entry: type 0xf arg 0x5257 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Gui.so: unused DT entry: type 0xf arg 0x4aa94 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Network.so: unused DT entry: type 0xf arg 0x10ca1 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5OpenGL.so: unused DT entry: type 0xf arg 0xbc0b 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Widgets.so: unused DT entry: type 0xf arg 0x69290 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libavcodec.so: is missing DT_SONAME will use basename as a replacement: "libavcodec.so" 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libavfilter.so: is missing DT_SONAME will use basename as a replacement: "libavfilter.so" 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libavformat.so: is missing DT_SONAME will use basename as a replacement: "libavformat.so" 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libavutil.so: is missing DT_SONAME will use basename as a replacement: "libavutil.so" 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libswresample.so: is missing DT_SONAME will use basename as a replacement: "libswresample.so" 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libswscale.so: is missing DT_SONAME will use basename as a replacement: "libswscale.so" 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5AndroidExtras.so: unused DT entry: type 0xf arg 0x5012 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Concurrent.so: unused DT entry: type 0xf arg 0xbea 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Widgets.so: unused DT entry: type 0xf arg 0x69290 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Gui.so: unused DT entry: type 0xf arg 0x4aa94 
W/linker: /data/app/com.nn.apps.qt/lib/arm/libQt5Gui.so: unused DT entry: type 0xf arg 0x4aa94 
D/SPP_ANDROID: ENTERING JNI_OnLoad_libovsdk 
D/SPP_ANDROID: ENTERING init_jni_context 
D/SPP_ANDROID: ENTERING get_environment 
D/SPP_ANDROID: Get context 
D/SPP_ANDROID: Environment is OK 
D/SPP_ANDROID: EXITING get_environment 
D/SPP_ANDROID: Get class 
D/SPP_ANDROID: EXITING JNI_OnLoad_libovsdk 
      W/BaseLogger: ======= Logs are being cached, please initialize the logger (LoggerSingleton::instance().init()) ======= 
      D/NNListenerSingleton: : In prepareFirmwareFileAndGetPath - /storage/emulated/0/Android/data/com.nn.apps.qt/logs 
      A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1334 (apps.qt) 

      [ 10-04 00:55:12.628 184: 184 W/   ] 
      debuggerd: handling request: pid=1334 uid=10257 gid=10257 tid=1334 

답변

1

앱에서 개인 라이브러리에 더 이상 액세스 할 수 없습니다. 여기를 읽어 보시기 바랍니다. https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndk 기본적으로 Android에서는 NDK가 아닌 개인 라이브러리를 사용할 수 없습니다. 직접 사용할 수는 없지만 다른 라이브러리 또는 프레임 워크가 충돌 할 수 있습니다.

+0

경고 메시지로 인해 "lib 사용이 향후 릴리스에서 더 이상 사용되지 않을 예정입니다." UI가 아닌 스레드에서 메시지보기를 표시하려고하므로 충돌이 발생합니다. 감사 – NaneNare

관련 문제