????1.Test run failed??Instrumentation run failed due to 'java.lang.ClassNotFoundException'

????????????????????????????????????????????????????????????????????????????????????????′μ???????????????????????????????????????????ü????????????????????????????????????????????

???????????????androidmanifest.xml?????<activity>  ****   </activity>??????????

<??-- ??????????? -->
<uses-library android??name="android.test.runner" />

   ?????????junit4??

????2. Caused by?? java.lang.ClassNotFoundException?? android.test.InstrumentationTestRunner in loader dalvik.system.PathClassLoader[/data/app/tyrj.lr.sqliteapply-1.apk??

?????????????androidmanifest.xml?????</application>?????????

<instrumentation
android??name="android.test.InstrumentationTestRunner"
android??targetPackage="tyrj.lr.sqliteapply" >

?????????????ú??xml??????????Package???????

????</instrumentation>

????3.android.content.res.Resources$NotFoundException?? String resource ID

?????????sqlite???????????????????????????????????????У??????????cursor?α???Int ????????????????????????????????????α??????????

?????????У? int id = cursor.getColumnIndex("id")??

????int age = cursor.getColumnIndex("age")??

?????????

int id = cursor.getInt(cursor.getColumnIndex("id"))??
int age = cursor.getInt(cursor.getColumnIndex("age"))??

???????????????????????Щ????????????????????????????????????С????????????????????????????????????????????????????????