Android account settings crashes
<p>I've created a custom account and a sync adapter for my application (PSM) and everything is OK
The problem comes when I added a custom preferences to my account</p>

<p>This is my an image of my account
<img src="http://i73.servimg.com/u/f73/11/33/95/63/device13.png" alt="pit"> </p>

<p>This is my account with custom settings category
<img src="http://i73.servimg.com/u/f73/11/33/95/63/device11.png" alt="tyt"></p>

<p>When I click this account settings (Settings crashes ), and I can't get stack trace or anything</p>

<p>Images on these links, reputation thing 
<img src="http://i73.servimg.com/u/f73/11/33/95/63/device12.png" alt="wef3"></p>

<p>here is my code snippet for preference.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;PreferenceScreen
  xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;PreferenceCategory
            android:title="General Settings" &gt;
        &lt;PreferenceScreen
            android:key="account_settings"
            android:title="@string/pref_account_settings_title"
            android:summary="@string/pref_account_settings_summary"&gt;
            &lt;intent 
                android:action="android.intent.action.VIEW"
                android:targetPackage="com.example.activities"
                android:targetClass="com.example.activities.OldPSMPreferences" /&gt;
        &lt;/PreferenceScreen&gt;
    &lt;/PreferenceCategory&gt;
&lt;/PreferenceScreen&gt;
</code></pre>

<p>Here is a snippet for AndroidManifest.xml</p>

<pre><code> &lt;activity android:name="com.example.activities.OldPSMPreferences"&gt;
        &lt;intent-filter&gt;
                &lt;action android:name="android.intent.action.VIEW" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
</code></pre>

<p>The authenticator.xml snippet</p>

<pre><code>&lt;account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
    android:accountType="com.certifix.psm.account"
    android:icon="@drawable/ic_launcher"
    android:smallIcon="@drawable/ic_launcher"
    android:label="@string/ACCOUNT_NAME"
    android:accountPreferences="@xml/preference"/&gt;
</code></pre>

<p>Thanks in advance :)</p>
