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

v2.0.15 broke android release build #285

Open
rafaco opened this issue Jul 15, 2021 · 2 comments
Open

v2.0.15 broke android release build #285

rafaco opened this issue Jul 15, 2021 · 2 comments

Comments

@rafaco
Copy link

rafaco commented Jul 15, 2021

v2.0.14 build ok but v2.0.15 fails because it injects minSdk version in the AndroidManifest

Task :app:lintVitalRelease FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:lintVitalRelease'.
Lint infrastructure error
Caused by: java.lang.reflect.InvocationTargetException
...
Caused by: com.android.builder.errors.EvalIssueException: Failed to parse XML in [...]\node_modules\react-native-i18n\android\src\main\AndroidManifest.xml
The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
...
BUILD FAILED in 1m 13s

Edit:
Related to: #246, #220 and #269

@RamyEl-basyouni
Copy link

The same issue happens with me, I fixed by adding a patch to update it

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

3 participants
@rafaco @RamyEl-basyouni and others