Just an update: to simplify things further I replaced the layout file with
a default layout file ("foo.xml") that you get when you have Eclipse
generate a new layout file for you:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
</LinearLayout>
And I've replaced my java file with a beginner's "hello android" java file
. . .
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
public class HelloActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
try {
setContentView(R.layout.foo);
}
catch (Exception e) {
Log.d("HelloActivity", "setContentView crash");
}
}
}
And I STILL get a *Resources NotFoundException* in the setContentView()*
*How do I debug this? Thanks, again, in advance.*
*
--
--
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
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.