我試圖通過Google的Android教程嘗試一直是一個真正的噩夢。ADT包Android教程:錯誤:找不到與給定名稱相匹配的資源('提示'值'@ string/edit_message')
我使用Google網站上的Eclipse Android Bundle。在下面的教程中,我不得不創建一個名爲fragment_main.xml的文件,因爲它從項目中缺失。我發現這個錯誤「錯誤:錯誤:找不到匹配給定名稱的資源(在'提示'處,值爲 '@串/ edit_message')「。
此頁面顯示的代碼: http://developer.android.com/training/basics/firstapp/building-ui.html
這個頁面顯示,我使用的包: http://developer.android.com/sdk/index.html
首先,不要使用Eclipse for Android,請下載Android Studio,因爲Google已經宣佈Android Studio是用於編寫Android應用程序的受支持工具,此外,Android Studio比Eclipse好100倍。其次,你不應該直接進入培訓教程部分,你應該首先熟悉不同的概念(很明顯,你在這裏找不到String資源的問題),點擊[here](http: //developer.android.com/guide/index.html)。如果你想修復這個錯誤,打開res目錄中的值文件夾... – Biu 2014-12-04 22:30:14
...然後打開「strings.xml」文件,將其添加到該文件中<編輯消息 。應該解決你的問題。你可以關閉Android Studio IDE [這裏](https://developer.android.com/sdk/installing/studio.html) – Biu 2014-12-04 22:31:33