Skip to content
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

app crash and flash back #20

Open
liushuangliuliu opened this issue Nov 25, 2021 · 0 comments
Open

app crash and flash back #20

liushuangliuliu opened this issue Nov 25, 2021 · 0 comments

Comments

@liushuangliuliu
Copy link

liushuangliuliu commented Nov 25, 2021

the following is the logcat in the android studio:
2021-11-25 14:55:30.161 19781-19781/com.android.settings E/Settings: Unable to find info for package: null
2021-11-25 14:55:30.174 27937-27937/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.ys.orbtest, PID: 27937
java.lang.UnsatisfiedLinkError: dlopen failed: library "libnative-lib.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1656)
at com.example.ys.orbtest.OrbTest.(OrbTest.java:191)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
at android.app.Instrumentation.newActivity(Instrumentation.java:1274)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3535)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3795)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2207)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:356)
at android.os.Looper.loop(Looper.java:475)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:988)
2021-11-25 14:55:30.371 19781-19781/com.android.settings E/Settings: Unable to find info for package: null
2021-11-25 14:55:31.020 1097-4716/? E/ANDR-PERF-LM: VmRssMeter:: start() 447: Could not find pid, can not collect vmrss data
2021-11-25 14:55:31.020 1097-4716/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run
2021-11-25 14:55:31.029 1097-4714/? E/ANDR-PERF-LM: VmRssMeter:: start() 447: Could not find pid, can not collect vmrss data
2021-11-25 14:55:32.055 1097-1434/? E/ANDR-PERF-UTIL: Failed to update node /proc/27937/sched_boost with value 0
2021-11-25 14:55:32.055 1097-1434/? E/ANDR-PERF-OPTSHANDLER: can't reset task 27937
2021-11-25 14:55:32.055 1097-1434/? E/ANDR-PERF-RESOURCEQS: Failed to reset optimization [3, 32]
2021-11-25 14:55:33.605 29299-29299/? E/app_process: Default boot image check failed, could not stat: /data/misc/apexdata/com.android.art/dalvik-cache/boot-framework.art: Permission denied
2021-11-25 14:55:33.612 29324-29324/? E/app_process: Failed to execve(/apex/com.android.art/bin/dex2oat64 --runtime-arg -Xbootclasspath:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar --runtime-arg -Xbootclasspath-locations:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar --boot-image=/apex/com.android.art/javalib/boot.art --dex-file=/system/framework/framework.jar --dex-location=/system/framework/framework.jar --dex-file=/system/framework/framework-graphics.jar --dex-location=/system/framework/framework-graphics.jar --dex-file=/system/framework/ext.jar --dex-location=/system/framework/ext.jar --dex-file=/system/framework/telephony-common.jar --dex-location=/system/framework/telephony-common.jar --dex-file=/system/framework/voip-common.jar --dex-location=/system/framework/voip-common.jar --dex-file=/system/framework/ims-common.jar --dex-location=/system/framework/ims-common.jar --dex-file=/apex/com.android.i18n/javalib/core-icu4j.jar --dex-location=/apex/com.android.i18n/javalib/core-icu4j.jar --dex-file=/system/framework/tcmiface.jar --dex-location=/system/framework/tcmiface.jar --dex-file=/system/framework/telephony-ext.jar --dex-location=/system/framework/telephony-ext.jar --dex-file=/system/framework/qcom.fmradio.jar --dex-location=/system/framework/qcom.fmradio.jar --dex-file=/system/framework/QPerformance.jar --dex-location=/system/framework/QPerformance.jar --dex-file=/system/framework/UxPerformance.jar --dex-location=/system/framework/UxPerformance.jar --dex-file=/system/framework/WfdCommon.jar --dex-location=/system/framework/WfdCommon.jar --image-fd=6 --output-vdex-fd=7 --oat-fd=8 --oat-location=/system/framework/arm64/boot.oat --single-image --image-format=uncompressed --compiler-filter=verify --profile-file=/system/etc/boot-image.prof --avoid-storing-invocation --instruction-set=arm64 --instruction-set-features=runtime --runtime-arg -Xms64m --runtime-arg -Xmx64m --dirty-image-objects=/system/etc/dirty-image-objects --instruction-set-variant=generic --instruction-set-features=default --generate-mini-debug-info): Permission denied
2021-11-25 14:55:33.975 29299-29299/? E/app_process: Could not check odex file /data/misc/apexdata/com.android.art/dalvik-cache/arm64/system@framework@[email protected]: Permission denied
2021-11-25 14:55:38.001 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.003 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.003 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.004 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.005 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.005 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.006 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.007 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.007 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:38.008 19781-27529/com.android.settings E/ndroid.setting: Invalid ID 0x00000000.
2021-11-25 14:55:40.715 1097-1435/? E/ANDR-PERF-LM: GamePerfEngine: runAsync() 477: Hint is for = 0x1043 PID=2116
2021-11-25 14:55:40.756 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:40.758 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:40.830 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:40.831 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:40.832 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:43.289 1133-2594/? E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:43.309 1133-2594/? E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:43.334 1133-1185/? E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:43.364 1133-1185/? E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:43.367 1133-2594/? E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:44.253 29457-29457/? E/librank: Failed to parse /proc/29516/maps
2021-11-25 14:55:44.253 29457-29457/? E/librank: Failed to read maps for Process 29516
2021-11-25 14:55:44.253 29457-29457/? E/librank: Failed to parse /proc/29528/maps
2021-11-25 14:55:44.253 29457-29457/? E/librank: Failed to read maps for Process 29528
2021-11-25 14:55:44.270 1097-4716/? E/ANDR-PERF-LM: VmRssMeter:: start() 447: Could not find pid, can not collect vmrss data
2021-11-25 14:55:44.270 1097-4716/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run
2021-11-25 14:55:44.276 1097-4714/? E/ANDR-PERF-LM: VmRssMeter:: start() 447: Could not find pid, can not collect vmrss data
2021-11-25 14:55:45.059 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:45.060 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:45.159 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:45.162 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:45.164 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.071 27519-27991/? E/dumpstate: No IDumpstateDevice implementation
2021-11-25 14:55:51.071 27519-27991/? E/dumpstate: Failed to unlink file (/data/user_de/0/com.android.shell/files/bugreports/dumpstate_board.bin): No such file or directory
2021-11-25 14:55:51.071 27519-27991/? E/dumpstate: Failed to unlink file (/data/user_de/0/com.android.shell/files/bugreports/dumpstate_board.txt): No such file or directory
2021-11-25 14:55:51.092 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.093 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.253 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.256 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.257 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.755 27519-27519/? E/dumpstate: *** command '/system/xbin/su root sh -c cat /proc/modules | cut -d' ' -f1 | while read MOD ; do echo modinfo:$MOD ; modinfo $MOD ; done' failed: exit code 1
2021-11-25 14:55:51.784 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.786 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.877 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.878 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:51.879 2116-2167/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:52.674 2116-6078/system_process E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:52.674 1097-1435/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async
2021-11-25 14:55:52.675 2116-6078/system_process E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
2021-11-25 14:55:52.678 1097-1435/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async
2021-11-25 14:55:52.698 1095-1296/? E/ANDR-IOP: io prefetch is disabled
2021-11-25 14:55:52.724 1097-1435/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async
2021-11-25 14:55:52.742 1133-4321/? E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
2021-11-25 14:55:52.759 1133-4321/? E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
\

The reason is that the native-lib can't find .But I don't know how can I generate the "libnative-lib.so",and where I should put it.
anyone has the idea? thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant