-
-
Notifications
You must be signed in to change notification settings - Fork 95
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: resource attr/foreground #104
Comments
I was able to solve this in a very interesting way. After many back and forth, the only solution that worked for me was to
After this gradlew related upgrade, all AAPT: error: resource attr error disapeared. THIS LEAD ME TO ANOTHER ERROR WHICH TOOK ME DAYS TO RESOLVE AS WELLJust incase after you reolved the AAPT related error and you hit this next break wall. 'app:lintVitalRelease' error when generating signed app Did a lot of try and error because the error message after the app:lintVitalRelease error ready the following below.
At the end of the day, i got a solution from the following StackOverflow Link
I hope this saves a persons time and life in general. |
Describe the bug
Task :react-native-paystack:verifyReleaseResources FAILED
I suddenly started getting this error when i try to build the application from terminal.
The application works well when testing on emulator and device with no error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Build the app and output an .aab file
Screenshots
Find screenshot of my terminal output below
How i tried resolving the issue
Create an attrs.xml file in the values directory (/android/app/src/res/values/attr.xml) and added content
Also changed my gradlew version from gradle-6.2 to gradle-6.1.1 and i got the same error
Additional context
react-native-paystack-webview:4.0.3
react-native-cli: 2.0.1
react-native: 0.59.8
node: v14.17.0
Kindly let me know whats causing the error as have been stock here for weeks.
Regards
The text was updated successfully, but these errors were encountered: