javalangNoSuchFieldException No field mHiddenApiWarningShown in class LandroidappActivityThread; declaration of androidappActivityThread appears in systemframeworkframeworkjar
The error message java.lang.NoSuchFieldException: No field mHiddenApiWarningShown in class Landroid/app/ActivityThread; (declaration of 'android.app.ActivityThread' appears in /system/framework/framework.jar) suggests that you are trying to access a non-existent field called mHiddenApiWarningShown in the android.app.ActivityThread class.
This error usually occurs when you are using a field that is not available or has been removed in the Android version you are targeting. The field might be present in the framework jar file you are using, but not in the actual Android version running on the device/emulator.
To solve this issue, you should review your code and remove any references to the mHiddenApiWarningShown field. If you are using a library or third-party code, make sure you are using the correct version that is compatible with your Android version
原文地址: http://www.cveoy.top/t/topic/hCqK 著作权归作者所有。请勿转载和采集!