Skip to content Skip to sidebar Skip to footer

Activitynotfound Exception Thrown For Preferenceactivity Listed In Androidmanifest.xml

I'm trying to add a Preference screen to my app. Preferences.java: public class Preferences extends PreferenceActivity { @Override protected void onCreate(Bundle savedIns

Solution 1:

I think the answer may be in your xml

<acitivityandroid:name="steamanywhere.com.Preferences" ></acitivity>

You've spelt activity wrong.

<activityandroid:name="steamanywhere.com.Preferences" ></activity>

Also, why do you not just say?

<activityandroid:name=".Preferences" ></activity>

Post a Comment for "Activitynotfound Exception Thrown For Preferenceactivity Listed In Androidmanifest.xml"