This is my first time working with the Android framework. I followed the guidelines on the Android page to make a test app. Even after doing exactly how they mention, I get errors like this (for clarity sake, I only mentioned few of them). I really can't figure out how to go from here.
[2013-06-21 08:46:37 - My First App] W/ResourceType( 7940): Bad XML block: header size 122 or total size 8002512 is larger than data size 0
[2013-06-21 08:46:37 - My First App] C:\Users\llp-admin\workspace3\My First App\res\layout\activity_main.xml:7: error: Error: No resource found that matches the given name (at 'hint' with value '@string/edit_message').
This is the activity_main.xml file:
<?xml version="1.0" encoding="utf-8"?>
<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_weight="1"
android:layout_width="0dp"
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>
This is the strings.xml file:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">My First App</string>
<string name="hello_world">Hello world!</string>
<string name ="button_send">Send</string>
<string name = "action_settings">Settings</string>
<string name = "title_activity_main">MainActivity</string>
</resources>