You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2021-12-30 15:12:18.383 1019-1019/? E/com.song.sunse: Unknown bits set in runtime_flags: 0x8000
2021-12-30 15:12:18.424 1019-1019/? E/RefClass: java.lang.reflect.InvocationTargetException
2021-12-30 15:12:19.480 1019-1019/com.song.sunset E/LoadedApk: Unable to instantiate appComponentFactory
java.lang.ClassNotFoundException: Didn't find class "com.song.sunset.song" on path: DexPathList[[zip file "/data/app/com.song.sunset-ycopE9KBo9zJget2gkd2DA==/base.apk"],nativeLibraryDirectories=[/data/app/com.song.sunset-ycopE9KBo9zJget2gkd2DA==/lib/arm64, /data/app/com.song.sunset-ycopE9KBo9zJget2gkd2DA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.LoadedApk.createAppFactory(LoadedApk.java:273)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:933)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1028)
at android.app.LoadedApk.getResources(LoadedApk.java:1279)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2566)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2558)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6776)
at android.app.ActivityThread.access$1600(ActivityThread.java:252)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2083)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:238)
at android.app.ActivityThread.main(ActivityThread.java:7878)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:512)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
2021-12-30 15:12:19.597 1019-1019/com.song.sunset E/MLInitializerProvider: MLInitializerProvider Done
2021-12-30 15:12:19.644 1019-1019/com.song.sunset A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7c699ab0f0 in tid 1019 (com.song.sunset), pid 1019 (com.song.sunset)
The text was updated successfully, but these errors were encountered:
Android targetSdkVersion=30
ndk {
abiFilters "armeabi-v7a","arm64-v8a"
}
ndk 加上 arm64-v8a 后启动必然崩溃。
有两种解决方案:
1、targetSdkVersion 降低到 27。
2、删除 ndk 中 arm64-v8a 配置项。
日志如下:
作者看看是啥问题。
2021-12-30 15:12:18.383 1019-1019/? E/com.song.sunse: Unknown bits set in runtime_flags: 0x8000
2021-12-30 15:12:18.424 1019-1019/? E/RefClass: java.lang.reflect.InvocationTargetException
2021-12-30 15:12:19.480 1019-1019/com.song.sunset E/LoadedApk: Unable to instantiate appComponentFactory
java.lang.ClassNotFoundException: Didn't find class "com.song.sunset.song" on path: DexPathList[[zip file "/data/app/com.song.sunset-ycopE9KBo9zJget2gkd2DA==/base.apk"],nativeLibraryDirectories=[/data/app/com.song.sunset-ycopE9KBo9zJget2gkd2DA==/lib/arm64, /data/app/com.song.sunset-ycopE9KBo9zJget2gkd2DA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.LoadedApk.createAppFactory(LoadedApk.java:273)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:933)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1028)
at android.app.LoadedApk.getResources(LoadedApk.java:1279)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2566)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2558)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6776)
at android.app.ActivityThread.access$1600(ActivityThread.java:252)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2083)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:238)
at android.app.ActivityThread.main(ActivityThread.java:7878)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:512)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
2021-12-30 15:12:19.597 1019-1019/com.song.sunset E/MLInitializerProvider: MLInitializerProvider Done
2021-12-30 15:12:19.644 1019-1019/com.song.sunset A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7c699ab0f0 in tid 1019 (com.song.sunset), pid 1019 (com.song.sunset)
The text was updated successfully, but these errors were encountered: