Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAPT: error: attribute android:requestLegacyExternalStorage not found. #212

Open
penihel opened this issue Aug 8, 2020 · 5 comments
Open

Comments

@penihel
Copy link

penihel commented Aug 8, 2020

After this #209
I got this error on build

SDK Version 23

2020-08-08T12:37:35.7948747Z FAILURE: Build failed with an exception.
2020-08-08T12:37:35.7948903Z 
2020-08-08T12:37:35.7949041Z * What went wrong:
2020-08-08T12:37:35.7949694Z Execution failed for task ':app:processReleaseResources'.
2020-08-08T12:37:35.7949944Z > Android resource linking failed
2020-08-08T12:37:35.7950401Z   /home/vsts/work/1/s/src/ImplantaNetApp/platforms/android/app/build/intermediates/merged_manifests/release/AndroidManifest.xml:34: AAPT: error: attribute android:requestLegacyExternalStorage not found.
2020-08-08T12:37:35.7950849Z       
2020-08-08T12:37:35.7951018Z   error: failed processing manifest.
2020-08-08T12:37:35.7951175Z 
2020-08-08T12:37:35.7951292Z * Try:
@giulianok
Copy link

@penihel i was able to solve it by:

  • removing android:requestLegacyExternalStorage="true" from the manifiest
  • compiling to 29 minimum

@dani-plutonio
Copy link

Hi, I think you need to update your Cordova CLI to version 10.0.0 and your Cordova Android to 9.0.0 before you can add the requestLegacyExternalStorage flag.

@saviour2008
Copy link

After this #209
I got this error on build

SDK Version 23

2020-08-08T12:37:35.7948747Z FAILURE: Build failed with an exception.
2020-08-08T12:37:35.7948903Z 
2020-08-08T12:37:35.7949041Z * What went wrong:
2020-08-08T12:37:35.7949694Z Execution failed for task ':app:processReleaseResources'.
2020-08-08T12:37:35.7949944Z > Android resource linking failed
2020-08-08T12:37:35.7950401Z   /home/vsts/work/1/s/src/ImplantaNetApp/platforms/android/app/build/intermediates/merged_manifests/release/AndroidManifest.xml:34: AAPT: error: attribute android:requestLegacyExternalStorage not found.
2020-08-08T12:37:35.7950849Z       
2020-08-08T12:37:35.7951018Z   error: failed processing manifest.
2020-08-08T12:37:35.7951175Z 
2020-08-08T12:37:35.7951292Z * Try:

could you resolve the problem? I also block by this error

@saviour2008
Copy link

@penihel hi, could you resolve this issue? I was blocked by the same issue

@herbertbruno
Copy link

herbertbruno commented Oct 21, 2020

@saviour2008 hi, could you resolve this issue? I was blocked by the same issue

#216 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants