The error message seems to say there's a problem in an XML file, right? I
would look at line 2 in new_profile.xml.
Am Donnerstag, 10. Mai 2012 13:35:07 UTC+2 schrieb Mentos:
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en