Xavier Ducrohet
954e80e5ca
Make the Ant script sign and zipalign release builds.
...
It will also align debug builds.
BUG: 2052744
2009-08-13 21:13:53 -07:00
Android (Google) Code Review
a2b55f835b
Merge change 21034 into donut
...
* changes:
On project creation, put the app package in build.properties
2009-08-13 11:27:20 -07:00
Xavier Ducrohet
5b13066ef1
On project creation, put the app package in build.properties
...
This enabled 'ant uninstall' to work.
Also, add an error message to the uninstall rules in case the property
is not defined.
BUG: 2050451
2009-08-13 11:18:28 -07:00
Raphael
3d4dec9184
BUG 2040986 : SDK Updater, platform dependency on tools
2009-08-12 18:12:33 -07:00
Xavier Ducrohet
4e7bb1b603
Properly update the new path of the AVD during an 'android avd move'
...
BUG: 2048358
2009-08-11 20:23:10 -07:00
Android (Google) Code Review
093fff996e
Merge change 20808 into donut
...
* changes:
BUG 2039245 : Need to show something in the source if there are no available package
2009-08-11 15:44:37 -07:00
Raphael
8585e68b40
BUG 2039245 : Need to show something in the source if there are no available package
...
Also moves the "Show updates only" checkbox around.
2009-08-11 14:35:15 -07:00
Raphael
609b375a03
BUG 2041701: Release notes content/link in SDK Updater schema
2009-08-11 13:53:16 -07:00
Android (Google) Code Review
ce0155aaea
Merge change 20520 into donut
...
* changes:
Fix IAndroidTarget#isCompatibleBaseFor() for add-ons
2009-08-10 16:58:58 -07:00
Xavier Ducrohet
5c0fcdca73
Fix IAndroidTarget#isCompatibleBaseFor() for add-ons
...
BUG: 2042277
2009-08-10 12:45:10 -07:00
Raphael
1cf0c7fe0e
BUG 2042088 : SDK Updater: we want to keep getenv(TEMP_SDK_URL)
...
Renamed the getenv and added one for user sources.
Added a (naive) check to prevent duplicate URLs.
Also fixed the repositoy.xml download error message, it was not displaying the reason of failure correctly.
2009-08-07 16:36:19 -07:00
Raphael
904ef4d8a4
BUG 2041688 : SDK Updater: better description of extra packages
2009-08-07 14:21:18 -07:00
Android (Google) Code Review
36e0ac795e
Merge change 20389 into donut
...
* changes:
Fix some display string that contained an unused %s and an NPE
2009-08-07 10:30:22 -07:00
Xavier Ducrohet
5ae5e3da1b
Fix some display string that contained an unused %s and an NPE
...
This makes the android app crash when the XML cannot be validated.
2009-08-06 19:29:21 -07:00
Xavier Ducrohet
3a2c7273ee
Fix some minor typo
...
BUG: 2039797
2009-08-06 17:59:52 -07:00
Android (Google) Code Review
097ba88d53
Merge change 20363 into donut
...
* changes:
Make android.bat copy commons-compress to tmp with the other jar files.
2009-08-06 17:13:39 -07:00
Xavier Ducrohet
48b3b5efc2
Make android.bat copy commons-compress to tmp with the other jar files.
...
BUG: 2039759
2009-08-06 17:12:09 -07:00
Raphael
26cdbb788a
SDK Updater: Fix to allow install from directory URL (i.e. auto-guess the
...
repository.xml correctly.)
BUG 2039080
Also removed some misc Eclipse 3.5 warnings.
2009-08-06 12:51:22 -07:00
Raphael
531749469d
SDK Updater: fix main window to resize.
...
BUG 2038860
2009-08-06 11:39:39 -07:00
Xavier Ducrohet
2f6bd734c0
Fix comparison of 2 doc packages that have the same codename/revision.
...
This made the Donut_r1 doc show up as upgrade to the donut_r1 doc.
BUG: 2037448
2009-08-05 19:31:04 -07:00
Xavier Ducrohet
6d673960b0
Fix NPE that prevented any package w/o license to be installed.
...
java.util.Properties#setProperty() doesn't like it when the value is null
which was the case when a package had no license.
Made sure it won't happen on other properties than the license as well.
Also improved error display when an unexpected Throwable is thrown during
install (Stack Call is now display if the Throwable has no message).
BUG:2037085
2009-08-05 17:13:00 -07:00
Xavier Ducrohet
bd13370117
Fix PlatformTarget#compareTo(IAndroidTarget) again.
2009-08-03 13:46:27 -07:00
Xavier Ducrohet
c74ace1ebd
Support packages with no license.
2009-07-30 12:28:17 -07:00
Xavier Ducrohet
9057041cf8
Adds call back to the SDK updater for SDK content notifications.
...
Make ADT reload the SDK when a new package is installed/removed through the
SDK Updater.
2009-07-29 17:36:21 -07:00
Xavier Ducrohet
91e0a8bb9c
Fix minor typo and duplicated entry in sdk.atree
2009-07-28 16:28:09 -07:00
Xavier Ducrohet
c5b9a676e7
Prevent SDK Updater progress dialog from showing off screen.
2009-07-27 15:39:42 -07:00
Xavier Ducrohet
bc8b16505e
Prevent SDK updater dialog from showing offscreen.
2009-07-27 15:26:10 -07:00
Xavier Ducrohet
b59daafde4
Fix the update check for doc packages.
2009-07-24 13:39:04 -07:00
Xavier Ducrohet
e5bfd50ece
Also filter the list of Archives to only show the compatible ones.
2009-07-23 18:02:07 -07:00
Xavier Ducrohet
fbeb74a610
Add a checkbox to only show packages that are updates or new.
2009-07-23 17:07:01 -07:00
Xavier Ducrohet
ecc85daf7b
Fix loading of user repository and add refresh when adding/removing.
2009-07-23 14:43:49 -07:00
Xavier Ducrohet
797654a452
Use Apache Commons Compress instead of java.util.zip
...
When the SDK installer unarchives the zip files, it is important to keep
the permissions for executable (Linux/MacOS) or the tools required to
build applications (aapt, aidl, ...) won't work.
Since java.util.zip does not provide support for permissions, we now
use the Apache Commons Compress component that allows us to read the
permission from the archive.
2009-07-23 12:59:42 -07:00
Xavier Ducrohet
a399a681d5
Add support for add-on based on preview of platforms.
2009-07-22 18:12:30 -07:00
Xavier Ducrohet
6baf93c2c0
Fix erroneous assert.
2009-07-22 14:08:07 -07:00
Xavier Ducrohet
1b9c1e4dd2
Refactored AndroidXPathFactory into sdklib.
2009-07-22 09:42:20 -07:00
Xavier Ducrohet
8c78ba6438
Use the proper URL for the google repository.
...
Also fix an NPE.
2009-07-21 15:25:32 -07:00
Xavier Ducrohet
ce359b0e8a
Generalize usage of AndroidVersion instead of Api level in the SDK packages.
...
Platform, add-on and doc packages used to use Api Level to figure out
upgrade logic. This is replaced by AndroidVersion to properly handle
codename versions.
2009-07-21 13:48:37 -07:00
Xavier Ducrohet
f2869cf9a9
Add support for preview versions of platforms.
...
ro.build.version.codename is a new property indicating whether a platform
is in its release form (value = REL) or in development (value = dev branch
name such as Donut). When the codename indicates a development/preview version
then the API level must be ignored and this codename is used as a unique
identifier of the platform.
IAndroidTarget has been changed to return an instance of a new class
AndroidVersion instead of the api level directly. This class helps deals with
the logic of comparing version from targets or devices.
This change impacts all of the sdk manager to deal with targets identified by
codename instead of api level. This in turn impacts everything that relies
on the sdkmanager: ADT (build, launch, project creation), the AVD manager,
the SDK updater.
2009-07-20 18:11:21 -07:00
Android (Google) Code Review
9412517b3f
Merge change 6651 into donut
...
* changes:
AVD Selector: Add a "Start" button to launch the selected AVD in a new emulator. Doesn't detect if the AVD is already running; instead prints the emulator error.
2009-07-09 12:53:30 -07:00
Raphael
3684b06a4f
AVD Selector: Add a "Start" button to launch the selected AVD in a
...
new emulator. Doesn't detect if the AVD is already running; instead
prints the emulator error.
2009-07-09 15:37:09 -04:00
Raphael
009801b0ad
SDK Updater: detect when install addon or tools to deal with
...
updating or restarting adb.
2009-07-02 21:41:20 -07:00
Raphael
fa9cd9a694
SDK Updater: fix android.bat for Windows to change dirs to the
...
temp dir. This removes a locked handle to the SDK/tools and allows
the update to update its own tools folder.
2009-07-02 16:21:48 -07:00
Raphael
de21e3ab24
Update comments in AvdManager
2009-07-01 11:26:26 -07:00
Android (Google) Code Review
24d287822f
Merge change 5913 into donut
...
* changes:
SDK Updater: Make it possible for tools to update themselves.
2009-07-01 10:45:14 -07:00
Xavier Ducrohet
59fc8c9d06
All actions in AdvManager now receives their own ISdkLog.
...
Also added 'update' action to AvdSelector.
2009-07-01 03:14:06 -07:00
Raphael
c2446273c6
SDK Updater: Make it possible for tools to update themselves.
...
In the bat launcher for Windows, copy all the
JARs needed to run the UI in a temp folder and execute
from there.
This allows the updater to update the tools folder
without locking itself.
2009-07-01 02:16:48 -07:00
Xavier Ducrohet
1ceaaeae68
Add tooltips and a legend (AVD selector)
...
Also added some TODOs
2009-07-01 01:26:22 -07:00
Raphael
329c13cbe3
SDK Updater: refine error handling when fetching sources.
2009-06-30 20:32:40 -07:00
Raphael
9cf8f819fa
SDK Updater: Add repository.xml if not specified in URLs
2009-06-30 11:36:44 -07:00
Raphael
ee763d1307
SDK Updater: Better handling of fetch errors.
...
The remote page now shows fetch errors in the tree.
Using refresh tries to reload error sources.
2009-06-30 11:29:51 -07:00