Unable to start activity???

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Unable to start activity???

Postby nk » Tue Mar 04, 2008 1:26 pm

Hi

i am stuck on a problem since yesterday and i really need your help:

I updated to the m5 rc-14 sdk version and the eclipse plugin. After having
some troubles with eclipse not recognizing that theres a new sdk i finally
updated all parts of my code where the api has changed.

I also updated the androidmanifest.xml. But when i start to run my application
i always get:

Application Error: (Classname) An error has occurred in (classname) / (packagename.classname):
java.lang.NullpointerException.


I already wiped the emulator-data with emulator -wipe-data and deleted the userdata.img / userdata-qemu.img


Does anybody know how do get rid of this problem? I am stuck since one day - would be great if you have a hint how to solve this.

Thanks!

nk
nk
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jan 29, 2008 3:23 pm

Top

Postby plusminus » Tue Mar 04, 2008 6:11 pm

Hello nk,

did you also adapt the Layout ?

"...id=" :arrow: "...android:id="

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby nk » Wed Mar 05, 2008 1:20 pm

You got it! Thanks a lot :)

Now i get lots of other errors with the new sdk-version but at least this one ist solved.

Thank you very much for your great job!
nk
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jan 29, 2008 3:23 pm

Postby plusminus » Wed Mar 05, 2008 1:48 pm

Hello nk,

imo the changes were worth all the simplifications.

Regards,
plusminus

btw: Nette Homepage
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby nk » Wed Mar 12, 2008 3:26 pm

It seems like they were worth it. But i cannot understand why google changes the whole UI-Design during the challenge. But hey - i didnt even understand why they extended the deadline by 1.5 months :)

PS: Danke, ebenso :)
nk
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jan 29, 2008 3:23 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Google [Bot] and 5 guests