- Home /
Google Play Game Services Error
I'm using the Google Play Game Services Plugin : https://github.com/playgameservices/play-games-plugin-for-unity As I import it and tries to build my project, this error occures:
CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
D:/Programmer/Java\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="D:/Programmer/Android SDK\tools" -Dfile.encoding=UTF8 -jar "D:\Programmer\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
Does anyone know why?
Answer by DroidifyDevs · May 29, 2016 at 07:06 PM
Google Play Game Services are quite picky and buggy in Unity (as most Google products are). Make sure you have the proper SDK tools installed (or reinstall them) and the plugin you're using is the very latest Google published. Also check if you have other Google plugins such as Admob, having both plugins caused horrific issues for me.
Answer by wuym67123 · Jan 03, 2017 at 08:29 AM
try https://github.com/unity-plugins/google-service-unity It is more easy.
Your answer
![](https://koobas.hobune.stream/wayback/20220612081851im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Problem with Google Play Game Services: Invalid Classname 1 Answer
Where can I find the resource definition for google play games android configuration? 1 Answer
How can I load every score from the leaderboard? 0 Answers
using GooglePlayGames; not working? 0 Answers
Google Play Realtime Multiplayer Only Works On One Account 0 Answers