react-conf-app icon indicating copy to clipboard operation
react-conf-app copied to clipboard

Error:Configuration with name 'default' not found.

Open wenhuix opened this issue 7 years ago • 2 comments

When I run

react-native run-android in my cmd, I met a problem:

Incremental java compilation is an incubating feature.

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugApk'. Configuration with name 'default' not found.

Does anybody has the same problem ?

wenhuix avatar May 13 '17 09:05 wenhuix

Have you installed the project dependencies with yarn or npm i? That sounds like it's unable to find a native module from your node_modules folder.

Also, the other thing you can try to get more info with is using Android Studio to do a build, which should be more explicit in telling you what went wrong.

thekevinbrown avatar May 18 '17 01:05 thekevinbrown

Use yarn to install the dependencies. beginning, I Use npm and occur the same error with you . Instead npm with yarn, and the error be @@@resolved

hopeMing avatar Jun 15 '17 03:06 hopeMing