Bug 1498 : version 5 of Google APIs is *required* (not "at least")
Last modified: 2010-03-31 06:38




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
TomC
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-03-02 14:10
android.processing.org says "at least" but my experience with Processing
0177 indicates that version 5 is required. The android tools give you the
option to list available APIs, maybe that call could be used to derive the
available versions of the Google Tools and use the latest one where possible?

Or you could just update the doc to state that 5 is required :)
Additional Comment #1 From TomC 2010-03-02 14:15
Here's the error I got when I only had version 7 installed:

The following Android Virtual Devices could not be loaded:
Name: Processing-Eclair
Path: /Users/tom/.android/avd/Processing-Eclair.avd
Error: Unknown target 'Google Inc.:Google APIs:5' in
/Users/tom/.android/avd/Processing-Eclair.ini

Here's the output of "android list target" now that I have v5 installed too:

tom% android list target
Available Android targets:
id: 1 or "android-5"
Name: Android 2.0
Type: Platform
API level: 5
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 2 or "android-7"
Name: Android 2.1
Type: Platform
API level: 7
Revision: 1
Skins: HVGA (default), QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
id: 3 or "Google Inc.:Google APIs:5"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.0 (API level 5)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
id: 4 or "Google Inc.:Google APIs:7"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.1 (API level 7)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
Additional Comment #2 From fry 2010-03-04 05:19
ah, i've just removed the "at least" statement to avoid confusion.
Additional Comment #3 From p brouwer 2010-03-30 08:57
checked 0182 from windows vista

removed API5 packages from my Android SDK, and got this error from run in android
mode:

BUILD FAILED
C:\Users\Peter\AppData\Local\Temp\android1199037519905186635.pde\build.xml:1
6: Unable to resolve target 'Google Inc.:Google APIs:5'

I'm reinstalling *API5* packages to resume testing for other compile issues I
reported to email list
Additional Comment #4 From fry 2010-03-30 12:56
have you installed API v6? that's the current requirement.
Additional Comment #5 From p brouwer 2010-03-30 13:53
re: have you installed API v6? that's the current requirement.

Yes I have api v6 -- the full list of packages is like this:

Android SDK Tools, revision 5
SDK Platform Android 2.0.1 API6, revision 1
Google APIs by Google Inc., Android API6 revision 1
SDK Platform Android 2.0 API5, revision 1 (Obsolete)
Google APIs by Google Inc., Android API5 revision 1 (Obsolete)
Usb Driver Package, revision 3

If I remove the two API5 packages, I get the "build failed" status...

FYI -- I just happen to be working on a near fresh Windows Vista install, with the OS
on C:, and both processing 0182 and the android sdk for windows in "D:\" JDK was
installed with the JDK windows installer, which puts it in "c:\program files".



(In reply to comment #4)
>
>
>
> Additional Comment #4 From
>
> fry
> 2010-03-30 12:56
>
> <!--
> addReplyLink(4); //-->[reply]
>
>
>
>
>
>
> have you installed API v6? that's the current requirement.
>
>

Additional Comment #6 From fry 2010-03-31 03:21
k, found it and filed bug #1526 to deal with issue. (please use that for
follow-up)

the short term solution is that you just need to delete the
Processing-Eclair AVD manually.
Additional Comment #7 From fry 2010-03-31 06:38
scratch that, it was yet another new bug, and it's now fixed for 0183.