当我尝试为Android构建我的游戏时,我收到此错误。
我尝试了什么
我总是得到同样的错误,试图为Android构建。
我正在使用 Unity 5.3.8 和 Mac Yosemite
错误详情
CommandInvokationFailure:无法重新打包资源。见 控制台 details./Users/admin/Library/Android/sdk/build-tools/android-4.4W/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S " RES" -一世 " /Users/admin/Library/Android/sdk/platforms/android-26/android.jar" -F bin / resources.ap_ --extra-packages com.google.unity:android.support.v7.appcompat:com.facebook.android:com.google.android.gms:com.google.android.gms.ads.impl:com.google.android.gms.ads: com.google.android.gms.base:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gms.gass:com.google.android.gms.tasks:机器人。 support.v4 -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/appcompat-v7-23.1.1/res" -S" / Users / admin / Desktop / game / Temp / StagingArea / android-libraries / facebook / res" -S" / Users / admin / Desktop / game / Temp / StagingArea / android-libraries / google-play-services_lib / res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/play-services-ads-10.0.1/res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/play-services-ads-lite-10.0.1/res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/play-services-base-10.0.1/res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/play-services-basement-10.0.1/res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/play-services-clearcut-10.0.1/res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/play-services-gass-10.0.1/res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/play-services-tasks-10.0.1/res" -S" /Users/admin/Desktop/game/Temp/StagingArea/android-libraries/support-v4-24.0.0/res" stderr [/ Users / admin / Desktop / game / Temp / StagingArea / android-libraries / google-play-services_lib / res / values / admob_ads_attrs.xml:10:错误:属性" adSize"已经过了 defined / Users / admin / Desktop / game / Temp / StagingArea / android-libraries / google-play-services_lib / res / values / admob_ads_attrs.xml:17:error:Attribute" adSizes"已经过了 defined / Users / admin / Desktop / game / Temp / StagingArea / android-libraries / google-play-services_lib / res / values / admob_ads_attrs.xml:20:error:Attribute" adUnitId"已经过了 定义/用户/管理员/桌面/游戏/温度/ StagingArea /机器人的库/程序兼容性-v7-23.1.1 / RES /值/ values.xml:110: 错误:属性"主题"已经过了 定义]标准输出[配置