hi ive started an app and wanted to test it so i use an avd and when the app starts it crashes and i was hoping somebody could help
this is my java class
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    MemoryInfo mi = new MemoryInfo();
    ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
    activityManager.getMemoryInfo(mi);
    long availableMegs = mi.availMem / 1048576L;
    TextView manufacturerTextView = (TextView)findViewById(R.id.mem);
    manufacturerTextView.setText((int) mi.availMem);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.activity_main, menu);
    return true;
}
}
LOGCAT
02-06 07:10:05.202: E/AndroidRuntime(771): FATAL EXCEPTION: main 02-06 07:10:05.202: E/AndroidRuntime(771): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test/com.example.test.MainActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x18184000 02-06 07:10:05.202: E/AndroidRuntime(771): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180) 02-06 07:10:05.202: E/AndroidRuntime(771): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 02-06 07:10:05.202: E/AndroidRuntime(771): at android.app.ActivityThread.access$600(ActivityThread.java:141) 02-06 07:10:05.202: E/AndroidRuntime(771): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
 
     
    