我用libGDX和Android Studio製作了一個漂亮的小飛揚鳥克隆。我想把我的ic_launcher.png改成其他默認的android機器人圖標很簡單的東西。我錯了!看起來改變那個文件的內容是最難的事情。現在,當我嘗試運行我的項目時,我收到以下錯誤消息:更改我的ic_launcher.png銷燬Android Studio項目
Information:Gradle tasks [clean, :android:generateDebugSources, :android:generateDebugAndroidTestSources]
:android:clean
:core:clean UP-TO-DATE
:desktop:clean UP-TO-DATE
:html:clean UP-TO-DATE
:ios:clean UP-TO-DATE
:android:preBuild UP-TO-DATE
:android:preDebugBuild UP-TO-DATE
:android:checkDebugManifest
:android:prepareDebugDependencies
:android:compileDebugAidl
:android:compileDebugRenderscript
:android:generateDebugBuildConfig
:android:generateDebugAssets UP-TO-DATE
:android:mergeDebugAssets
:android:generateDebugResValues UP-TO-DATE
:android:generateDebugResources
:android:mergeDebugResources
:android:processDebugManifest
:android:processDebugResources
C:\Users\plankton\Desktop\ThePlaneThatCouldntFly\flappyplankton\android\build\intermediates\manifests\full\debug\AndroidManifest.xml
Error:(13, 23) No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher.png').
Error:Execution failed for task ':android:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\plankton\AppData\Local\Android\android-sdk\build-tools\20.0.0\aapt.exe'' finished with non-zero exit value 1
Information:BUILD FAILED
Information:Total time: 7.13 secs
Information:2 errors
Information:0 warnings
Information:See complete output in console
似乎無法解決此問題?爲什麼人們在最簡單的事情打破它的地方寫出毫無價值的IDE? Geez我以爲我所要做的就是將我酷炫的圖標複製到蹩腳的默認圖標上,我會在晚上完成,可以去睡覺但不是! Android Studio必須是一堆垃圾。
怎麼了反對票?我沒有寫Anduhroid Studio。 –