개발자 옵션이 안들어가집니다.
AndEditz
2
1702
2022.05.04 11:16
안녕하세요.
Xposed Framework를 써보고 있습니다!
테스트용 앱 하나와 Xposed 모듈 하나를 설치하여 테스트 중 우연하게 개발자 옵션이 안들어 가지는 상황을 확인했습니다.
만든 Xposed Module은 테스트용 앱 대상으로만 동작하며, settings에 대한 코드는 전혀 없습니다.
설치한 모듈을 비활성화 한 후에도 들어가지지 않습니다.
Xposed 나 Magisk가 원인일 수 있을까요?
도움 주시면 정말 감사하겠습니다!
아래는 Logcat으로 확인한 에러문입니다.
2022-05-04 11:10:39.299 20067-20067/com.android.settings E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.android.settings, PID: 20067
java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.RuntimeException: failed to set system property
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4657)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4690)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: java.lang.RuntimeException: failed to set system property
at android.os.SystemProperties.native_set(Native Method)
at android.os.SystemProperties.set(SystemProperties.java:196)
at com.android.settingslib.development.AbstractLogpersistPreferenceController.updateLogpersistValues(AbstractLogpersistPreferenceController.java:179)
at com.android.settings.development.LogPersistPreferenceController.updateState(LogPersistPreferenceController.java:57)
at com.android.settings.dashboard.DashboardFragment.updatePreferenceStates(DashboardFragment.java:455)
at com.android.settings.dashboard.DashboardFragment.onResume(DashboardFragment.java:262)
at com.android.settings.dashboard.RestrictedDashboardFragment.onResume(RestrictedDashboardFragment.java:138)
at androidx.fragment.app.Fragment.performResume(Fragment.java:2546)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:929)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1234)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1300)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2620)
at androidx.fragment.app.FragmentManagerImpl.dispatchResume(FragmentManagerImpl.java:2592)
at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:269)
at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:463)
at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:453)
at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:173)
at android.app.Activity.performResume(Activity.java:8136)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4647)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4690)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Xposed Framework를 써보고 있습니다!
테스트용 앱 하나와 Xposed 모듈 하나를 설치하여 테스트 중 우연하게 개발자 옵션이 안들어 가지는 상황을 확인했습니다.
만든 Xposed Module은 테스트용 앱 대상으로만 동작하며, settings에 대한 코드는 전혀 없습니다.
설치한 모듈을 비활성화 한 후에도 들어가지지 않습니다.
Xposed 나 Magisk가 원인일 수 있을까요?
도움 주시면 정말 감사하겠습니다!
아래는 Logcat으로 확인한 에러문입니다.
2022-05-04 11:10:39.299 20067-20067/com.android.settings E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.android.settings, PID: 20067
java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.RuntimeException: failed to set system property
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4657)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4690)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: java.lang.RuntimeException: failed to set system property
at android.os.SystemProperties.native_set(Native Method)
at android.os.SystemProperties.set(SystemProperties.java:196)
at com.android.settingslib.development.AbstractLogpersistPreferenceController.updateLogpersistValues(AbstractLogpersistPreferenceController.java:179)
at com.android.settings.development.LogPersistPreferenceController.updateState(LogPersistPreferenceController.java:57)
at com.android.settings.dashboard.DashboardFragment.updatePreferenceStates(DashboardFragment.java:455)
at com.android.settings.dashboard.DashboardFragment.onResume(DashboardFragment.java:262)
at com.android.settings.dashboard.RestrictedDashboardFragment.onResume(RestrictedDashboardFragment.java:138)
at androidx.fragment.app.Fragment.performResume(Fragment.java:2546)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:929)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1234)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1300)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2620)
at androidx.fragment.app.FragmentManagerImpl.dispatchResume(FragmentManagerImpl.java:2592)
at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:269)
at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:463)
at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:453)
at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:173)
at android.app.Activity.performResume(Activity.java:8136)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4647)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4690)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)