I am facing a very annoying problem. I wanted to use sliding menu in my project, after long and frustrating search i come to know that i have to update my eclipse + ADT to new one to import that library properly, and i got demo app running fine.
now i want to integrate it in my project, so i import my project in same workspace and i received following error after just importing it.
Errors occurred during the build.
Errors running builder 'Android Pre Compiler' on project 'MyProject'.
java.lang.NullPointerException
I been through many sites plus some questions like this or this but found nothing concrete. Also i tried different cases that are possible, but they are of no use.
so i am in middle of strange situation, that library cannot be import on old eclipse(Galileo + ADT v15) , and project can not be import on new eclipse(ADT Bundle eclipse + ADT v21).
somebody please help me on this.
I think we suffered from the bug Giorgos Kylafas mentioned. Luckily Google released an update for the ADT on their Preview Channel as none of the other mentioned solutions helped me.
To Install the updates follow the instructions given in Comment #20 from tnorbye: http://code.google.com/p/android/issues/detail?id=42051#c20
This solved the Problem for me. Here s the DirectLink to the Preview Channel: http://tools.android.com/preview-channel
I believe you experience bug http://code.google.com/p/android/issues/detail?id=42051
Do you have any files with no extension in their name, e.g. README
?
Try adding an extension to the files, e.g. README
-> README.txt
.
Do you use Subversion? Try installing packages:
The problem also occurs when you have a referred a library project and you "Close" that project .
So you may try reopening any closed project in the workspace to which you might have referred .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With