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

Fail to build app Release #17164

Closed
raphcadiz opened this issue Dec 13, 2017 · 4 comments
Closed

Fail to build app Release #17164

raphcadiz opened this issue Dec 13, 2017 · 4 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@raphcadiz
Copy link

Hi, I've jumping through different threads on solutions to solve the issue I have but I got no luck and so I wonder maybe somebody can help on this. I updated my app and my Android Studio as then suddenly it just stop building app for release. I wonder what's wrong. This the content of my build.grade

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

When I run ./gradlew assembleRelease I get this error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 56s
66 actionable tasks: 57 executed, 9 up-to-date

Thanks for the help!

@react-native-bot
Copy link
Collaborator

@facebook-github-bot no-template

@facebook-github-bot
Copy link
Contributor

Hey @raphcadiz, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!

How to ContributeWhat to Expect from Maintainers

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Dec 13, 2017
@andylidong
Copy link

Have you solved it?I have the same problem.
Maybe you can change " classpath 'com.android.tools.build:gradle:3.0.1'"
to classpath 'com.android.tools.build:gradle:2.2.3',

@yvkschaefer
Copy link

@andylidong I'm not sure if you're still having the problem but #16906 seems to reference this and there is a PR open .... hoping there will be a fix soon!

@facebook facebook locked as resolved and limited conversation to collaborators Dec 13, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Dec 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants