I have been asked to write a small simple app for an Android-based product. The device comes with two Android system images with different features. The app I\'m writing is
I met the same problem in android 8. If you add android:sharedUserId="android.uid.system" in AndroidManifest.xml, it should work.
android:sharedUserId="android.uid.system"
AndroidManifest.xml