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

**URL:** <https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, question\
**Created:** [August 1, 2020, 2:28pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040 "2020-08-01T14:28:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_894e2124](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_894e2124](https://forums.unrealengine.com/u/anonymous_user_894e2124)\
**Post date:** [August 1, 2020, 2:28pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/1 "2020-08-01T14:28:23Z")

</div>

Hi! I have a mobile game in development. It works fine with Android target SDK 28, but due to Google restrictions, I need to update the target SDK version to 29.

I can successfully build a game, but after deploy when I open the game I see an error message “Failed to open descriptor file …/…/…/GameName/GameName.uproject”.

I tried to disable plugins or package project first and then launch it, but no luck, the same error.

My building params:  
Building Java with SDK API level ‘android-29’  
LogPlayLevel: Building with Build Tools version ‘29.0.3’  
NDK toolchain: r21b, NDK version: 21, GccVersion: 4.9, ClangVersion: 9.0.8  
LogPlayLevel: Compiling Native 32-bit code with NDK API ‘android-21’  
LogPlayLevel: Compiling Native 64-bit code with NDK API ‘android-21’

What I’m doing wrong? Am I missing something?

---

<div class="post-metadata">

**Author:** ![KITATUS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kitatus/32/983160_2.png) [@KITATUS](https://forums.unrealengine.com/u/KITATUS)\
**Post date:** [August 9, 2020, 8:38pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/2 "2020-08-09T20:38:06Z")

</div>

plus 1 to this, also run into this issue

---

<div class="post-metadata">

**Author:** ![Rotis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rotis](https://forums.unrealengine.com/u/Rotis)\
**Post date:** [August 10, 2020, 12:09pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/3 "2020-08-10T12:09:07Z")

</div>

+1, facing same problem on UE 4.25.3

---

<div class="post-metadata">

**Author:** ![zerobored](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zerobored](https://forums.unrealengine.com/u/zerobored)\
**Post date:** [August 10, 2020, 1:44pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/4 "2020-08-10T13:44:58Z")

</div>

Same here.  
If you build with target 29 and install with abd, is your game working? Because for me, even if I make a fresh project using target sdk 29 it’s crashing with signal 11 log error

---

<div class="post-metadata">

**Author:** ![Rotis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rotis](https://forums.unrealengine.com/u/Rotis)\
**Post date:** [August 11, 2020, 6:37am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/5 "2020-08-11T06:37:29Z")

</div>

Try this.

 ![309850-註解-2020-08-11-143331.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/9/f89d1b0d0c85df289937f0f42677b08d6564e7ed.png)

Adding this tag in application node, Working on UE 4.24.

```
android:requestLegacyExternalStorage="true"

```

Ref:  
[[Android storage use cases and best practices &nbsp;|&nbsp; Android Developers](https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage)][2]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_894e2124](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_894e2124](https://forums.unrealengine.com/u/anonymous_user_894e2124)\
**Post date:** [August 12, 2020, 8:29am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/6 "2020-08-12T08:29:30Z")

</div>

I helped to me, thanks!

---

<div class="post-metadata">

**Author:** ![Rotis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rotis](https://forums.unrealengine.com/u/Rotis)\
**Post date:** [August 13, 2020, 2:47am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/7 "2020-08-13T02:47:03Z")

</div>

Glad I could help!

---

<div class="post-metadata">

**Author:** ![Nikoniko2027](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nikoniko2027/32/593531_2.png) [@Nikoniko2027](https://forums.unrealengine.com/u/Nikoniko2027)\
**Post date:** [August 14, 2020, 6:58pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/8 "2020-08-14T18:58:59Z")

</div>

Unfortunately, your advice didn’t help me. Do you have any other ideas how to fix this?

---

<div class="post-metadata">

**Author:** ![fer1977](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fer1977](https://forums.unrealengine.com/u/fer1977)\
**Post date:** [August 14, 2020, 8:03pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/9 "2020-08-14T20:03:45Z")

</div>

In my case works only when launch on my mobile adding :  
android:requestLegacyExternalStorage=“true”,  
but if I upload the shipping files to google play console to internal tests the app doesn´t open up and close. I dont know what to do… I´m using UE 4.25.3

---

<div class="post-metadata">

**Author:** ![fer1977](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fer1977](https://forums.unrealengine.com/u/fer1977)\
**Post date:** [August 27, 2020, 3:34pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/10 "2020-08-27T15:34:02Z")

</div>

hello, in UE 4.24 which ndk and sdk do you use?,  
if I add the tag in extra tags from node android:requestLegacyExternalStorage=“true”  
I can pack the project unreal throws me these errors:

LogPlayLevel: Error: Output: Z:\app\build\intermediates\merged\_manifests\debug\processDebugManifest\merged\AndroidManifest.xml:26: AAPT: error: attribute android:requestLegacyExternalStorage not found.  
LogPlayLevel: Error: error: failed processing manifest.

I´m using sdk and ndk codeworks which are in UE4.24 by default, is this the problem?

---

<div class="post-metadata">

**Author:** ![Rotis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rotis](https://forums.unrealengine.com/u/Rotis)\
**Post date:** [August 27, 2020, 3:47pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/11 "2020-08-27T15:47:34Z")

</div>

I’m using UE4.24 default codework too.

Check things:

1. API-29 SDK install?
2. Using other Android SDK folder install by Android Studio ,Must install API-29 SDK
3. Clean all temporary folder like “intermediate”, “Saved”… , And package project again.

My friend meets same problem, using methods above, and solve it (in my memory).

---

<div class="post-metadata">

**Author:** ![fer1977](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fer1977](https://forums.unrealengine.com/u/fer1977)\
**Post date:** [August 28, 2020, 5:36am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/12 "2020-08-28T05:36:35Z")

</div>

Hi Rotis, I followed your intructions and now I can pack the game in UE4.24. Thank very much!!.

---

<div class="post-metadata">

**Author:** ![Vekien](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vekien](https://forums.unrealengine.com/u/Vekien)\
**Post date:** [September 7, 2020, 12:03am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/13 "2020-09-07T00:03:02Z")

</div>

This did not work for me… 4.25.3

---

<div class="post-metadata">

**Author:** ![Nikoniko2027](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nikoniko2027/32/593531_2.png) [@Nikoniko2027](https://forums.unrealengine.com/u/Nikoniko2027)\
**Post date:** [September 7, 2020, 12:09pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/14 "2020-09-07T12:09:07Z")

</div>

me too ☹

---

<div class="post-metadata">

**Author:** ![Bear\_ak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bear\_ak](https://forums.unrealengine.com/u/Bear_ak)\
**Post date:** [October 20, 2020, 2:38pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/15 "2020-10-20T14:38:20Z")

</div>

I found the way, refer this link and install SDK 29

> **[Installing Additional Android SDK](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/InstallAdditionalAndroidSDK/)**
>
> Showing you how to install additional Android SDKs

---

<div class="post-metadata">

**Author:** ![OsamaGamal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OsamaGamal](https://forums.unrealengine.com/u/OsamaGamal)\
**Post date:** [January 31, 2021, 6:08pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/16 "2021-01-31T18:08:38Z")

</div>

Please can you help me , I did what you say but my game still close on splash screen , without any message , i followed this

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/5/5c57d9c58a998393b6fd67c5105a1f009e0e6151.jpeg "UNREAL ENGINE 4.24 TUTORIAL: HOW TO PACKAGE YOUR GAME FOR ANDROID") ](https://www.youtube.com/watch?v=3Imqb73WVeg)

can you help me.

---

<div class="post-metadata">

**Author:** ![JayChang-zhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayChang-zhe](https://forums.unrealengine.com/u/JayChang-zhe)\
**Post date:** [March 8, 2021, 9:03am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/17 "2021-03-08T09:03:10Z")

</div>

Look like worked for me, thanks

---

<div class="post-metadata">

**Author:** ![jyashi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jyashi](https://forums.unrealengine.com/u/jyashi)\
**Post date:** [May 20, 2021, 2:36am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/18 "2021-05-20T02:36:15Z")

</div>

Did you manage to find the solution?

Adding android:requestLegacyExternalStorage=“true” did not work for me either at 4.26

---

<div class="post-metadata">

**Author:** ![FrankiePibbs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frankiepibbs/32/918637_2.png) [@FrankiePibbs](https://forums.unrealengine.com/u/FrankiePibbs)\
**Post date:** [June 11, 2021, 7:46am UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/19 "2021-06-11T07:46:52Z")

</div>

No way to make it work…same situation here…

4.26.2 + SDK 29…

---

<div class="post-metadata">

**Author:** ![Ericho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ericho/32/986322_2.png) [@Ericho](https://forums.unrealengine.com/u/Ericho)\
**Post date:** [June 11, 2021, 2:44pm UTC](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040/20 "2021-06-11T14:44:49Z")

</div>

Anyone of you guys got it working? 4.25 and I too haven’t gotten this to work in distribution build, uploaded to closed Alpha on Google Play.  
Added the ExternalStorage didn’t work, I also tried changing the name of the AAB (removing the “-android-shipping” from the name).

[Next page](https://forums.unrealengine.com/t/failed-to-open-descriptor-file-error-with-android-target-sdk-29/469040.md?page=2)
