Note that there are some explanatory texts on larger screens.

plurals
  1. POphonegap 3.0 wants android 17, but I want android 18
    text
    copied!<p>While experienced with phonegap and xcode, I'm new to android. I have installed phonegap 3.0 ...</p> <pre><code>npm install phonegap phonegap --version 3.0.0-0.14.3 </code></pre> <p>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 ..</p> <pre><code>phonegap local build android </code></pre> <p>I get ...</p> <pre><code>[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. </code></pre> <p>I see similar questions still unanswered ... <a href="https://stackoverflow.com/questions/18686368/phonegap-3-0-cli-issue-android-target-number-in-build-app">Phonegap 3.0 CLI issue android target number in build app</a></p> <p>When I do install android-17 it works fine, which is cool, but I need to use android-18 so I can use BLE.</p> <p>I see that Fil Maj apparently fixed this issue on Jul 31 ... <a href="https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commitdiff;h=c2c5f710" rel="nofollow noreferrer">https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commitdiff;h=c2c5f710</a></p> <p>.. 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.</p> <p>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).</p> <p>Can anyone please suggest either ...</p> <p>1) how to download a version of phonegap/cordova with the problem fixed, or</p> <p>2) how to tell phonegap/cordova which version of android I'd like to target</p> <p>Thanks so much ...</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload