Potrzebowałem zrobić builda apki. Odpaliłem projekt, zrobiłem 'gradlew bundleRelease' i pojawia się błąd
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processReleaseManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library [com.facebook.react:react-native:0.71.0-rc.0] /Users/jam/.gradle/caches/transforms-2/files-2.1/4917fb6d31f8c89c5a0a399d373f6b29/jetified-react-native-0.71.0-rc.0-release/AndroidManifest.xml as the library might be using APIs not available in 19
Suggestion: use a compatible library with a minSdk of at most 19,
or increase this project's minSdk version to at least 21,
or use tools:overrideLibrary="com.facebook.react" to force usage (may lead to runtime failures)
Tutaj dostałem WTF, ponieważ nic nie zmieniałem.
Podniosłem wersję minSDK na 21 i dostaję
> Task :app:bundleReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
/Users/jam/.gradle/caches/transforms-2/files-2.1/0f70010208152bdecdcbf35bb7caa160/core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.
Próbowałem różnych rozwiązań na SO, ale ostatecznie nic nie chce działać. Macie jakiś pomysł? Ostatni raz builda robiłem z tego samego kodu około 2/3 tygodnie temu