Error: more than one library with package name com.google.android.gms.license

前端 未结 15 1585
清歌不尽
清歌不尽 2020-12-09 15:59

When I try to run the command ionic cordova build android out error as title above. Then I try to remove one of the gms, when I build again the del

15条回答
  •  甜味超标
    2020-12-09 16:29

    It works for me.

    node_modules/react-native-camera/android/build.gradle:
    dependencies {
        compile 'com.facebook.react:react-native:+'
        compile 'com.google.android.gms:play-services-gcm:11.8.0' // update by me on 
        20180321
    }
    

提交回复
热议问题