I believe eclipse had a case of the crashes and something weird happened. I restarted the project and have done everything I can think of from scratch.
The code and config files look perfect.
++I have updated the project via command line. (./android update project --name GPSTest --target 4 --path "/home/me/workspace/GPSTest"
)
++I then go to the root of the project and use ant debug
and I get this error:
-build-setup:
[echo] Resolving Build Target for GPSTest...
[gettarget] Project Target: Google APIs
[gettarget] Vendor: Google Inc.
[gettarget] Platform Version: 4.2
[gettarget] API level: 17
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for GPSTest...
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[echo] ----------
[echo] Building Libraries with 'debug'...
BUILD FAILED
/home/me/android-sdks/tools/ant/build.xml:595:
Invalid file: /home/me/android-sdks/extras/google/google_play_services/libproject
/google-play-services_lib/build.xml
I have no idea how this happened
Running
android update project --path .
on the google_play_services directory fixed this exact problem for me.
Try running android update project on the play services lib.
Beyond that, I would delete google_play_services and get a fresh copy from the Android SDK manager.
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