Hi. I am in Chapter 9. Everything was working fine up to page 177 when we are asked to run the blank “CrimeListActivity”. When I run it, the app crashes. I ran it in debug mode and got the subject error with the following detail:
detailMessage “can’t instantiate class com.bignerdranch.android.criminalintent.CrimeListActivity” (id=830051271768)
The activity thread says “Source not found” and gives me a button to “Edit Source Lookup Path…”.
I have had no problems with Eclipse finding any source files in the past. I have checked and I do find “CrimeListActivity.class” in directory:
I also find “CrimeListActivity.java” in directory:
The code in my manifest is:
<activity android:name="com.bignerdranch.android.criminalintent.CrimeListActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>
I have tried both the fully qualified line above and just “.CrimeListActivity” and neither one works. Can someone help me resolve this issue?