Help!!! Unknown Error - java.lang.NullPointerException :: Android Packaging Problem

by Chris » Thu, 21 Oct 2010 06:34:25 GMT


Sponsored Links
 I'm getting this crazy error on multiple projects, even when I revert
back to prior versions that compiled just fine.

Unknown Error - java.lang.NullPointerException Android Packaging
Problem
Path is blank
Location is Unknown.

I've tried:

1 - Project -> Clean -> All
2 - Deleting .metadata folder
3 - reimporting projects into the eclipse
4 - reverting my projects back to prior working versions using git

Please please please help... I just can't get anything to compile now,
and I've searched for solutions here and on eclipse forums.

--



Help!!! Unknown Error - java.lang.NullPointerException :: Android Packaging Problem

by Bret Foreman » Thu, 21 Oct 2010 06:52:30 GMT


 This sounds more like a problem with your dev system than with your
code. Try re-installing Eclipse and the SDK. Export all your Eclipse
preferences first, of course (File->Export->General->Preferences).

--


Sponsored Links


Help!!! Unknown Error - java.lang.NullPointerException :: Android Packaging Problem

by Chris » Fri, 22 Oct 2010 00:05:32 GMT


 Finally figured it out.

==Short version

My .project file was corrupted and I needed to manually update linked
library locations.  Since the .project file was pointing to the wrong
place, a null pointer exception was thrown.

==Long Version

For some reason, the GUI and project settings were disconnected form
one another.  When I went into project settings, my libraries looked
to be correctly linked and properly found in the build path.

However, when going into the .project file using a text editor, there
were straggler linked libraries.  (ie multiple versions of the same
library, pointing to two different locations)

Most likely user error on my part, but something to keep in mind if
you get the "unknown packaging error".

Thanks for the suggestion Bret... I did reinstall everything, but the
problem persisted, as per the fix above.

--



Other Threads

1. share the tree view implementation on android

hi,all, Here's a good sample for the tree view implementation on android:

http://isomobile.com/read.php?tid-49.html

Hope this will be helpful for some special requirements:)


BR

andy zhao

-- 

2. Ngantri Gila demi Meizu M9 ber-Android 2.2

RR,
Inilah antrian gila ini bukan untuk membeli iPhone, tapi Meizu M9 yang sudah
ber-Android 2.2 , pengganti Meizu M8 yang dituduh sebagai Apple sebagai
tiruan iPhone. Pertanyaannya, apakah Meizu M9 akan hadir di Indonesia ya?

Ini link-nya:
http://gizmodo.com/5722598/somebody-tell-me-what-all-these-people-are-in-line-for

-- 
===============
"

3. Ada yg bisa ngajarin Cook ROM (htc desire) ???

4. Paging Suhu Arya Mada

5. Gingerbread for SGS

6. WTHELP : PLEASE HELP.....

7. howto fix tty access to enable job control?