android.bat -> NullPointerException for making AVD file !

by notox » Wed, 29 Apr 2009 15:04:53 GMT


Sponsored Links
 Hello,

I used to be able to properly make AVD files using android.bat file

Now, I don't really know what I've changed, but I always get this :

D:\android-sdk-windows-1.5_r1\tools>android.bat create avd -t 3 -n
myAVD
Exception in thread "main" java.lang.NullPointerException
        at java.util.Collections$UnmodifiableMap.<init>(Unknown
Source)
        at java.util.Collections.unmodifiableMap(Unknown Source)
        at com.android.sdklib.avd.AvdManager$AvdInfo.<init>
(AvdManager.java:196)

Any ideas ?

Thanks a lot for your help !

PS : I've done some reboots + I reinstalled many times the SDK -> same
results...

--~--~---------~--~----~------------~-------~--~----~



android.bat -> NullPointerException for making AVD file !

by mattandroid...@googlemail.com » Thu, 30 Apr 2009 02:07:36 GMT


 Hello,

I have just upgraded the sdk to the 1.5_r1 version and I got exactly
the same problem.

I haven't created ADVs before, so I'm not sure if the Problem relates
to the upgrade.

Any suggestions?

Thanks a lot for your help!




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


android.bat -> NullPointerException for making AVD file !

by peter.kullm...@googlemail.com » Thu, 30 Apr 2009 02:07:38 GMT


 I had the same problem.
I was able to solve it by deleteing the .Android file in my Users
folder, which was there from the previous SDK installation.
Note, that deleting this file will delete your previous SDK settings.

Peter

--~--~---------~--~----~------------~-------~--~----~



android.bat -> NullPointerException for making AVD file !

by mattandroid...@googlemail.com » Thu, 30 Apr 2009 02:07:39 GMT


 Hello,

I have just upgraded the SDK to the version 1.5_r1 and I got excatly
the same Problem.

I haven't created ADVs before, so I'm not sure if the problem relates
to the upgrade.

Any suggestions?

Thanks a lot for your help!!





--~--~---------~--~----~------------~-------~--~----~



android.bat -> NullPointerException for making AVD file !

by notox » Thu, 30 Apr 2009 06:36:02 GMT


 Thanks you so much Peter, you solution worked for me also !

On 29 avr, 20:52, Matt AndroidFun <mattandroid...@googlemail.com>


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. info on ways to monetize free android apps

Hi everyone,
sadly i can't sell apps to the android market..(yet)
till then..
how can i make money from free apps?can you share info on ad-
supported
model?
is the use of landing page/links to websites allowed?
Thank you


--~--~---------~--~----~------------~-------~--~----~

2. Seeking for approved developers in Sweden and England

Hi!

Are you an approved developer and have submitted at least one
application to Android Market, living in Sweden or England? Then this
is something for you!

The Technical University of Lule, Sweden, together with the
University of Manchester, UK, is about start a study on Android
developer experience.
They are looking for Android developers that would share their
experience of developing but also publishing their application(s).
The research process includes face-to-face and online sessions.

The Swedish face-to-face interview will take place, in Stockholm,
already next week (w.18) and the English will be in London in
approximatly three weeks. You will of course be compensated with a
gift and get the travel fees paid.

If you think you can participate in one of the session, that would
take a maximum of 2 hours of your time, please contact us at:
mel...@prontocommunication.se

Best regards
Melina, Pronto Communication

--~--~---------~--~----~------------~-------~--~----~

3. Surfaceflinger not clearing application controls with video overlay ( hardware )

4. How can I add birthday date to a contact?

5. joining into chat

6. FingerPaint demo and erase functionality

7. not able to see the link