#command with aapt
$ aapt package -m -J src -M AndroidManifest.xml -S res
res/layout/notepad_list.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android'
res/layout/notepad_list.xml:2: ERROR No resource identifier found for attribute 'layout_height' in package 'android'
res/layout/notepad_list.xml:5: ERROR No resource identifier found for attribute 'id' in package 'android'
res/layout/notepad_list.xml:5: ERROR No resource identifier found for attribute 'layout_width' in package 'android'
res/layout/notepad_list.xml:5: ERROR No resource identifier found for attribute 'layout_height' in package 'android'
res/layout/notepad_list.xml:8: ERROR No resource identifier found for attribute 'id' in package 'android'
res/layout/notepad_list.xml:8: ERROR No resource identifier found for attribute 'layout_width' in package 'android'
res/layout/notepad_list.xml:8: ERROR No resource identifier found for attribute 'layout_height' in package 'android'
res/layout/notepad_list.xml:8: ERROR No resource identifier found for attribute 'text' in package 'android'
res/layout/notepad_list.xml:5: ERROR Error: No resource found that matches the given name (at 'id' with value '@android:id/list').
res/layout/notepad_list.xml:8: ERROR Error: No resource found that matches the given name (at 'id' with value '@android:id/empty').
res/layout/notes_row.xml:2: ERROR No resource identifier found for attribute 'id' in package 'android'
res/layout/notes_row.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android'
res/layout/notes_row.xml:2: ERROR No resource identifier found for attribute 'layout_height' in package 'android'
AndroidManifest.xml:3: ERROR No resource identifier found for attribute 'icon' in package 'android'
AndroidManifest.xml:4: ERROR No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:4: ERROR No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:6: ERROR No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:7: ERROR No resource identifier found for attribute 'name' in package 'android'
#android manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.demo.notepad1">
<application android:icon="@drawable/icon">
<activity android:name=".Notepadv1" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
#notepad_list.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ListView android:id="@android:id/list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/no_notes"/>
</LinearLayout>