240 发简信
IP属地:吉林

  • FAILURE: Build failed with an exception.

    * Where:
    Build file 'C:\SampleAppMovies\android\app\build.gradle' line: 1

    * What went wrong:
    A problem occurred evaluating project ':app'.
    > Failed to apply plugin [id 'com.android.application']
    > Minimum supported Gradle version is 2.14.1. Current version is 2.4. If using the gradle wrapper, try editing the distributionUrl in C:\SampleAppMovies\android\gradle\wrapper\gradle-wrapper.properties to gradle-2.14.1-all.zip

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

    BUILD FAILED

    Total time: 20 mins 15.874 secs
    Could not install the app on the device, read the error above for details.
    Make sure you have an Android emulator running or a device connected and have
    set up your Android development environment:
    https://facebook.github.io/react-native/docs/android-setup.html
    会报错的。。。做到这一步

    史上最全React Native环境安装教程

    准备工作 下载必备软件 软件列表Python地址:https://www.python.org/downloads/Node.js地址:https://nodejs.org/...