A
A
Andrey Okhotnikov2019-12-02 16:39:50
React Native
Andrey Okhotnikov, 2019-12-02 16:39:50

Error building release version?

Android. When building react-native run-android everything works correctly, when building react-native run-android --variant=release
the error is - Error: ENOENT: no such file or directory, scandir '/project/android/app/build/generated/ res/react/release'
Tried manually creating these directories, doesn't help.
"react-native": "^0.61.5"

compileSdk = 28
    buildTools = "28.0.3"
    minSdk = 19
    targetSdk = 28
    supportLibVersion = "28.0.3"

Gradle version in linux Gradle 4.4.1
build.gradle has classpath 'com.android.tools.build:gradle:3.4.2'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question