CommandInvokationFailure error when building APK?

前端 未结 2 1598
Happy的楠姐
Happy的楠姐 2020-12-21 16:24

I\'m getting the following error when I build my APK:

CommandInvokationFailure: Failed to re-package resources. See the Console for details.
    C:\\Users\\M         


        
相关标签:
2条回答
  • 2020-12-21 16:53

    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.

    0 讨论(0)
  • 2020-12-21 17:04

    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.

    0 讨论(0)
提交回复
热议问题