简体   繁体   中英

How can i solve the following error while run the app : Could not resolve all files for configuration?

FAILURE: Build failed with an exception.

BUILD FAILED in 0s 12 actionable tasks: 1 executed, 11 up-to-date 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/getting-started.html

what is the build command you are running. as it says adding --stacktrace to that may help. something like (assuming package.json/npm etc) - npm run build --stacktrace or in the scripts - <BUILD-PACKAGE> --stacktrace [options]

package.json:

{
    "scripts": {
        "makeItSo": "<BUILD-PACKAGE> --stacktrace [options]"
    }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM