Failed to open descriptor file (android)

In my case one of the following two solutions worked:

Solution 1

  1. Launch project onto device, receive descriptor error
  2. Create a packaged build (I was using Multi)
  3. Use the .bat files to remove the app from the device
  4. Use the .bat file to install the app to the device
  5. Launch onto device works again without descriptor file error

Solution 2

  1. Add android:requestLegacyExternalStorage=“true” to Project Settings - Android - Extra Tags for application node by hitting “+” icon

For both you should make sure that you have removed the Binaries, Intermediate and Saved folders before repackaging / rebuilding your project. Also I was using 4.25.3 and it worked with target SDK set to 29 (which has to be installed - can be easily done with Android Studio)

4 Likes