Android exposed模块";“前进三步”;在安卓7.0上崩溃

Android exposed模块";“前进三步”;在安卓7.0上崩溃,android,crash,logcat,xposed,Android,Crash,Logcat,Xposed,在运行Android 7.0的中兴通讯刀片v8 Mini上,我安装了Magisk、Magisk v89的Xposed框架和Xposed模块(在官方存储库中缺失)。重新启动我的设备,可以看到模块在Xposed安装程序中被激活。当我从Xposed或Android应用程序中启动模块时,它会无休止地崩溃。我安装了Logcat Extreme并记录了应用程序的日志: 08-24 09:59:45.149 1486 5663 I ActivityManager: START u0 {act=androi

在运行Android 7.0的中兴通讯刀片v8 Mini上,我安装了Magisk、Magisk v89的Xposed框架和Xposed模块(在官方存储库中缺失)。重新启动我的设备,可以看到模块在Xposed安装程序中被激活。当我从Xposed或Android应用程序中启动模块时,它会无休止地崩溃。我安装了Logcat Extreme并记录了应用程序的日志:

08-24 09:59:45.149  1486  5663 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.github.spezifisch.threestepsahead/.MainActivity bnds=[184,638][360,828] (has extras)} from uid 10029 on display 0

08-24 09:59:45.190  1486  1874 I ActivityManager: Start proc 7884:com.github.spezifisch.threestepsahead/u0a121 for activity com.github.spezifisch.threestepsahead/.MainActivity

08-24 09:59:45.219  7884  7884 W System  : ClassLoader referenced unknown path: /data/app/com.github.spezifisch.threestepsahead-1/lib/arm64

08-24 09:59:45.224  7884  7884 I Xposed  : com.github.spezifisch.threestepsahead app loaded

08-24 09:59:45.261  7884  7884 I XLua.Xposed: Loaded com.github.spezifisch.threestepsahead:10121

08-24 09:59:45.603  7884  7884 E AndroidRuntime: Process: com.github.spezifisch.threestepsahead, PID: 7884

08-24 09:59:45.603  7884  7884 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.spezifisch.threestepsahead/com.github.spezifisch.threestepsahead.MainActivity}: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported

08-24 09:59:45.603  7884  7884 E AndroidRuntime:    at com.github.spezifisch.threestepsahead.SettingsStorage.<init>(SettingsStorage.java:74)

08-24 09:59:45.603  7884  7884 E AndroidRuntime:    at com.github.spezifisch.threestepsahead.SettingsStorage.getSettingsStorage(SettingsStorage.java:49)

08-24 09:59:45.603  7884  7884 E AndroidRuntime:    at com.github.spezifisch.threestepsahead.MainActivity.onCreate(MainActivity.java:70)

08-24 09:59:45.607  1486  2466 W ActivityManager:   Force finishing activity com.github.spezifisch.threestepsahead/.MainActivity

08-24 09:59:46.111  1486  1523 W ActivityManager: Activity pause timeout for ActivityRecord{4666c9b u0 com.github.spezifisch.threestepsahead/.MainActivity t572 f}

08-24 09:59:46.423  1486  1530 I WindowManager: Destroying surface Surface(name=Starting com.github.spezifisch.threestepsahead) called by com.android.server.wm.WindowStateAnimator.destroySurface:2027 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2659 com.android.server.wm.AppWindowToken.destroySurfaces:365 com.android.server.wm.WindowStateAnimator.finishExit:566 com.android.server.wm.AppWindowAnimator.stepAnimationLocked:434 com.android.server.wm.WindowAnimator.updateAppWindowsLocked:176 

08-24 09:59:50.651  1486  2466 W ActivityManager:   Force finishing activity com.github.spezifisch.threestepsahead/.MainActivity

08-24 09:59:50.651  1486  2466 I ActivityManager: Killing 7884:com.github.spezifisch.threestepsahead/u0a121 (adj 900): crash

08-24 09:59:50.663  1486  1524 I WindowManager: Destroying surface Surface(name=Application Error: com.github.spezifisch.threestepsahead) called by com.android.server.wm.WindowStateAnimator.destroySurface:2027 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2659 com.android.server.wm.WindowManagerService.removeWindowLocked:2617 com.android.server.wm.WindowManagerService.removeWindowLocked:2486 com.android.server.wm.WindowManagerService.removeWindow:2481 com.android.server.wm.Session.remove:196 

08-24 10:04:53.198  1486  2581 I ActivityManager: Start proc 8119:com.github.spezifisch.threestepsahead/u0a121 for service com.github.spezifisch.threestepsahead/.JoystickService

08-24 10:04:53.221  8119  8119 W System  : ClassLoader referenced unknown path: /data/app/com.github.spezifisch.threestepsahead-1/lib/arm64

08-24 10:04:53.226  8119  8119 I Xposed  : com.github.spezifisch.threestepsahead app loaded

