编译项目时,Unity 5.6.3p2会产生以下错误:
CommandInvokationFailure: Failed to re-package resources.
C:\Users\Robot\AppData\Local\Android\Sdk\build-tools\27.0.0\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/Robot/AppData/Local/Android/Sdk\platforms\android-27\android.jar" -F bin/resources.ap_ --extra-packages com.chartboost.sdk.unity:com.unity.purchasing:com.sglib.mobile.androidnative:com.android.vending.billing:com.google.unity.ads:com.unity.purchasing.googleplay:com.google.example.games.mainlibproj:com.google.games.bridge:com.google.android.gms.ads.impl:com.google.android.gms.admob.impl.license:com.google.android.gms.ads:com.google.android.gms.admob.license:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.common.license:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.gass.license:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4 -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\common\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\mobile\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\GooglePlay\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\gpgs-plugin-support-0.9.42\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-ads-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-ads-lite-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-auth-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-auth-base-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-base-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-basement-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-basement-9.0.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-drive-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-games-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-gass-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-nearby-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-tasks-11.6.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\support-compat-25.2.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\support-core-ui-25.2.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\support-core-utils-25.2.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\support-fragment-25.2.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\support-media-compat-25.2.0\res" -S "C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\support-v4-25.2.0\res"
stderr[
C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\mobile\res\layout\ratingdialog.xml:7: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\mobile\res\layout\ratingdialog.xml:7: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\mobile\res\layout\ratingdialog.xml: note: using v17 attributes; synthesizing resource com.Robot.S:layout/ratingdialog for configuration v17.
C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-base-11.6.0\res\values\values.xml:33: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format.
C:\Users\Robot\Desktop\UnityProjects\S(Test)\Temp\StagingArea\android-libraries\play-services-basement-9.0.0\res\values\values.xml:3: Original attribute defined here.
]
我尝试在类似主题中指定了许多提示,但似乎我在项目中的插件之间存在冲突,所以我想知道来自这个冲突中的专业人员是怪还是我只是用错了版本的工具