Dear all,

First time posting here, and I write in severe desperation! :-)

I'm using Eclipse. Today I made an error when adding a class to my
project. Instead of creating a file called ClassName.java I created it
as ClassName. So I deleted it, created ClassName.java and wrote the
code. When I launched the app on my phone it crashed immediately.

This is a huge project that has been in development for 4 months,
mostly 16-hour days. Now for some reason it is crashing in the
onCreate routine of my Activity class.

These lines work:

super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);

This line crashes:

g.assetManager=this.getAssets();

("g" is a class used for global variables. "assetManager" is defined
as public static AssetManager assetManager)

Another project, which launches in the same way, still works
perfectly.

I can only assume that something, somewhere, has become corrupted.
When I tell you that I have been trying to fix this problem for the
past 4 hours you can imagine that I have tried all of the obvious
solutions -- restoring from backup, deleting Eclipse project files,
reinstalling the Android SDK, etc. I have even re-created my project
with a different package name. Nothing has worked.

Does anybody have any idea what may have happened, and how to fix it?

Please help!

-- 
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

Reply via email to