-2
剛下載的Android Studio。逐字跟進this教程。嘗試「構建」時,請繼續運行以下錯誤,並且我不知道如何克服它。Android Studio Gradle構建錯誤:字符串類型不允許(在'activity_horizontal_margin'值'')
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources]
C:\Users\SV\AndroidStudioProjects\ToDoApp\app\build\intermediates\res\merged\debug\values\values.xml
Error:(872, 69) String types not allowed (at 'activity_horizontal_margin' with value '').
Error:(872, 69) String types not allowed (at 'activity_horizontal_margin' with value '').
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
Information:BUILD FAILED
Information:Total time: 1.429 secs
Information:3 errors
Information:0 warnings
Information:See complete output in console
您遺漏了'值'捫名=「activity_horizontal_margin」>'在你'RES /價值/'文件夾中的文件之一。 –