Cannot add task 'wrapper' as a task with that name already exists

后端 未结 7 2000
忘掉有多难
忘掉有多难 2020-12-02 14:46

When installing \'react-native init AwesomeProject\' I get this error when I run react-native run-android:

Could not determine         


        
7条回答
  •  无人及你
    2020-12-02 15:35

    I have the same issue. the problem in my code was a double declaration on another Gradle file in build.gradle

    build.gradle

    apply from: otherFile.gradle
    ... build. gradle code...
    apply from: otherFile.gradle //Again 
    

提交回复
热议问题