I'm attempting to add action bar action buttons to my action bar in my android app. Every time I add an action button to res/menu/(some xml file) I keep getting the error aapt:Return code 138. So even though eclipse says the error isn't because of my code, it must be because of my code. As whenever I add an action button to the xml files I created in the "menu" directory, the error pops up. According to this it has to do with not declaring my string in res/values/strings.xml. But even when I do declare my strings there, the error still pops up! This is simply infuriating. I'm going to include my menu and strings xml files below, in case their's something wrong their. If you need more information or have another question, feel free to ask.
strings.xml file
<resources>
<string name="app_name">Beacon Portal</string>
<string name="action_settings">Settings</string>
<string name = "edit_item">Action Bar Icon Edit</string>
<string name="hello_world">Hello world!</string>
<string name="Fragment1">This is where the schedule goes when I get around to making that because it seems like some people want that</string>
<string name="FragmentTab1">This is ViewPager Fragment Tab 1</string>
<string name="FragmentTab2">This is ViewPager Fragment Tab 2</string>
<string name="drawer_open">Open navigation drawer</string>
<string name="drawer_close">Close navigation drawer</string>
<!-- Nav Drawer Menu Items -->
<string-array name="nav_drawer_items">
<item >Schedule</item>
<item >Homework Due</item>
<item >Logout</item>
</string-array>
<!-- Nav Drawer List Item Icons -->
<!-- Keep them in order as the titles are in -->
<array name="nav_drawer_icons">
<item>@drawable/ic_action_go_to_today</item>
<item>@drawable/ic_action_duehomework</item>
<item>@drawable/ic_action_logout</item>
</array>
<!-- Content Description -->
<string name="desc_list_item_icon">Item Icon</string>
<!-- general stuff -->
<string name="userid_label">OpenMinds</string>
<!-- titles -->
<string name="title_activity_actionview">ActionView</string>
<string name="title_activity_about">About</string>
<!-- ActionBar -->
<string name="edit">Edit Schedule</string>
<string name="apply">Apply Edits</string>
</resources>
menu_fragment_apply.xml (in res/menu/ )
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/actionViewApply"
android:icon="@drawable/ic_action_agree"
app:showAsAction="ifRoom"
android:title="@string/apply"/>
</menu>