"Failed to open descriptor file" error with Android target SDK 29

Hello, i managed to fix this issue for 4.26.2

This is what i did.

  1. Uninstall SDK 31 from android studio 4.0
  2. Make sure you have 29.0.2 SDK version under “android SDK Build-Tools 31” in android studios
    (Check the box “show package details” if youre not seeing any other than build tools 31)
  3. Now manage to your project settings, under platforms - android SDK, make sure that your SDK API Level is set to “android-29”
  4. Go to platforms - android then change “target SDK Version” to 29.

I’ve also removed the android:requestLegacyExternalStorage=“true”, since this did nothing.