Unity – Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details

「Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.」
最近公司剛換電腦,所有東西都重新來過,在設定 unity 環境後開始嘗試 build APK 遭遇到的問題!!

這串關鍵字(本文標題)似乎還蠻熱門的,因為有確實解決,所以留給可能會遇到的人們.

環境:Win 10 + Unity 5.2.4f1

解法:移除該死的「Android SDK Build-tools (Rev.24)」,改用23.0.3之類的版本即可!!

android_build_tools_24

雖然 24.0.0 是預設被安裝的版本,但它可能有問題 or Unity 還沒支援吧…

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s