问题
The Rev 9 add-ons site URL in SDK Manager
is no longer valid.
The only way out (that I found so far) is to accept the forced upgrade to Rev 15 SDK Tools.
But, for various reasons, I do not wish to upgrade to Rev 15 SDK.
I want to stay with Rev 9 (for now).
Is there a way to download Rev 9 only add-ons? A URL to add or replace the existing one?
Specifically, I am interested in downloading In-app Billing Sample Application into %ANDROID_HOME%\extras\google\market_billing\
.
How do I do this?
For reference, thanks to the comments and answer below, I discovered that the entire list of source.properties
files under %ANDROID_HOME%
in my current system is:
add-ons\addon_google_apis_google_inc_8\source.properties
docs\source.properties
google-market_licensing\source.properties
google-usb_driver\source.properties
platform-tools\source.properties
platforms\android-3\source.properties
platforms\android-4\source.properties
platforms\android-7\source.properties
platforms\android-8\source.properties
platforms\android-9\source.properties
platforms\android-Honeycomb\source.properties
samples\android-7\source.properties
samples\android-8\source.properties
samples\android-9\source.properties
samples\android-Honeycomb\source.properties
tools\source.properties
回答1:
I have Android SDK Rev 15 installed. If I look in android-sdk\add-ons\addon-google_apis-google_inc_-9\source.properties, this is the add-ons XML URL for Rev 9: https://dl-ssl.google.com/android/repository/addon.xml
Based on the XML data, the Market Billing zip is here: https://dl-ssl.google.com/android/repository/market_billing_r01.zip
EDIT: Here are the contents of the source.properties file:
### Android Tool: Source of this archive.
#Mon Dec 12 00:00:15 EST 2011
Pkg.Desc=Android + Google APIs, API 9, revision 2
Pkg.License=REMOVED_TO_SAVE_SPACE
Addon.Name=Google APIs
Archive.Arch=ANY
Pkg.DescUrl=http\://developer.android.com/
Archive.Os=ANY
Pkg.SourceUrl=https\://dl-ssl.google.com/android/repository/addon.xml
Pkg.Revision=2
Pkg.Obsolete=
Addon.Vendor=Google Inc.
AndroidVersion.ApiLevel=9
来源:https://stackoverflow.com/questions/8696820/how-do-i-download-rev-9-third-party-add-ons