playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.45k stars 962 forks source link

Game Play Services, Game Analytics and Audience Network (Multi Dex error) #2308

Open pranavt07 opened 6 years ago

pranavt07 commented 6 years ago

I am working on a project which has the following APIs - Google Play Services Audience Network (Facebook) Game Analytics Unity In App Purchasing.

It is giving me the issue given in the image when I try to build for Android :

screen shot 2018-09-22 at 5 44 15 pm

I tried using the Unity Jar Resolver to fix this issue but it keeps giving me the same issue.

I had also contacted Game Analytics who told me the following -

shows that two different versions of play services are being used at this moment in your project; 11.6.2 and 15.0.1. In order to use GA plugin successfully alongside other plug in's, the other plugin must match our version of 15.0.1. You can contact the makers of the other plugin, and request for the plugin to updated to this version.

It would be great if anyone could find a solution for this.

JamesMcMahon commented 5 years ago

I hit a similar issue and it was due to left over files from a previous version of the plugin.

I ended up fixing it by completely clearing out my Assets/Plugins and reimporting the Play Games Plugin from scratch.

eunjaehyung commented 5 years ago

같은 문제였습니다만 해결했습니다. 새로운프로젝트에 임포트한 Plugins/Android안에 플러그인들을 적용할 프로젝트에 덮어씌우기를 하니 빌드성공했습니다. 이유는 모르겠지만 일단 성공!