Skip to content

Error:Configuration with name 'default' not found. #53

Open

Description

@wenhuix

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 ?

Activity

  1. thekevinbrown commented on May 18, 2017

    @thekevinbrown
    Contributor

    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.

  2. hopeMing commented on Jun 15, 2017

    @hopeMing

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions