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. How to let OpenCore can make files under AVI parser node folder

-----  ----
 RockNCode <alexgarci...@gmail.com>
 Android Developers <android-developers@googlegroups.com>
2010/7/18 ( 3:29:10 PM
€€ [android-developers] Re: How to let OpenCore can make files under AVI 
parser node folder

Hi

I think you just need to add the paths to your makefiles under
opencore_dynamic and also to your aviparser node to external/opencore/
Android.mk and rebuild.

- Alex




-- 

2. OOT WTA: Siapa aja yah yang masih pake BB di sini?

Woooiiii, udah senin nih, masih lanjut nih?
Kalo lanjut pake tag OOT lah. :D

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

3. OOT : Paging SA (urgent).

4. SQL and SQLite

5. Howto pass pointer to char parameter to kernel via copy_to_user()

6. Issue with starting two instances of an activity with flag Intent.FLAG_ACTIVITY_REORDER_TO_FRONT and a new extra information in the Intent does not override the original Int

7. (WTA) root di hero 2.1 OTA