Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - android-sdk

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: android-sdk 25.2.5-1

Git Clone URL: https://aur-dev.archlinux.org/android-sdk.git (read-only)
Package Base: android-sdk
Description: Google Android SDK
Upstream URL: https://developer.android.com/studio/releases/sdk-tools.html
Licenses: custom
Submitter: None
Maintainer: xyproto
Last Packager: xyproto
Votes: 1420
Popularity: 11.114531
First Submitted: 2007-11-12 19:26
Last Updated: 2017-01-25 11:30

Sources (7)

Pinned Comments

xyproto commented on 2016-08-22 08:39

* If the android-sdk license had allowed binary redistribution, this would probably have been a package in [community] instead of in AUR.

* If there are problems with conflicting files, you can check which package owns them with `pacman -Qo`. If no package owns the file, it has most likely been placed there by you, the user (possibly using the SDK Manager). You can remove the conflicting files, either with `rm` or by installing the android-sdk package by force.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

xyproto commented on 2015-10-24 10:04

@apaatsi, first find out which package owns the problematic files: pacman -Qo /opt/android-sdk/tools/lib/ca-bundle.pem

The file is probably not installed by any package, but by the user on your system, possibly by using one of the tools that comes with the android-sdk package.

This seems to be a common problem, but there is no ideal solution. You can install the android-sdk package with --force if you wish to replace the problematic files.

apaatsio commented on 2015-10-23 10:24

What is the proper way to handle the following error? I'm trying to upgrade from 24.3.4-2 to 24.4.1-1

Packages (1) android-sdk-24.4.1-1

Total Installed Size: 360.91 MiB
Net Upgrade Size: 22.25 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#############################] 100%
(1/1) checking package integrity [#############################] 100%
(1/1) loading package files [#############################] 100%
(1/1) checking for file conflicts [#############################] 100%
error: failed to commit transaction (conflicting files)
android-sdk: /opt/android-sdk/tools/lib/ca-bundle.pem exists in filesystem
android-sdk: /opt/android-sdk/tools/lib/pc-bios/bios-256k.bin exists in filesystem
android-sdk: /opt/android-sdk/tools/lib/pc-bios/efi-virtio.rom exists in filesystem
android-sdk: /opt/android-sdk/tools/lib/pc-bios/kvmvapic.bin exists in filesystem
android-sdk: /opt/android-sdk/tools/lib/pc-bios/linuxboot.bin exists in filesystem
Errors occurred, no packages were upgraded.

xyproto commented on 2015-10-22 11:01

Updated to 24.4.1.

https://developer.android.com/tools/sdk/tools-notes.html has also been updated to reflect this.

saik0 commented on 2015-10-17 19:12

@xyproto

The xml used by the SDK Manager will almost always be more up to date than the docs/website.

https://dl.google.com/android/repository/repository-11.xml

The relevant bit of the xml tree is below:

<sdk:sdk-repository xmlns:sdk="http://schemas.android.com/sdk/android/repository/11" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...

<sdk:tool>
<sdk:revision>
<sdk:major>24</sdk:major>
<sdk:minor>4</sdk:minor>
<sdk:micro>0</sdk:micro>
</sdk:revision>
<sdk:min-platform-tools-rev>
<sdk:major>20</sdk:major>
</sdk:min-platform-tools-rev>
<sdk:archives>
<sdk:archive>
<sdk:size>320385195</sdk:size>
<sdk:checksum type="sha1">f120858b1f7eedb573608d4ebf16a046d8833024</sdk:checksum>
<sdk:url>tools_r24.4-linux.zip</sdk:url>
<sdk:host-os>linux</sdk:host-os>
</sdk:archive>
...
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
</sdk:tool>
...
</sdk:sdk-repository>

xyproto commented on 2015-10-12 15:43

Unflagging as out-of-date again. The latest official version, according to the Google web pages, is 24.3.4. It's not the latest official release if someone just finds a download link with a higher version number. At least wait until Google has replied to the open issue about the version number on their web page being out of date (link below).

xyproto commented on 2015-10-09 10:32

Created an issue, asking for Google to update the version number on the web page. (https://code.google.com/p/android/issues/detail?id=189278). Unflagging as out-of-date, for now.

TheAifam5 commented on 2015-10-06 16:47

change only pkgver to 24.4
and pkgrel to 0
sha1sum: f120858b1f7eedb573608d4ebf16a046d8833024

download: https://dl.google.com/android/repository/tools_r24.4-linux.zip
and for @xyproto:
Every release you have new version or revision. For that you have in PKGBUILD "${pkgver}". When you know about for example v24.4 just type the 24.4, its a first release of that version. then when Google release next revision, type 24.4.1 and etc etc. :) EZ bro

JCaesar commented on 2015-10-05 11:18

Probably needs zip as a build dependency.

xyproto commented on 2015-10-04 20:09

Added lib32-pulse and lib32-fontconfig as dependencies. Keep in mind that namcap is not always correct, though. Thanks, @yan12125.

xyproto commented on 2015-10-04 19:37

Please me know if the use of ncurses.so.5 should cause any problems.

It would be possible to either package ncurses 5 for AUR and use that, link to ncurses 6 and check if it works (for what might possibly be a narrow use case) or report it upstream and ask them to use ncurses 6 (or find another solution).

Thanks for checking, @zman0900.