app declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project

后端 未结 11 1912

I am importing a library module named \"wear\" in my project and while building, I am getting this:

Error : A problem occurred configuring project \':app\'.   
C         


        
11条回答
  •  遇见更好的自我
    2021-02-03 18:03

    I ran into this errors too, it turns out that there are a library path changed. Im using react-native-maps version 1.4

    In settings.gradle change the react-native-maps dependency path to

    ... include ':react-native-maps' project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')

    It seems to me the installation manual is not updated

提交回复
热议问题