While experienced with phonegap and xcode, I'm new to android. I have installed phonegap 3.0 ...
npm install phonegap
phonegap --version
3.0.0-0.14.3
I've installed adt-bundle-mac-x86_64-20130729. The command line tools (eg: android) seem to work fine. When I try to add android as a platform ..
phonegap local build android
I get ...
[error] Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.
I see similar questions still unanswered ... Phonegap 3.0 CLI issue android target number in build app
When I do install android-17 it works fine, which is cool, but I need to use android-18 so I can use BLE.
I see that Fil Maj apparently fixed this issue on Jul 31 ... https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commitdiff;h=c2c5f710
.. but I don't appear to have that fix in the version of phonegap I downloaded. I thought perhaps it was only in cordova, so I installed that too, but ran into the same issue.
I tried hacking the four js files in the npm directories that contain the check directly, but that didn't take (ie: the error persisted).
Can anyone please suggest either ...
1) how to download a version of phonegap/cordova with the problem fixed, or
2) how to tell phonegap/cordova which version of android I'd like to target
Thanks so much ...