In my release apk I have very strange problem. In debug all works
fine.
proguard.cfg is normal from examples.

Any sugestion ?

Unable to start activity ComponentInfo{myclass}:
android.view.InflateException: Binary XML file line #2: Error
inflating class PreferenceScreen



public class MyClas extends PreferenceActivity implements
SharedPreferences.OnSharedPreferenceChangeListener {

 @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);

        addPreferencesFromResource(R.xml.new_profile);

        setContentView(R.layout.new_profile); //HERE IS PROBLEM

        }
....

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to