08-24 10:04:53.256  8119  8119 I XLua.Xposed: Loaded com.github.spezifisch.threestepsahead:10121
08-24 09:59:45.1491486 5663 I ActivityManager:START u0{act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]flg=0x10200000cmp=com.github.spezifisch.threestepsahead/.MainActivity bnds=[184638][360828](有附加项)}来自显示器0上的uid 10029
08-24 09:59:45.190 1486 1874 I ActivityManager:Start proc 7884:com.github.spezifisch.threestepsahead/u0a121 for activity com.github.spezifisch.threestepsahead/.MainActivity
08-24 09:59:45.219 7884 7884 W系统:类加载器引用的未知路径:/data/app/com.github.spezifisch.threestepsahead-1/lib/arm64
08-24 09:59:45.224 7884 7884我暴露了:com.github.spezifisch.threestepsahead应用程序已加载
08-24 09:59:45.261 7884 7884 I XLua.Xposed:Loaded com.github.spezifisch.threestepshead:10121
08-24 09:59:45.603 7884 7884 E AndroidRuntime:进程:com.github.spezifisch.ThreestepsHead,PID:7884
08-24 09:59:45.603 7884 7884 E AndroidRuntime:java.lang.RuntimeException:无法启动活动组件信息{com.github.spezifisch.threestepsahead/com.github.spezifisch.threestepsahead.MainActivity}:java.lang.SecurityException:不再支持模式\世界\可读
08-24 09:59:45.603 7884 7884 E AndroidRuntime:在com.github.spezifisch.ThreestepsHead.SettingsStorage.(SettingsStorage.java:74)
08-24 09:59:45.603 7884 7884 E AndroidRuntime:com.github.spezifisch.ThreestepsHead.SettingsStorage.getSettingsStorage(SettingsStorage.java:49)
08-24 09:59:45.603 7884 7884 E AndroidRuntime:com.github.spezifisch.threestepshead.MainActivity.onCreate(MainActivity.java:70)
08-24 09:59:45.607 1486 2466 W活动管理器:强制完成活动com.github.spezifisch.threestepsahead/.main活动
08-24 09:59:46.111 1486 1523 W ActivityManager:ActivityRecord{4666c9b u0 com.github.spezifisch.threestepsahead/.main Activity t572 f}的活动暂停超时
08-24 09:59:46.423 1486 1530 I WindowManager:销毁表面(名称=启动com.github.spezifisch.threestepsahead)由com.android.server.wm.WindowsStateAnimator.destroySurface调用:2027 com.android.server.wm.WindowsStateAnimator.destroySurface锁定:882 com.android.server.wm.WindowStateAnimator.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2659 com.android.server.wm.AppWindowToken.destroySurfaces:365com.android.server.wm.WindowStateAnimator.finishExit:566 com.android.server.wm.AppWindowAnimator.stepAnimationLocked:434 com.android.server.wm.WindowAnimator.UpdateAppIndowsLocked:176
08-24 09:59:50.651 1486 2466 W活动管理器:强制完成活动com.github.spezifisch.threestepsahead/.main活动
08-24 09:59:50.651 1486 2466 I活动管理器:杀死7884:com.github.spezifisch.threestepsahead/u0a121(形容词900):崩溃
08-24 09:59:50.663 1486 1524 I WindowManager:正在销毁表面(名称=应用程序错误:com.github.spezifisch.threestepsahead)由com.android.server.wm.WindowStateAnimator.destroySurface调用:2027 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.wm.WindowStateAnimator.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2659 com.android.server.wm.WindowManagerService.removeWindowLocked:2617com.android.server.wm.WindowManagerService.removeWindowLocked:2486 com.android.server.wm.WindowManagerService.removeWindow:2481 com.android.server.wm.Session.remove:196
08-24 10:04:53.198 1486 2581 I ActivityManager:启动程序8119:com.github.spezifisch.threestepsahead/u0a121 for service com.github.spezifisch.threestepsahead/.JoystickService
08-24 10:04:53.221 8119 8119 W系统:类加载器引用的未知路径:/data/app/com.github.spezifisch.threestepsahead-1/lib/arm64
08-24 10:04:53.226 8119 8119我暴露了:com.github.spezifisch.threestepsahead应用程序已加载
08-24 10:04:53.256 8119 8119 I XLua.Xposed:Loaded com.github.spezifisch.threestepshead:10121
有人能帮我找出模块/应用程序崩溃的原因以及如何修复吗


另外,它也会在我尝试的任何8.x和9.x设备上崩溃

我们应该使用Context.MODE\u PRIVATE,它会工作的

关于开发或编程以外的主题,但与Android相关的问题,不在Stack Overflow的主题上,但可能在的主题上(您更可能在那里得到一个好的答案)。请在发布之前进行回顾,以确保您的问题与主题相关。