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

error in Generating the release APK RN-version 0.57.0 #66

Open
Best-Sardar opened this issue Sep 23, 2018 · 5 comments
Open

error in Generating the release APK RN-version 0.57.0 #66

Best-Sardar opened this issue Sep 23, 2018 · 5 comments

Comments

@Best-Sardar
Copy link

hi, in Generating the release APK
I get this error :

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-smart-splashscreen:verifyReleaseResources'.

com.android.ide.common.process.ProcessException: Failed to execute aapt

I correctly install this .

@jascaniojah
Copy link

Anyone could fix this?

@eabuslaiman30
Copy link

Refer to #35 to solve this issue.

Seems those changes has not been merged yet but forcing node_modules/react-native-smart-splash-screen/android/build.gradle to use same buildToolsVersion as build.gradle (on app level) should be enough for now.

@mujtaba-zaidi
Copy link

changing node_modules/react-native-smart-splash-screen/android/build.gradle file to

apply plugin: 'com.android.library'
android {
    compileSdkVersion 28
    buildToolsVersion "28.0.2"

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:appcompat-v7:28.0.0'
    compile 'com.facebook.react:react-native:+'
}

fixed for me.

My app's build.gradle

buildToolsVersion = "28.0.2"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 27
supportLibVersion = "28.0.0"

and

"react": "16.6.3",
"react-native": "^0.58.5",

@reactnative103
Copy link

Is there any other solutions available?
Because of this issue this library not useful.....

@franjorub
Copy link

@mujtaba-zaidi is the answer, the library needs an update

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

6 participants