Android eğiticiyi takip etmeye çalışıyorum: http://developer.android.com/training/basics/firstapp/building-ui.html Ama bir düğme eklemek istediğiniz yere ulaştığımda Android Studio'm buna devam ediyor hatalar:HATA: "Sembol çözülemiyor" @ string/edit_message '"Android Studio
Cannot resolve symbol '@string/edit_message'
Cannot resolve symbol '@string/button_send'
XML Kodu:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<EditText android:id="@+id/edit_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/edit_message" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send" />
</LinearLayout>
yanlış burada ne yapıyorum? Diğer stackoverflow soruları üzerinde doğru çözümü bulamıyorum ve eminim google'dan android eğiticisinde doğru kodu kullandım.
aptalca soru: Eğer string.xml dosyasına bu dizeleri eklediniz? – Blackbelt
http://developer.android.com/training/basics/firstapp/building-ui.html#Strings –
Bazı nedenlerden ötürü bu bölümü, strings.xml dosyasına eklemeden önce yapıyorsunuz. aynı şey üzerinde asılı – Jel