frezrik / jiagu Goto Github PK
View Code? Open in Web Editor NEWAndroid apk jiagu
License: Apache License 2.0
Android apk jiagu
License: Apache License 2.0
java.lang.ClassNotFoundException: Didn't find class "s.h.e.l.l.A" on path: DexPathList[[zip file "/data/app/~~KQzzsp7gSaZO9W0QVdeB_g==/com.jiagu.demo-Dzk8epYQ6Z3lJJ2AX3IqCQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~KQzzsp7gSaZO9W0QVdeB_g==/com.jiagu.demo-Dzk8epYQ6Z3lJJ2AX3IqCQ==/lib/arm64, /data/app/~~KQzzsp7gSaZO9W0QVdeB_g==/com.jiagu.demo-Dzk8epYQ6Z3lJJ2AX3IqCQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:218)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.LoadedApk.createAppFactory(LoadedApk.java:268)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:985)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1072)
at android.app.LoadedApk.getResources(LoadedApk.java:1320)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3024)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3016)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6834)
at android.app.ActivityThread.access$1600(ActivityThread.java:264)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2103)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8108)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
大佬能否解释下为何一开始要 fwrite(VMDEX, 400, 1, file);
unsigned char VMDEX[400] = {
0x64, 0x65, 0x78, .......}
加固后自动播放菠菜广告
一直请求外部api
TikTok
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.ss.android.ttplatformsdk.provider.TTPlatformAccountProvider" on path: DexPathList[[zip file "/data/app/~~rEaivMOraImTjfFObD0mZQ==/com.zhiliaoapp.musically-hI7KqqXFeVrXd-c_Kh1dqw==/base.apk", dex file "InMemoryDexFile[cookie=[0, 490447736768]]", dex file "InMemoryDexFile[cookie=[0, 490447736960]]", dex file "InMemoryDexFile[cookie=[0, 490447737152]]", dex file "InMemoryDexFile[cookie=[0, 490447738880]]", dex file "InMemoryDexFile[cookie=[0, 490447739072]]", dex file "InMemoryDexFile[cookie=[0, 490447739264]]", dex file "InMemoryDexFile[cookie=[0, 490447739456]]", dex file "InMemoryDexFile[cookie=[0, 490447738688]]", dex file "InMemoryDexFile[cookie=[0, 490447739648]]", dex file "InMemoryDexFile[cookie=[0, 490447739840]]", dex file "InMemoryDexFile[cookie=[0, 490447740032]]", dex file "InMemoryDexFile[cookie=[0, 490447740224]]", dex file "InMemoryDexFile[cookie=[0, 490447740416]]", dex file "InMemoryDexFile[cookie=[0, 490447740608]]", dex file "InMemoryDexFile[cookie=[0, 490447740800]]", dex file "InMemoryDexFile[cookie=[0, 490447738304]]", dex file "InMemoryDexFile[cookie=[0, 490447741184]]", dex file "InMemoryDexFile[cookie=[0, 490447741376]]", dex file "InMemoryDexFile[cookie=[0, 490447741568]]", dex file "InMemoryDexFile[cookie=[0, 490448096256]]", dex file "InMemoryDexFile[cookie=[0, 490448096448]]", dex file "InMemoryDexFile[cookie=[0, 490448096640]]", dex file "InMemoryDexFile[cookie=[0, 490448096832]]", dex file "InMemoryDexFile[cookie=[0, 490447737536]]", dex file "InMemoryDexFile[cookie=[0, 490447737728]]", dex file "InMemoryDexFile[cookie=[0, 490447737920]]", dex file "InMemoryDexFile[cookie=[0, 490447738112]]", dex file "InMemoryDexFile[cookie=[0, 490447738496]]", dex file "InMemoryDexFile[cookie=[0, 490447740992]]", dex file "InMemoryDexFile[cookie=[0, 490447741760]]", dex file "InMemoryDexFile[cookie=[0, 490447741952]]", dex file "InMemoryDexFile[cookie=[0, 490447742144]]", dex file "InMemoryDexFile[cookie=[0, 490447742336]]", dex file "InMemoryDexFile[cookie=[0, 490447742528]]", dex file "InMemoryDexFile[cookie=[0, 490447742720]]"],nativeLibraryDirectories=[/data/app/~~rEaivMOraImTjfFObD0mZQ==/com.zhiliaoapp.musically-hI7KqqXFeVrXd-c_Kh1dqw==/lib/arm64, /data/app/~~rEaivMOraImTjfFObD0mZQ==/com.zhiliaoapp.musically-hI7KqqXFeVrXd-c_Kh1dqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
at com.android.protector.app.CoreComponentFactory.instantiateProvider(CoreComponentFactory.java:67)
at android.app.ActivityThread.installProvider(ActivityThread.java:7451)
... 11 more
您好,我集成google firebase时出现这个错误,请问如何修复? 谢谢
Caused by java.lang.IllegalArgumentException
Receiver not registered: com.google.firebase.messaging.SyncTask$ConnectivityChangeReceiver@62d0d21
android.app.LoadedApk.forgetReceiverDispatcher (LoadedApk.java:1533)
android.app.ContextImpl.unregisterReceiver (ContextImpl.java:1674)
android.content.ContextWrapper.unregisterReceiver (ContextWrapper.java:725)
com.google.firebase.messaging.SyncTask$ConnectivityChangeReceiver.onReceive (SyncTask.java:192)
android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args (LoadedApk.java:1691)
android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run (Unknown Source:2)
android.os.Handler.handleCallback (Handler.java:938)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:255)
android.app.ActivityThread.main (ActivityThread.java:8212)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:632)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1049)
这个链接
https://gitee.com/weile.com/google_pay
/Unity: SerializationException: Invalid JSON string
(Filename: currently not available on il2cpp Line: -1)
试着导出的pack.jar,都用不了。
java.lang.InternalError: Attempt to register dex file /data/user/0/com.xx.xx/[email protected] with multiple class loaders
夜神模拟器上 art_handle = ndk_dlopen(LIB_ART_PATH, RTLD_NOW); 失败
Revision: '0'
08-08 17:56:45.706 413-413/? A/DEBUG: ABI: 'arm64'
08-08 17:56:45.706 413-413/? A/DEBUG: pid: 22371, tid: 22371, name: com.xx.xx >>> com.xx.xx <<<
08-08 17:56:45.716 413-413/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
08-08 17:56:45.726 413-413/? A/DEBUG: x0 0000007f6a947000 x1 00000000008ce704 x2 0000007fdcdecb60 x3 00000000844f8fdd
08-08 17:56:45.726 413-413/? A/DEBUG: x4 0000000000000000 x5 0000000000000000 x6 0000007fdcdecb48 x7 0000007f8971b044
08-08 17:56:45.726 413-413/? A/DEBUG: x8 0000007fdcdecb40 x9 0000000000000000 x10 0000007f8971b044 x11 0000000000004000
08-08 17:56:45.726 413-413/? A/DEBUG: x12 0000000000004001 x13 0000000000000000 x14 0000000000000001 x15 0000000008000020
08-08 17:56:45.726 413-413/? A/DEBUG: x16 0000007f83d60d10 x17 0000000000000000 x18 0000000000000021 x19 0000007fdcdeccb0
08-08 17:56:45.726 413-413/? A/DEBUG: x20 00000000008ce704 x21 0000007f6a947000 x22 0000007f863649b8 x23 0000007f8971d080
08-08 17:56:45.726 413-413/? A/DEBUG: x24 0000000000000017 x25 0000000000000000 x26 0000007f6a947000 x27 0000007f83d62000
08-08 17:56:45.726 413-413/? A/DEBUG: x28 0000000000200065 x29 0000007fdcdecbb0 x30 0000007f83d38b58
08-08 17:56:45.726 413-413/? A/DEBUG: sp 0000007fdcdecb40 pc 0000000000000000 pstate 0000000080000000
08-08 17:56:45.726 413-413/? A/DEBUG: backtrace:
08-08 17:56:45.726 413-413/? A/DEBUG: #00 pc 0000000000000000
08-08 17:56:45.726 413-413/? A/DEBUG: #1 pc 0000000000011b54 /data/data/com.xx.xx/.jiagu/libjiaguv1.so (_Z6load23PvPKcm+128)
08-08 17:56:45.726 413-413/? A/DEBUG: #2 pc 0000000000010580 /data/data/com.xx.xx/.jiagu/libjiaguv1.so
08-08 17:56:45.726 413-413/? A/DEBUG: #3 pc 0000000000010100 /data/data/com.xx.xx/.jiagu/libjiaguv1.so (_Z13native_attachP7_JNIEnvP7_jclassP8_jobject+752)
08-08 17:56:45.726 413-413/? A/DEBUG: #4 pc 0000000001e78b64 /data/app/com.xx.xx-1/oat/arm64/base.odex (offset 0x1e78000)
08-08 17:56:45.836 413-413/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_03
直接一次性加载所有dex,会不会存在性能问题,能否按需加载。
你好 请问有实现对so加固处理的不
The protected test app failed to launch on 64-bit emulators
Nox Player 9
11-09 16:32:18.024 W/m.frezrik.jiag(4634): Unexpected CPU variant for X86 using defaults: x86_64
11-09 16:32:18.045 E/TrafficController(1556): Failed to set the counterSet: Bad file descriptor, fd: -1
11-09 16:32:18.078 W/NDK_JIAGU(4634): soName:libjiagu_x86_64.so
11-09 16:32:18.062 I/m.frezrik.jiagu(4634): type=1400 audit(0.0:1517): avc: denied { open } for path="/dev/__properties__/u:object_r:firstboot_prop:s0" dev="tmpfs" ino=6223 scontext=u:r:untrusted_app:s0:c105,c256,c512,c768 tcontext=u:object_r:firstboot_prop:s0 tclass=file permissive=1
11-09 16:32:18.094 F/libc (4634): Fatal signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0 in tid 4634 (m.frezrik.jiagu), pid 4634 (m.frezrik.jiagu)
11-09 16:32:18.110 I/crash_dump64(4656): obtaining output fd from tombstoned, type: kDebuggerdTombstone
11-09 16:32:18.110 I//system/bin/tombstoned(1598): received crash request for pid 4634
11-09 16:32:18.110 I/crash_dump64(4656): performing dump of process 4634 (target tid = 4634)
11-09 16:32:18.112 F/DEBUG (4656): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-09 16:32:18.112 F/DEBUG (4656): Build fingerprint: 'samsung/star2ltexx/star2lte:9/QP1A.190711.020/900211026:user/release-keys'
11-09 16:32:18.112 F/DEBUG (4656): Revision: '0'
11-09 16:32:18.112 F/DEBUG (4656): ABI: 'x86_64'
11-09 16:32:18.112 F/DEBUG (4656): pid: 4634, tid: 4634, name: m.frezrik.jiagu >>> com.frezrik.jiagu <<<
11-09 16:32:18.112 F/DEBUG (4656): signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
11-09 16:32:18.112 F/DEBUG (4656): rax 097298c074377c74 rbx 00007ffdfa8d7001 rcx 00007ffdfa8d7450 rdx 00007ffdfa8d7170
11-09 16:32:18.112 F/DEBUG (4656): r8 0000000000000006 r9 0000000000000000 r10 0000000100000000 r11 00007ffdfa8d7410
11-09 16:32:18.112 F/DEBUG (4656): r12 6e6e75522f676e61 r13 0000000000000000 r14 0000000000000000 r15 6e6e75522f676e61
11-09 16:32:18.112 F/DEBUG (4656): rdi 6e6e75522f676e61 rsi 0000000000000000
11-09 16:32:18.112 F/DEBUG (4656): rbp 0000000000000000 rsp 00007ffdfa8d7010 rip 00007b83d8fec491
11-09 16:32:18.113 F/DEBUG (4656):
11-09 16:32:18.113 F/DEBUG (4656): backtrace:
11-09 16:32:18.113 F/DEBUG (4656): #00 pc 00000000000d0491 /system/lib64/libart.so (art::ArtMethod::GetOatQuickMethodHeader(unsigned long)+33)
11-09 16:32:18.113 F/DEBUG (4656): #01 pc 00000000004db2c0 /system/lib64/libart.so (_ZN3art12StackVisitor9WalkStackILNS0_16CountTransitionsE0EEEvb+528)
11-09 16:32:18.113 F/DEBUG (4656): #02 pc 00000000004b04c6 /system/lib64/libart.so (art::QuickExceptionHandler::FindCatch(art::ObjPtr<art::mirror::Throwable>)+198)
11-09 16:32:18.113 F/DEBUG (4656): #03 pc 00000000004fa19b /system/lib64/libart.so (art::Thread::QuickDeliverException()+843)
11-09 16:32:18.113 F/DEBUG (4656): #04 pc 000000000057dbb5 /system/lib64/libart.so (artDeliverPendingExceptionFromCode+5)
11-09 16:32:18.113 F/DEBUG (4656): #05 pc 00000000005cdfd1 /system/lib64/libart.so (art_quick_generic_jni_trampoline+449)
11-09 16:32:18.113 F/DEBUG (4656): #06 pc 00000000005cdf7f /system/lib64/libart.so (art_quick_generic_jni_trampoline+367)
11-09 16:32:18.113 F/DEBUG (4656): #07 pc 000000000071e967 /data/dalvik-cache/x86_64/system@[email protected]
11-09 16:32:18.226 E//system/bin/tombstoned(1598): Tombstone written to: /data/tombstones/tombstone_08
11-09 16:32:18.236 W/ActivityManager(1764): Force finishing activity com.frezrik.jiagu/.MainActivity
Mumu 6
11-09 10:29:47.498 W/NDK_JIAGU(2068): soName:libjiagu_x86_64.so
11-09 10:29:47.498 D/NDK_JIAGU(2068): SDK_INT = 23
11-09 10:29:47.499 D/NDK_JIAGU(2068): [-]getDex
11-09 10:29:47.508 D/gralloc_x86(272): gralloc_alloc: Creating ashmem region of size 3686400
11-09 10:29:47.552 D/NDK_JIAGU(2068): [-]loadDex
11-09 10:29:47.560 D/NDK_JIAGU(2068): app name: com.frezrik.jiagu.MyApp
11-09 10:29:47.560 E/NDK_JIAGU(2068): [-]get /system/lib/libart.so handle failed:dlopen failed: "/system/lib/libart.so" is 32-bit instead of 64-bit
11-09 10:29:47.560 D/AndroidRuntime(2068): Shutting down VM
11-09 10:29:47.561 E/AndroidRuntime(2068): FATAL EXCEPTION: main
11-09 10:29:47.561 E/AndroidRuntime(2068): Process: com.frezrik.jiagu, PID: 2068
11-09 10:29:47.561 E/AndroidRuntime(2068): java.lang.RuntimeException: Unable to get provider com.frezrik.jiagu.TestContentProvider: java.lang.ClassNotFoundException: Didn't find class "com.frezrik.jiagu.TestContentProvider" on path: DexPathList[[zip file "/data/app/com.frezrik.jiagu-1/base.apk"],nativeLibraryDirectories=[/data/app/com.frezrik.jiagu-1/lib/x86_64, /data/app/com.frezrik.jiagu-1/base.apk!/lib/x86_64, /vendor/lib64, /system/lib64]]
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.app.ActivityThread.installProvider(ActivityThread.java:5393)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4951)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4875)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.app.ActivityThread.-wrap1(ActivityThread.java)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1508)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.os.Handler.dispatchMessage(Handler.java:102)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.os.Looper.loop(Looper.java:148)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.app.ActivityThread.main(ActivityThread.java:5654)
11-09 10:29:47.561 E/AndroidRuntime(2068): at java.lang.reflect.Method.invoke(Native Method)
11-09 10:29:47.561 E/AndroidRuntime(2068): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
11-09 10:29:47.561 E/AndroidRuntime(2068): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:672)
11-09 10:29:47.561 E/AndroidRuntime(2068): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.frezrik.jiagu.TestContentProvider" on path: DexPathList[[zip file "/data/app/com.frezrik.jiagu-1/base.apk"],nativeLibraryDirectories=[/data/app/com.frezrik.jiagu-1/lib/x86_64, /data/app/com.frezrik.jiagu-1/base.apk!/lib/x86_64, /vendor/lib64, /system/lib64]]
11-09 10:29:47.561 E/AndroidRuntime(2068): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
11-09 10:29:47.561 E/AndroidRuntime(2068): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
11-09 10:29:47.561 E/AndroidRuntime(2068): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
11-09 10:29:47.561 E/AndroidRuntime(2068): at android.app.ActivityThread.installProvider(ActivityThread.java:5378)
11-09 10:29:47.561 E/AndroidRuntime(2068): ... 10 more
11-09 10:29:47.561 E/AndroidRuntime(2068): Suppressed: java.lang.ClassNotFoundException: com.frezrik.jiagu.TestContentProvider
11-09 10:29:47.561 E/AndroidRuntime(2068): at java.lang.Class.classForName(Native Method)
11-09 10:29:47.561 E/AndroidRuntime(2068): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
11-09 10:29:47.561 E/AndroidRuntime(2068): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
11-09 10:29:47.561 E/AndroidRuntime(2068): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
11-09 10:29:47.561 E/AndroidRuntime(2068): ... 12 more
11-09 10:29:47.561 E/AndroidRuntime(2068): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
11-09 10:29:47.561 W/ActivityManager(527): Force finishing activity com.frezrik.jiagu/.MainActivity
file_provider资源缺失,麻烦问下怎么处理
FATAL EXCEPTION: main
Process: com.mcal.dexprotect, PID: 27440
java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{JIAGU/androidx.startup.InitializationProvider}
at android.app.ActivityThread.installProvider(ActivityThread.java:7488)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6999)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6770)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2134)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: androidx.startup.StartupException: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{JIAGU/androidx.startup.InitializationProvider}
at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:208)
at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:45)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2451)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2421)
at android.app.ActivityThread.installProvider(ActivityThread.java:7483)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6999)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6770)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2134)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{JIAGU/androidx.startup.InitializationProvider}
at android.app.ApplicationPackageManager.getProviderInfo(ApplicationPackageManager.java:637)
at android.app.ApplicationPackageManager.getProviderInfo(ApplicationPackageManager.java:620)
at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:204)
at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:45)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2451)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2421)
at android.app.ActivityThread.installProvider(ActivityThread.java:7483)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6999)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6770)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2134)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
After using latest jiagu tool with this change d744bd6, it is taking ridiculously long time to zipping large APK for up to 30 minutes ~ 1 hour. I used the previous version and the speed was a lot faster even APK is large, it only takes less than a minute. Can you please improve speed on this change?
1 GB APK https://apkcombo.com/downloader/#package=com.pjsekai.kr&arches=armeabi-v7a
Jiagu/jiagu/src/main/cpp/utils/aes.c
Line 562 in b3e65c4
replacing the string bajk3b4j3bvuoa3h
causes an error
Unable to instantiate appComponentFactory
java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.youkagames.gameplatform-zSQD3N1aKbPFqmvPn4a98g==/base.apk"],nativeLibraryDirectories=[/data/app/com.youkagames.gameplatform-zSQD3N1aKbPFqmvPn4a98g==/lib/arm64, /data/app/com.youkagames.gameplatform-zSQD3N1aKbPFqmvPn4a98g==/base.apk!/lib/arm64-v8a, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.LoadedApk.createAppFactory(LoadedApk.java:238)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:778)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:857)
at android.app.LoadedApk.getResources(LoadedApk.java:1092)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2486)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6228)
at android.app.ActivityThread.access$1300(ActivityThread.java:233)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1877)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:242)
at android.app.ActivityThread.main(ActivityThread.java:7227)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:499)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:962)
Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.youkagames.gameplatform-zSQD3N1aKbPFqmvPn4a98g==/base.apk because: Failed to open dex file '/data/app/com.youkagames.gameplatform-zSQD3N1aKbPFqmvPn4a98g==/base.apk' from memory: Invalid or truncated dex file
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:366)
at dalvik.system.DexFile.(DexFile.java:102)
at dalvik.system.DexFile.(DexFile.java:76)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
at dalvik.system.DexPathList.(DexPathList.java:164)
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:74)
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:65)
at dalvik.system.PathClassLoader.(PathClassLoader.java:64)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:774)
... 12 more
修复raw资源出错 commit
if ("resources.arsc".equals(file.getName()) || file.getAbsolutePath().contains(File.separator + "raw" + File.separator)) {
这个修改是什么意思
具体日志如下:
-12 10:02:26.641 W/hook_jg (14604): ProviderKey: class android.app.ActivityThread$ProviderClientRecord, ProviderClientRecord: android.app.ActivityThread$ProviderClientRecord@b417896, 替换ContentProvider: com.msunsoft.platform.app.InitProvider@7a23c17
05-12 10:02:26.641 W/hook_jg (14604): mLocalProvidersByName: {com.msunsoft.platform_internet_isomerism/com.msunsoft.platform.app.InitProvider}, com.msunsoft.platform.app.InitProvider
05-12 10:02:26.658 D/StubApp (14604): createPackageContext: com.msunsoft.platform_internet_isomerism, flags: 1
05-12 10:02:26.658 W/NDK_JIAGU(14604): replaceContentProvider
05-12 10:02:26.658 W/hook_jg (14604): android.app.ContextImpl
05-12 10:02:26.658 W/hook_jg (14604): android.app.LoadedApk@591cf7d
05-12 10:02:26.659 W/hook_jg (14604): ProviderKey: class android.app.ActivityThread$ProviderClientRecord, ProviderClientRecord: android.app.ActivityThread$ProviderClientRecord@b417896, 替换ContentProvider: com.msunsoft.platform.app.InitProvider@7a23c17
05-12 10:02:26.659 W/hook_jg (14604): ProviderKey: class android.app.ActivityThread$ProviderClientRecord, ProviderClientRecord: android.app.ActivityThread$ProviderClientRecord@a1b5fe9, 替换ContentProvider: io.rong.imlib.publicservice.base.PublicServiceContentProvider@c17046e
05-12 10:02:26.660 W/hook_jg (14604): mLocalProvidersByName: {com.msunsoft.platform_internet_isomerism/com.msunsoft.platform.app.InitProvider}, com.msunsoft.platform.app.InitProvider
05-12 10:02:26.660 W/hook_jg (14604): mLocalProvidersByName: {com.msunsoft.platform_internet_isomerism/io.rong.imlib.publicservice.base.PublicServiceContentProvider}, io.rong.imlib.publicservice.base.PublicServiceContentProvider
05-12 10:02:26.664 W/init (14644): type=1400 audit(0.0:59523): avc: denied { execute } for name="[email protected]" dev="dm-4" ino=157 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
05-12 10:02:26.668 W/PackageManager(14604): Failure retrieving xml 0x7f15000d in package com.msunsoft.platform_internet_isomerism
05-12 10:02:26.668 W/PackageManager(14604): android.content.res.Resources$NotFoundException: File res/gc.xml from xml type xml resource ID #0x7f15000d
05-12 10:02:26.668 W/PackageManager(14604): at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1291)
05-12 10:02:26.668 W/PackageManager(14604): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2426)
05-12 10:02:26.668 W/PackageManager(14604): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2402)
05-12 10:02:26.668 W/PackageManager(14604): at android.content.res.Resources.getXml(Resources.java:1303)
05-12 10:02:26.668 W/PackageManager(14604): at android.app.ApplicationPackageManager.getXml(ApplicationPackageManager.java:2032)
05-12 10:02:26.668 W/PackageManager(14604): at android.content.pm.PackageItemInfo.loadXmlMetaData(PackageItemInfo.java:395)
05-12 10:02:26.668 W/PackageManager(14604): at androidx.core.content.FileProvider.getFileProviderPathsMetaData(FileProvider.java:673)
05-12 10:02:26.668 W/PackageManager(14604): at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:695)
05-12 10:02:26.668 W/PackageManager(14604): at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:645)
05-12 10:02:26.668 W/PackageManager(14604): at androidx.core.content.FileProvider.attachInfo(FileProvider.java:424)
05-12 10:02:26.668 W/PackageManager(14604): at android.app.ActivityThread.installProvider(ActivityThread.java:7283)
05-12 10:02:26.668 W/PackageManager(14604): at android.app.ActivityThread.installContentProviders(ActivityThread.java:6824)
05-12 10:02:26.668 W/PackageManager(14604): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6741)
05-12 10:02:26.668 W/PackageManager(14604): at android.app.ActivityThread.access$1400(ActivityThread.java:244)
05-12 10:02:26.668 W/PackageManager(14604): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1952)
05-12 10:02:26.668 W/PackageManager(14604): at android.os.Handler.dispatchMessage(Handler.java:106)
05-12 10:02:26.668 W/PackageManager(14604): at android.os.Looper.loop(Looper.java:223)
05-12 10:02:26.668 W/PackageManager(14604): at android.app.ActivityThread.main(ActivityThread.java:7703)
05-12 10:02:26.668 W/PackageManager(14604): at java.lang.reflect.Method.invoke(Native Method)
05-12 10:02:26.668 W/PackageManager(14604): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
05-12 10:02:26.668 W/PackageManager(14604): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)
05-12 10:02:26.668 W/PackageManager(14604): Caused by: java.io.FileNotFoundException: res/gc.xml
05-12 10:02:26.668 W/PackageManager(14604): at android.content.res.AssetManager.nativeOpenXmlAsset(Native Method)
05-12 10:02:26.668 W/PackageManager(14604): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:1096)
05-12 10:02:26.668 W/PackageManager(14604): at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1275)
05-12 10:02:26.668 W/PackageManager(14604): ... 20 more
05-12 10:02:26.669 D/AndroidRuntime(14604): Shutting down VM
--------- beginning of crash
05-12 10:02:26.670 E/AndroidRuntime(14604): FATAL EXCEPTION: main
05-12 10:02:26.670 E/AndroidRuntime(14604): Process: com.msunsoft.platform_internet_isomerism, PID: 14604
05-12 10:02:26.670 E/AndroidRuntime(14604): java.lang.RuntimeException: Unable to get provider io.rong.imkit.picture.PictureFileProvider: java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.app.ActivityThread.installProvider(ActivityThread.java:7288)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.app.ActivityThread.installContentProviders(ActivityThread.java:6824)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6741)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.app.ActivityThread.access$1400(ActivityThread.java:244)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1952)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.os.Handler.dispatchMessage(Handler.java:106)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.os.Looper.loop(Looper.java:223)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.app.ActivityThread.main(ActivityThread.java:7703)
05-12 10:02:26.670 E/AndroidRuntime(14604): at java.lang.reflect.Method.invoke(Native Method)
05-12 10:02:26.670 E/AndroidRuntime(14604): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
05-12 10:02:26.670 E/AndroidRuntime(14604): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)
05-12 10:02:26.670 E/AndroidRuntime(14604): Caused by: java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data
05-12 10:02:26.670 E/AndroidRuntime(14604): at androidx.core.content.FileProvider.getFileProviderPathsMetaData(FileProvider.java:676)
05-12 10:02:26.670 E/AndroidRuntime(14604): at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:695)
05-12 10:02:26.670 E/AndroidRuntime(14604): at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:645)
05-12 10:02:26.670 E/AndroidRuntime(14604): at androidx.core.content.FileProvider.attachInfo(FileProvider.java:424)
05-12 10:02:26.670 E/AndroidRuntime(14604): at android.app.ActivityThread.installProvider(ActivityThread.java:7283)
05-12 10:02:26.670 E/AndroidRuntime(14604): ... 10 more
05-12 10:02:26.680 I/libPowerHal( 551): [perfNotifyAppState] pack:com.msunsoft.platform_internet_isomerism, pid:14604, STATE_DEAD
查找apk里面是有这个文件的,但是加固之后报找不到res/gc.xml,minSdk 21;targetSdk 32;compileSdk 33
ZN3art7DexFile10OpenMemoryERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjPNS_6MemMapEPS7
ZN3art7DexFile10OpenMemoryEPKhjRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEjPNS_6MemMapEPKNS_10OatDexFileEPS9
在vivo,oppo,xiaomi 7.x 上测试,以上两个重载OpenMemory方法,第一个可以成功,第二个失败报错:failed:undefined symbol。
在huawei 7.x 上测试,两个方法都可以成功。
dex一次性解压到内存中在有些机型会OOM
2022-06-10 19:09:50.473 15112-15112/? E/JIAGU: hook
2022-06-10 19:09:50.474 15112-15112/? E/QarthLog: [PatchStore] current thread application info is null
--------- beginning of crash
2022-06-10 19:09:50.474 15112-15112/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.frezrik.jiagu, PID: 15112
java.lang.InternalError: Attempt to register dex file /data/user/0/com.frezrik.jiagu/[email protected] with multiple class loaders
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:292)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:285)
at dalvik.system.DexPathList$Element.findClass(DexPathList.java:779)
at dalvik.system.DexPathList.findClass(DexPathList.java:539)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.frezrik.jiagu.StubApp.invoke2(StubApp.java:12)
at com.frezrik.jiagu.StubApp.attach(Native Method)
at com.frezrik.jiagu.StubApp.attachBaseContext(StubApp.java:61)
at android.app.Application.attach(Application.java:358)
at android.app.Instrumentation.newApplication(Instrumentation.java:1168)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1451)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7554)
at android.app.ActivityThread.access$2600(ActivityThread.java:260)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
app加固后闪退 请问作者大大这种问题如何解决 aac壳文件如何调试 没有相关问题解决经验
设备:REDMI 10C
系统版本:android 12
加固签名:源码默认加固
故障现象:app开屏页切入主程序闪退
java version openjdk version "1.8.0_362"
Gradle 3.3
OS:linux
java version: openjdk version "1.8.0_322" OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode)
desctiption:
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
how to fix it ?
Can you add support for x86_64 expecially for 64-bit emulators? app crashing when trying to run it but works fine on 32-bit emulators
07-15 06:36:17.119 D/AndroidRuntime( 4852): Shutting down VM
07-15 06:36:17.119 E/AndroidRuntime( 4852): FATAL EXCEPTION: main
07-15 06:36:17.119 E/AndroidRuntime( 4852): Process: com.frezrik.jiagu, PID: 4852
07-15 06:36:17.119 E/AndroidRuntime( 4852): java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.frezrik.jiagu/.jiagu/libjiaguv1.so" is for EM_AARCH64 (183) instead of EM_X86_64 (62)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at java.lang.Runtime.load0(Runtime.java:939)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at java.lang.System.load(System.java:1628)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at com.frezrik.jiagu.StubApp.attachBaseContext(StubApp.java:58)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.app.Application.attach(Application.java:351)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.app.Instrumentation.newApplication(Instrumentation.java:1159)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.app.LoadedApk.makeApplication(LoadedApk.java:1260)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6702)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.app.ActivityThread.access$1300(ActivityThread.java:237)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.os.Handler.dispatchMessage(Handler.java:106)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.os.Looper.loop(Looper.java:223)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at android.app.ActivityThread.main(ActivityThread.java:7676)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at java.lang.reflect.Method.invoke(Native Method)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
07-15 06:36:17.119 E/AndroidRuntime( 4852): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Getting this error when I run app as 32-bit on a 64-bit device. Tried to change libart path to /apex/com.android.art/lib/libart.so
, still same.
Any change to support it? because I can't or won't support 64-bit natively, since ARM translation handles well, I needed my code to universally support all devices without headache
08-10 11:59:54.881 D/NDK_JIAGU(19286): [-]loadDex
08-10 11:59:54.884 D/NDK_JIAGU(19286): app name: com.frezrik.jiagu.MyApp
08-10 11:59:54.913 D/NDK_JIAGU(19286): [+]Elements size:1, dex File size: 1
08-10 11:59:54.914 W/NDK_JIAGU(19286): hook
08-10 11:59:54.915 D/AndroidRuntime(19286): Shutting down VM
08-10 11:59:54.915 E/AndroidRuntime(19286): FATAL EXCEPTION: main
08-10 11:59:54.915 E/AndroidRuntime(19286): Process: com.frezrik.jiagu, PID: 19286
08-10 11:59:54.915 E/AndroidRuntime(19286): java.lang.InternalError: Attempt to register dex file /data/user/0/com.frezrik.jiagu/[email protected] with multiple class loaders
08-10 11:59:54.915 E/AndroidRuntime(19286): at dalvik.system.DexFile.defineClassNative(Native Method)
08-10 11:59:54.915 E/AndroidRuntime(19286): at dalvik.system.DexFile.defineClass(DexFile.java:294)
08-10 11:59:54.915 E/AndroidRuntime(19286): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:287)
08-10 11:59:54.915 E/AndroidRuntime(19286): at dalvik.system.DexPathList$Element.findClass(DexPathList.java:773)
08-10 11:59:54.915 E/AndroidRuntime(19286): at dalvik.system.DexPathList.findClass(DexPathList.java:533)
08-10 11:59:54.915 E/AndroidRuntime(19286): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:205)
08-10 11:59:54.915 E/AndroidRuntime(19286): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-10 11:59:54.915 E/AndroidRuntime(19286): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-10 11:59:54.915 E/AndroidRuntime(19286): at com.frezrik.jiagu.util.ApplicationHook.hook(ApplicationHook.java:34)
08-10 11:59:54.915 E/AndroidRuntime(19286): at com.frezrik.jiagu.StubApp.invoke2(StubApp.java:55)
08-10 11:59:54.915 E/AndroidRuntime(19286): at com.frezrik.jiagu.StubApp.attach(Native Method)
08-10 11:59:54.915 E/AndroidRuntime(19286): at com.frezrik.jiagu.StubApp.attachBaseContext(StubApp.java:30)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.app.Application.attach(Application.java:351)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.app.Instrumentation.newApplication(Instrumentation.java:1159)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.app.LoadedApk.makeApplication(LoadedApk.java:1261)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6768)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.app.ActivityThread.access$1300(ActivityThread.java:250)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1962)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.os.Handler.dispatchMessage(Handler.java:106)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.os.Looper.loop(Looper.java:250)
08-10 11:59:54.915 E/AndroidRuntime(19286): at android.app.ActivityThread.main(ActivityThread.java:7755)
08-10 11:59:54.915 E/AndroidRuntime(19286): at java.lang.reflect.Method.invoke(Native Method)
08-10 11:59:54.915 E/AndroidRuntime(19286): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
08-10 11:59:54.915 E/AndroidRuntime(19286): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
It seems dlopen fails if running an app with ARMv7 lib only on x86 emulator Memuplay. I don't want to support x86 natively because most apps no longer provides x86 libs, therefore it is not possible to support x86 natively because it will cause crash due to missing x86 libs
It would be great if everything works on ARM translation side
08-06 09:17:05.657 I/InputDispatcher(572): Dropping event because there is no touchable window at (408, 402).
08-06 09:17:05.659 D/houdini (21813): [21813] Added shared library /data/user/0/com.frezrik.jiagu/.jiagu/libjiaguv1.so for ClassLoader by Native Bridge.
08-06 09:17:05.659 D/NDK_JIAGU(21813): SDK_INT = 25
08-06 09:17:05.660 D/gralloc_gmin(269): gralloc_alloc: Creating ashmem region of size 3686400
08-06 09:17:05.661 D/NDK_JIAGU(21813): init done! quick_on_stack_replace = 0xc121000, quick_on_stack_back = 0xaf00f090
08-06 09:17:05.661 D/NDK_JIAGU(21813): [-]getDex
08-06 09:17:05.765 D/NDK_JIAGU(21813): [-]loadDex
08-06 09:17:05.772 D/NDK_JIAGU(21813): app name: com.frezrik.jiagu.MyApp
08-06 09:17:05.772 E/NDK_JIAGU(21813): [-]get /system/lib/libart.so handle failed:dlopen failed: library "/system/lib/libart.so" is not accessible for the namespace "(anonymous)"
08-06 09:17:05.773 D/AndroidRuntime(21813): Shutting down VM
08-06 09:17:05.773 E/AndroidRuntime(21813): FATAL EXCEPTION: main
08-06 09:17:05.773 E/AndroidRuntime(21813): Process: com.frezrik.jiagu, PID: 21813
08-06 09:17:05.773 E/AndroidRuntime(21813): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.frezrik.jiagu/com.frezrik.jiagu.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.frezrik.jiagu.MainActivity" on path: DexPathList[[zip file "/data/app/com.frezrik.jiagu-1/base.apk"],nativeLibraryDirectories=[/data/app/com.frezrik.jiagu-1/lib/arm, /data/app/com.frezrik.jiagu-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2568)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.app.ActivityThread.-wrap12(ActivityThread.java)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.os.Handler.dispatchMessage(Handler.java:102)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.os.Looper.loop(Looper.java:154)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.app.ActivityThread.main(ActivityThread.java:6121)
08-06 09:17:05.773 E/AndroidRuntime(21813): at java.lang.reflect.Method.invoke(Native Method)
08-06 09:17:05.773 E/AndroidRuntime(21813): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
08-06 09:17:05.773 E/AndroidRuntime(21813): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
08-06 09:17:05.773 E/AndroidRuntime(21813): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.frezrik.jiagu.MainActivity" on path: DexPathList[[zip file "/data/app/com.frezrik.jiagu-1/base.apk"],nativeLibraryDirectories=[/data/app/com.frezrik.jiagu-1/lib/arm, /data/app/com.frezrik.jiagu-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
08-06 09:17:05.773 E/AndroidRuntime(21813): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
08-06 09:17:05.773 E/AndroidRuntime(21813): at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
08-06 09:17:05.773 E/AndroidRuntime(21813): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.app.Instrumentation.newActivity(Instrumentation.java:1078)
08-06 09:17:05.773 E/AndroidRuntime(21813): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2558)
08-06 09:17:05.773 E/AndroidRuntime(21813): ... 9 more
接入头条广告报错:
2022-11-07 15:49:32.707 7526-7526/? E/LoadedApk: Unable to instantiate appComponentFactory
java.lang.ClassNotFoundException: Didn't find class "android.support.v4.app.CoreComponentFactory" on path: DexPathList[[zip file "/data/app/com.bytedance.pogalin.empowerdemo-0R_-w3FNqRBRE77hpGjNvQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.bytedance.pogalin.empowerdemo-0R_-w3FNqRBRE77hpGjNvQ==/lib/arm64, /data/app/com.bytedance.pogalin.empowerdemo-0R_-w3FNqRBRE77hpGjNvQ==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.LoadedApk.createAppFactory(LoadedApk.java:270)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1005)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1129)
at android.app.LoadedApk.getResources(LoadedApk.java:1419)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2662)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2644)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7452)
at android.app.ActivityThread.access$2600(ActivityThread.java:260)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
2022-11-07 15:49:32.711 3655-26191/? E/DollieActivityManagerAdapter: HwActivityNotifierEx null uid
2022-11-07 15:49:32.748 3655-4641/? E/Hicom_XEngineProc: isSupportNearMp. switch disabled
2022-11-07 15:49:32.750 2141-2337/? E/WindowManager: icon is null!!
2022-11-07 15:49:32.788 703-20091/? E/audio_custom: [dev_set_parameters_v2:139]: audio_dsp_set_parameters excute failed
2022-11-07 15:49:33.344 7526-7566/? E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@8f2f0ad
2022-11-07 15:49:33.347 7526-7526/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.bytedance.pogalin.empowerdemo, PID: 7526
java.lang.NoSuchMethodError: No direct method (La/a/a/a/b$a;)V in class La/a/a/a/a; or its super classes (declaration of 'a.a.a.a.a' appears in /data/app/com.bytedance.pogalin.empowerdemo-0R_-w3FNqRBRE77hpGjNvQ==/base.apk)
at a.a.a.a.b$a.create(:1)
at a.a.a.a.e.a(:3)
at a.a.a.a.e.set(:2)
at a.a.a.a.e.a(:3)
at a.a.a.a.e.a(:7)
at com.volcengine.onekit.OneKitApp.(Unknown Source:109)
at com.volcengine.onekit.OneKitApp.initialize(Unknown Source:9)
at com.volcengine.onekit.OneKitApp.initialize(Unknown Source:4)
at com.volcengine.onekit.OneKitInitProvider.onCreate(Unknown Source:4)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2097)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2070)
at android.app.ActivityThread.installProvider(ActivityThread.java:8168)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:7709)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7573)
at android.app.ActivityThread.access$2600(ActivityThread.java:260)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
如题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.