Search code examples
androidandroid-studioandroid-10.0

android 10 error type=1400 audit(0.0:77): avc: granted { execute } for name="busybox" dev="vdc" ino=36845 scontext=u:r:untrusted_app:


i get this error on android studio when i set targetSdkVersion 29 or 30 anybody has any idea what is wrong? on targetSdkVersion 28 is work ok on any android version

type=1400 audit(0.0:77): avc: granted { execute } for name="busybox" dev="vdc" ino=36845 scontext=u:r:untrusted_app:s0:c137,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c137,c256,c512,c768 tclass=file app=com

I guess it has something to do with this: https://developer.android.com/about/versions/10/behavior-changes-10 Removed execute permission for app home directory


Solution

  • You can find here an answer about this new limitation introduced in Android 10, which restricts where executable files can still have execute permission when using targetSdkVersion 29 or above.

    Cheers, Jérôme