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. Salam dari member baru

Halo,

Salam kenal, saya Bagus Utomo, baru join milis hari ini.

Baru punya android sekitar 2 minggu, android-nya bukan berupa handphone tapi
MID.
Tepatnya Archos 5 Internet Media Tablet, alasan beli sudah jelas karena
android dan dipakai untuk menunjang kerjaan.

Hari pertama beli sudah di-upgrade ke Donut (v1.7.77), dan sudah instal
Market.
*firmware-nya dah download duluan sebelum beli :D*


-- 
for greater good...

-- 
"Indonesian Android Community [id-android]" 

2. how to market your android app

i am just wondering, what is the best way to market your android app?

so far, the methods i have noticed are:
1) go to forums and answer questions and then plug your app
2) write some technical articles/blogs and post them and then plug
your product
3) have a cool website and plug your product
4) posting the product on android market for free, and start charging
for enhancements once you have a large enough following

did i miss anything?

-- 

3. Apple vs HTC !

4. What is the main differences between android sdk 1.5 and android sdk 2.0

5. Pada dimana yah?

6. List adapter: failing to recycle views = lots of memory allocated?

7. IllegalArgumentException occurs when passing url to post data ... plz help