When I compiled on react-native v.0.70.1 with gradlew assembleRelease command, it fails with error: AAPT: error: resource android:attr/lStar not found.
Changing the logic for accessing root project's properties in build.gradle solved the problem for me. I also created a safeExtGet function for accessing properties. It fails gracefully.
When I compiled on react-native v.0.70.1 with
gradlew assembleRelease
command, it fails with error:AAPT: error: resource android:attr/lStar not found.
Changing the logic for accessing root project's properties in
build.gradle
solved the problem for me. I also created asafeExtGet
function for accessing properties. It fails gracefully.