Skip to content Skip to sidebar Skip to footer

Commandinvokationfailure Error When Building Apk?

I'm getting the following error when I build my APK: CommandInvokationFailure: Failed to re-package resources. See the Console for details. C:\Users\Me\AppData\Local\Android\sd

Solution 1:

This absolutely will fix your problem.

Download the google_play_services from this link below :

https://dl-ssl.google.com/android/repository/google_play_services_8298000_r28.zip

Then unzip it.

after unzip copy the file to :

android-sdk/extras/google/google_play_services/

Find version.xml file at the zip file:

android-sdk/extras/google/google_play_services/libproject/google-play-services_lib/res/values/

and copy it to :

Assets/Plugins/Android/res/values/

At unity folder

This is work for me.

Solution 2:

To fix this error, you have to copy the version.xml file from

android-sdk/extras/google/google_play_services/libproject/google-play-services_lib/res/values/

into

Assets/Plugins/Android/res/values/

of your Unity project's folder.

Post a Comment for "Commandinvokationfailure Error When Building Apk?"