Android resource linking failed manifest

Error Generating APK release AAPT: error: resource string/app_name #24587

Comments

maelfosso commented Apr 24, 2019

Coding Questions

I get stuck when trying to generate APK.
I still got this error and I dont know why

https://stackoverflow.com/questions/tagged/react-native

I was on stackoverflow but no response was good until now

How to solve this please ?

The text was updated successfully, but these errors were encountered:

react-native-bot commented Apr 24, 2019

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Santu1245 commented Apr 27, 2019

As the Error Message says:

Android resource linking failed the files that are present in the values folder might not properly be linked up with AndroidManifest files

Check if the files present in values folder string, style, color, etc are properly mapped in AndroidManifest.xml

If no, then Map it.

Then run the following commands:
cd android
./gradlew clean
cd ..
and then run:
react-native run-android —variant=release

wcisco17 commented Aug 1, 2019

What do you mean by «Map it»?

wcisco17 commented Aug 1, 2019 •

I’m having the same issue, it’s been two days now, I’ve tried running gradlew clean and even going as far to delete my build folder.

When I first started the app it worked fine, but when I close out of it that’s when it becomes an issue
and this type of error would always pop up:

Читайте также:  Андроид второй системой ноутбук

Источник

Оцените статью