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

前端 未结 15 1582
清歌不尽
清歌不尽 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条回答
  •  猫巷女王i
    2020-12-09 16:27

    1. Go to project.properties (in your platform folder)

    2. I was using just google analytics in my "project.properties" and had to add " 11.+" to the end of the version and that worked for me. Not sure if that's long term fix but it did the trick.

    cordova.system.library.2=com.google.android.gms:play-services-analytics:11.+
    

提交回复
热议问题