Package Details: android-studio 3.1.3.0-1

Git Clone URL: https://aur.archlinux.org/android-studio.git (read-only)
Package Base: android-studio
Description: The official Android IDE (Stable branch)
Upstream URL: http://tools.android.com/
Keywords: android
Licenses: Apache
Submitter: TamCore
Maintainer: tad (Philzli)
Last Packager: Philzli
Votes: 796
Popularity: 13.546857
First Submitted: 2013-05-15 19:45
Last Updated: 2018-06-10 20:05

Latest Comments

raefaldhia commented on 2018-05-13 08:49

Man, idk why i got so many problem for android-studio 3.1.2.0-1, the IDE itself so buggy, i can't even cut text. any1 know the workaround?

Anty0 commented on 2018-04-29 14:24

@Marcel_K True, i686 is not officially supported anymore, but still there will by some support for this architecture. Like for ARM architecture. So AUR can support all of these architectures, not only one officially supported architecture. So it is not good idea to remove support for i686 architecture of Android Studio package, because there will be still users, that may use it on i686 architecture...

Marcel_K commented on 2018-04-27 16:56

You can simply remove those three lines: i686 is no longer supported.

FranklinYu commented on 2018-04-27 14:43

Currently java-environment is added as dependency only on architecture "i686". Please replace the if-clause by official way to specify architecture-specific dependency: depends_i686=(java-environment). See https://wiki.archlinux.org/index.php/PKGBUILD#Dependencies for details.

Dinoraptor101 commented on 2018-04-14 15:19

Did the current URL expire?

The download URL threw an error. I tried to access it directly and got the same issue (newbie here).

dazoe commented on 2018-04-13 03:17

Philzli, you need to run makepkg --printsrcinfo > .SRCINFO to update the .SRCINFO file

coderobe commented on 2018-04-12 13:31

The updated version still doesn't fix the issue i reported. Could you please address this?

shreyansh_k commented on 2018-04-12 06:33

Did you commit an updated .SRCINFO file?

Philzli commented on 2018-04-12 06:04

I commited 3.1.1.0. But it doesn't show up. Can anyone help me?

coderobe commented on 2018-04-11 16:54

Quote your variable expansion. This PKGBUILD breaks when srcdir or pkgdir contain spaces. Amazing.

tad commented on 2018-03-29 22:27

Huh, I guess I'm the maintainer now?

I'll get this updated ASAP.

updown commented on 2018-03-28 18:38

The package is outdated, android-studio 3.1 is out. Is there someway to make a PR or anything similar?

wedneyyuri commented on 2018-03-22 02:01

Another alternative for android studio 3 is to launch it from terminal:

LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' android-studio

pyamsoft commented on 2018-02-13 04:53

Anyone still having trouble launching the Android Studio emulator can either attempt the libstdc++ symlink approach as detailed below, or can attempt this:

export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1

This tells the emulator to use the system shared libraries instead of the SDK shipped ones where possible.

welkie commented on 2018-01-23 07:56

It should be noted that the location of the installed SDK has now changed from "~/Android/Sdk" to "~/.android-sdk". This means that for AVDs to run, you must remove the "~/.android-sdk/emulator/lib64/libstdc++" directory after installing Android Studio.

robsonsilva commented on 2017-12-14 19:26

Package ready for android-studio-3.0.1.0-1: https://mega.nz/#!Yk5kmAJI!dvZaWrzldh2nRGcgD8uQpEzWSkedLOU4BtLOPE4jR-k

Just install with pacman -U

Rapti commented on 2017-11-21 13:07

@mah0x00 You'll have to reinstall the package just like you did when you first installed it, or you can use an AUR manager such as yaourt.
However, this is not the right place to ask questions like this. Please use Google next time. It's not too hard.

mah0x00 commented on 2017-11-21 05:07

one question how to update the android studio just that I have installed from AUR in future.

note:
this is my first time using arch Linux and I am searching for the answer do I have to use pacman -Syu or do I have only click on the notification message when an update is avilabel.

BurhanDanger commented on 2017-11-12 17:13

How to get kvm acceleration for AVD ?

newbOnArch commented on 2017-10-10 18:20

@gbc921 I have tried your solutions but it still doesn't solve my issue, I still can't use the avd manager.

gbc921 commented on 2017-10-10 00:16

Regarding the AVD problems and @shahril/@albfan solutions, I guess that another option is to export the 'ANDROID_EMULATOR_USE_SYSTEM_LIBS=1' in ~/.bashrc or similar place (like said here: https://stackoverflow.com/a/40790339/1353689).

Or maybe change the script/menu entry called from Android Studio, so we don't need to launch Android Studio from the terminal:
https://mike42.me/blog/how-to-edit-emulator-flags-in-android-studio

newbOnArch commented on 2017-10-09 20:34

Trying to run AVD manager but can run it on android studio. It doesn't let me do anything, I have checked the virtualisation option in Bios and it's enabled.I have @Albfan's solution which was modified by @shahril but that doesn't work either. What should I do?

shahril commented on 2017-08-02 15:20

Albfan's solution works great for me when you have problem to run the emulator, however, the path has changed to the "~/Android/Sdk/emulator/lib64/libstdc++" now.

So by tweaking his solution a little bit:

$ cd ~/Android/Sdk/emulator/lib64/libstdc++
$ mkdir old
$ mv * old/
$ ln -s /usr/lib/libstdc++.so.6
$ ln -s /usr/lib/libstdc++.so.6.0.22

You should be good then!

Eisfreak7 commented on 2017-07-21 09:10

I had to install lib32-gcc-libs so that Android-Studio could run mksdcard (and manage the sdk)

olhur commented on 2017-07-15 12:45

Contrary to previous comments, my installation works just fine. I only had to upgrade Gradle to newest version, but that's all, everything works out-of-the-box.

user03 commented on 2017-06-24 17:39

I have no idea what is wrong with this distribution. I have tried since late 2016 to get android-studio to work from AUR. I always get the same problem with gradle.

WARN - nal.AbstractExternalSystemTask - org.gradle.wrapper.WrapperExecutor.forProjectDirectory(Ljava/io/File;Ljava/lang/Appendable;)Lorg/gradle/wrapper/WrapperExecutor;
java.lang.NoSuchMethodError: org.gradle.wrapper.WrapperExecutor.forProjectDirectory(Ljava/io/File;Ljava/lang/Appendable;)Lorg/gradle/wrapper/WrapperExecutor;

For everyone who has problems with this AUR. Downloading Androi Studio from the official sources and extracting it to your home folder works out of the box: https://developer.android.com/studio/index.html

Normally AUR packages are good, and this should be too, but something is done to it to make it broken.

dummys commented on 2017-05-16 13:26

Got error using your new package:

Error:Cause: tried to access method java.lang.ClassLoader.<init>(Ljava/lang/ClassLoader;)V from class org.gradle.tooling.internal.consumer.loader.D efaultToolingImplementationLoader

Using the version downloaded from source, and unziping, running, gradle is working.

Anonymous comment on 2017-05-15 11:05

I've updated to 2.3.2.0 by editing the PKGBUILD:
-pkgver=2.3.1.0
+pkgver=2.3.2.0
...
-_build=162.3871768
+_build=162.3934792
...
-sha256sums=('36520f21678f80298b5df5fe5956db17a5984576f895fdcaa36ab0dbfb408433'
+sha256sums=('6e33a232466820a15c884af9faefab772b8267ede056aaedb63f291ceb5e95a7'

Anonymous comment on 2017-05-15 11:05

I've updated to 2.3.2.0 by editing the PKGBUILD:
-pkgver=2.3.1.0
+pkgver=2.3.2.0
...
-_build=162.3871768
+_build=162.3934792
...
-sha256sums=('36520f21678f80298b5df5fe5956db17a5984576f895fdcaa36ab0dbfb408433'
+sha256sums=('6e33a232466820a15c884af9faefab772b8267ede056aaedb63f291ceb5e95a7'

tad commented on 2017-03-03 01:05

@test0 Those are the terms of the Android SDK, not Studio (which is itself built on IntelliJ IDEA). Non-free code is not distributed in this package.

That said, "apache2" is incorrect; it's actually "multiple".

tad commented on 2017-03-03 00:58

@jusko Again, this package does not include mksdcard or the emulator, so please see 'android-sdk' and 'android-sdk-build-tools'.

albfan commented on 2017-02-21 03:38

To be able to run emulator you need to symlink libstdc++

$ cd $ANDROID_SDK_HOME/tools/lib64/libstdc++/
$ mkdir old
$ mv * old/
$ ln -s /usr/lib/libstdc++.so.6
$ ln -s /usr/lib/libstdc++.so.6.0.22

see semver may vary

jusko commented on 2017-01-27 15:31

Second what terusus pointed out below about mksdcard dependencies. Can't use AVDs otherwise.

test0 commented on 2017-01-14 15:25

Android Studio is not published under Apache license (as claimed in this package file) but under "Android Software Development Kit License Agreement", which is considered a non-free license.

It's important to mention it here because the license tells that "you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK", which means that providing this package as part of a custom repository is illegal (due to the way AUR works, it is still legal to share the PKGBUILD file and it is legal to use it in most countries)

tad commented on 2016-12-11 01:37

@terusus Those are dependencies for the SDK, not for Android Studio itself. See the android-sdk and android-sdk-build-tools packages if you want Arch-packaged SDK tools.

terusus commented on 2016-12-05 16:59

mksdcard relies on additional 32 bit libraries:
lib32-ncurses
lib32-gcc-libs

It would be a good idea to add them to the dependencies.

sumit.anantwar commented on 2016-10-24 06:20

The download details are available here.

http://tools.android.com/download/studio/builds/2-2-2

nlern commented on 2016-10-20 13:08

With some little changes we can install version 2.2.2 from this PKGBUILD. Changes in `PKGBUILD` are as follows:
1. Replace `2.2.1` in `pkgver` and `_pkgver` with `2.2.2`.
2. Set `_build=145.3360264`.
3. Change `sha1sum` entry `'1afb54c3ba7716246ef2cd248bdddd248d1442d4'` with `'fc63ca247762697c33102a78063a95f8b5ab5dea'`.
4. Save the modified `PKGBUILD`.

Source for data in Steps 1-3: https://developer.android.com/studio/index.html

sumit.anantwar commented on 2016-10-20 11:49

Android Studio 2.2.2 is now available on the stable channel, please update appropriately.

mh00h commented on 2016-10-17 03:47

Running into issues with emulator. Had to follow https://mike42.me/blog/how-to-edit-emulator-flags-in-android-studio to get it working correctly.

tad commented on 2016-10-09 22:46

I've updated the package to match the -beta and -canary packages, so maintaining this should be easier going forward.

Updated to 2.2.1.

goetzc commented on 2016-09-23 15:51

danyf90, adding co-maintaners would be great for everybody, bringing Android Studio stable updates and PKGBUILD fixes faster. User tuxfusion seems to be willing to collaborate, and user tad from android-studio-beta[1] might also.

As the JDK is now integrated with the IDE, you can remove it from the deps to opt deps, for optional external JDK. And only depend on java-environment for i686.

[1] https://aur.archlinux.org/packages/android-studio-beta

jfcandidofilho commented on 2016-09-23 00:28

@danyf90 @hewllowworld1 my better solution was to downgrade hahahaha! I was on the clock and needed a project done for yesterday.

Anyway, the solution appointed by @hellowworld1 fixed it. I removed the old directory and started from 0. Everything works now.

helloworld1 commented on 2016-09-22 20:56

I think the issue is that I need to clean up the pkgbuild android-studio directory. I have the previous version uncompressed there and pkgbuild is picking it up and packed it in. After cleaning, everything works fine.

danyf90 commented on 2016-09-22 20:34

It's really strange, there should be no /opt/android-studio/plugins/android/lib/builder-model-2.1.0-alpha6.jar and I don't see it in the package.

Could you please try to remove it?

helloworld1 commented on 2016-09-22 20:22

Clean install, I got this:
$ ls /opt/android-studio/plugins/android/lib/builder-model-* ~
/opt/android-studio/plugins/android/lib/builder-model-2.1.0-alpha6.jar
/opt/android-studio/plugins/android/lib/builder-model-2.2.0-alpha6.jar

However, for beta build:
$ ls /opt/android-studio-beta/plugins/android/lib/builder-model-* ~
/opt/android-studio-beta/plugins/android/lib/builder-model-2.2.0-alpha6.jar

helloworld1 commented on 2016-09-22 20:18

Tried uninstalled and reinstall, I still get the same error.

The /opt/android-studio/ does not exist on my machine after uninstalling.

danyf90 commented on 2016-09-22 19:17

@helloworld1: Could you please paste the output of 'ls /opt/android-studio/plugins/android/lib/builder-model-*' ?

@jfcandidofilho: I don't get this error, uninstalling and reinstalling might help. Let me know if you find a better solution

jfcandidofilho commented on 2016-09-22 18:22

@helloworld1 indeed; I have no issue with canary branch. But I can't use it: it is a rule I need to follow and it will try to modify the structure of the projects I'm working on. I have to downgrade to v 2.1.

helloworld1 commented on 2016-09-22 18:17

I got his error also:
Your Android Studio installation is corrupt and will not work properly.
(Found multiple versions of builder-model-*.jar in plugins/android/lib.)
This usually happens if Android Studio is extracted into an existing older version.

Please reinstall (and make sure the new installation directory is empty first.)

android-studio-beta package does not have this issue.

jfcandidofilho commented on 2016-09-22 18:07

@danyf90 (or whoever can help)

I'm encountering some problems here. Its the same as I described previously in my attempt to make the package myself. I pasted the error Android Studio gives after the splash screen here [0].

[0] - https://pastebin.com/AVNAeEhr

helloworld1 commented on 2016-09-22 17:57

Android studio 2.2 has built-in JVM. I think it is not necessary to add java-environment as dependency.

jfcandidofilho commented on 2016-09-22 17:44

@danyf90 thanks! Saved my skin

@grturner yesterday, I was about to say for those who don't want to wait to do that BUT I got into some problems.

1 - Downloaded the zip file from Android Studio website (scroll down);
2 - Moved it to the git repo directory of this package in my machine;
3 - Got the SHA512 with `sha512sum file.name.zip`. Resut:

71310d6b9fb071fc6b9810765389a2311a62cc706cbe71b2fe466167fb2ded7ebcc2441fe49d34a2942bb79d516f6acfcba5e214e1af42c9e2bc988a28c6fb79

4 - Saved a backup and changed PKBUILD to have:
---- Package version 2.2.0.12
---- Build version as the same number onto the zip file: 145.3276617
---- Sha512sums( 'the checksum I got (see above)' 'leave the other intact' )

5 - Proceed with `makepkg` and installed with `pacman -vU package.name.xz`;
6 - Started it with `android-studio &` as I normally do;

After starting, I got a lot of errors in regards to Java or whatsoever. It didn't work. But if you say to me ou got it to work just fine.. I think I should probably start using Yaourt.

Link: https://dl.google.com/dl/android/studio/ide-zips/2.2.0.12/android-studio-ide-145.3276617-linux.zip

danyf90 commented on 2016-09-22 17:40

Hello guys,

The package is now updated.
Sorry for the delay but I have been quite busy in these days.
If it will ever happen again I will add a co-maintainer.

grturner commented on 2016-09-22 16:39

You can edit the PKGBUILD and force an install. Change the version and build number and the top line of the sha512. Using yaourt I did the version and build, let yaourt fail, changed to the build directory ran sha512sum on the zip file then changed PKGBUILD again.

tuxfusion commented on 2016-09-22 11:59

If there's something we can do to help to speed updates up, please let me know. Happy to help. It seems updates come at every end of the months roughly. So they are not unexpected?

Abdulbasith commented on 2016-09-21 13:24

Please update it to 2.2 stable from 2.1.3

tad commented on 2016-09-19 18:01

2.2 Stable is available: I suggest looking at the android-studio-beta and android-studio-canary packages for how to deal with the bundled JDK.

danyf90 commented on 2016-08-21 15:23

Hi guys, sorry for the delay. I will update it tomorrow evening

jowi24 commented on 2016-08-21 15:18

There is a security update waiting...

gim commented on 2016-08-20 21:22

Is there a reason it's not being updated for so long?

goetzc commented on 2016-08-20 20:27

Please remove the install file, as it only runs update-desktop-database, and that is now handled by pacman hooks.

tiagofalcao commented on 2016-08-19 15:50

2.1.3.0 is out, dl link is https://dl.google.com/dl/android/studio/ide-zips/2.1.3.0/android-studio-ide-143.3101438-linux.zip

tad commented on 2016-08-15 03:38

You should be able to remove conflicts=() now, as android-studio-beta and android-studio-canary have been updated to install to different directories in /opt, they provide different symlinks in /usr/bin, and they provide different .desktop and icon files. This is all to support running multiple release branches side-by-side, as recommended by upstream.

smccloud commented on 2016-06-07 17:09

2.1.2.0 is out, dl link is https://dl.google.com/dl/android/studio/ide-zips/2.1.2.0/android-studio-ide-143.2915827-linux.zip

ozz commented on 2016-05-03 14:56

I'm getting an crash in libart.so when trying to run the x86_64 emulator (32-bit works). Is this just me or a bug with the package/build?

tavianator commented on 2016-04-11 20:54

The android-source optdep should be android-sources

brittyazel commented on 2016-04-08 19:00

I did notice something weird, when I launch Android-Studio, what appears on my dock in Gnome-Shell as the running program is titled "Jetbrains-StudioA".

brittyazel commented on 2016-04-08 18:59

Yep on opensource ATI drivers I have the same issue as below. Renaming the libstdc++ folder in /Sdk/tools/lib64/ solved it for me, which causes android-studio to default to the platform versions. I'm guessing they are compiled against different libraries.

Steam has the exact same issue on ArchLinux.

sukosevato commented on 2016-04-08 18:00

I got the same error as Yaroslav. I managed to get it working as follows:

$ cd $ANDROID_HOME/Android/Sdk/tools/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.bak
$ ln -s /usr/lib64/libstdc++.so.6 $ANDROID_HOME/Android/Sdk/tools/lib64/libstdc++

https://code.google.com/p/android/issues/detail?id=197254

yaroslav commented on 2016-04-08 15:07

Running x86 emulator fails on KDE 5.6.2, ATI open source driver. (Android Studio 2.0):
Cannot launch AVD in emulator.
Output:
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 49
Current serial number in output stream: 48
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 49
Current serial number in output stream: 48
static QPlatformTheme* QKdeTheme::createKdeTheme(): Unable to determine KDE dirs
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 34
QObject::~QObject: Timers cannot be stopped from another thread

F1nny commented on 2016-04-07 19:09

Looks like 2.0 finally hit release!

Scimmia commented on 2016-04-04 23:17

Why isn't this using depends_x86_64/depends_i686?

danyf90 commented on 2016-02-28 20:20

thank you Andrea, I'll add it on the next release that is coming soon :D

ilpianista commented on 2016-02-28 12:22

To make android-studio do not download anything from remote I had to install the following packages: android-platform and android-sources. Maybe should be added as optional deps?

danyf90 commented on 2015-12-28 09:27

Hi, I don't have ccache installed but I don't get that error. When do you get the error? Does ccache install fix that?

trulex commented on 2015-12-27 17:19

Looks like ccache should be added to dependencies:
"==> ERROR: Cannot find the ccache binary required for compiler cache usage."

Vi0L0 commented on 2015-10-21 19:24

works fine now also on plasma after jdk 8u66 update

Vi0L0 commented on 2015-10-18 14:56

@semeion:
you are right. It works on gnome (3.18) well, thought, even with newest glib2.
Segfaults on plasma, and there even setting env DE=gnome doesn't help.

joelpet commented on 2015-10-16 04:57

@danyf90 Thank you for kindly pointing that out. With the repo enabled everything works fine just as expected.

danyf90 commented on 2015-10-15 19:39

@joelpet you have to enable multilib repo in /etc/pacman.conf

joelpet commented on 2015-10-15 06:07

$ packer -S android-studio
Dependency `lib32-fontconfig' of `android-studio' does not exist.
$ packer -Ss lib32-fontconfig
<empty result>

How can I satisfy the `lib32-fontconfig` dependency?

danyf90 commented on 2015-10-14 19:51

@marmotteNZ, as the error says there is no space left on the device.
this happens probably because you are building the package in RAM.
Try to use this commands (in a folder that is not mounted in ram):
git clone https://aur.archlinux.org/android-studio.git
cd android-studio
makepkg -i

marmotteNZ commented on 2015-10-14 19:39

For whatever reason I can't install this update. I've been trying for days. There are more than 3G free on the disk ??

==> Making package: android-studio 1.4.0.10-2 (Wed Oct 14 13:27:34 MDT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading android-studio-ide-141.2288178-linux.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 363M 100 363M 0 0 10.6M 0 0:00:34 0:00:34 --:--:-- 10.5M
-> Found android-studio.desktop
==> Validating source files with sha512sums...
android-studio-ide-141.2288178-linux.zip ... Passed
android-studio.desktop ... Passed
==> Extracting sources...
-> Extracting android-studio-ide-141.2288178-linux.zip with bsdtar
==> Starting prepare()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Removing libtool files...
-> Removing static library files...
-> Compressing man and info pages...
==> Creating package "android-studio"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
xz: (stdout): Write error: No space left on device
bsdtar: Write error
==> ERROR: Failed to create package file.
The build failed.
tar: This does not look like a tar archive

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
No PKGBUILD found in directory.

semeion commented on 2015-10-11 14:55

@Vi0L0, the problem is the glib2, check it:
https://bbs.archlinux.org/viewtopic.php?id=203554

Vi0L0 commented on 2015-10-11 11:26

it fails with jdk 7,8 and 9, and works fine on openjdk
so will use it for now

Vi0L0 commented on 2015-10-11 08:34

it's braking after latest update on Arch (maybe gnome 3.18 case?)

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb95ad74be0, pid=2109, tid=140434533512960

danyf90 commented on 2015-10-06 20:51

you're right, checksum updated!

PlqnctoN commented on 2015-10-05 23:02

@danyf90 @rdoursenaud Yup! Here's the new sha512sum for the .desktop file: 7c1ab152b3f26a0a4796c085bb7bf66aa4711a010910636c0c82a37609155c819b21a732fc3874b55e7d443c989c46f29d51ed54538795829c8eb835308b5aaa if you want to update you PKGBUILD locally!

rdoursenaud commented on 2015-10-05 22:31

@danyf90 I think you forgot to update the checksum and package release when you updated the desktop file. I get a checksum error on that desktop file.

danyf90 commented on 2015-10-05 19:05

@pianogamer5: fixed

Anonymous comment on 2015-10-03 02:40

I noticed an error in the android-studio.desktop file. The StartupWMClass is set to jetbrains-android-studio where it should be set to jetbrains-studio. This was tested in GNOME 3 shell. When launching Android Studio with the unmodified .desktop file, the menubar displayed jetbrains-studio as the application name, where as changing the StartupWMClass to jetbrains-studio made GNOME shell display Android Studio in the menubar. Not sure where to submit a fix (or even if I can), but I thought I should let people know.

mydongistiny commented on 2015-10-02 08:06

I updated the PKGBUILD here: https://github.com/mydongistiny/android-studio

NickGeek commented on 2015-10-01 04:30

Android Studio 1.4 is now on the stable channel.

EvgheniiOrenciuc commented on 2015-09-01 18:11

Sorry guys, where is the tarball file?

soomsoom commented on 2015-08-30 11:51

Android studio 1.3.2 is on stable channel.
Just got notification.

poom commented on 2015-08-29 06:40

Sorry, 1.3.2 is still in beta channel.

poom commented on 2015-08-28 13:42

The release of 1.3.2 is here
https://developer.android.com/sdk/index.html

The linux binary:
https://dl.google.com/dl/android/studio/ide-zips/1.3.2.0/android-studio-ide-141.2178183-linux.zip

danyf90 commented on 2015-08-28 11:51

@markuski: "1.3.2 to the beta channel"

markuski commented on 2015-08-28 10:12

There is 1.3.2 now see:
http://tools.android.com/recent

marek.vanco commented on 2015-08-11 18:39

Android-studio way me about:

http://tools.android.com/knownissues/ibus

is there any possibility to add solution (IBUS_ENABLE_SYNC_MODE) to install package script?
All of Archlinux users are using IBUS?

Thanks you very much!

DaVinci42 commented on 2015-08-11 03:45

Android Studio 1.3.1 is available, :)

lopsided98 commented on 2015-06-11 13:37

Android Studio is saying there is a new stable update (1.2.2), even though the page you linked to says there isn't.

danyf90 commented on 2015-06-11 10:28

latest stable release is 1.2.1.1: http://tools.android.com/download/studio/stable

arran4 commented on 2015-06-11 10:25

New version
http://dl.google.com/dl/android/studio/ide-zips/1.2.2.0/android-studio-ide-141.1980579-linux.zip

danyf90 commented on 2015-05-04 07:04

added

moscar commented on 2015-05-03 20:31

It also seems that `android-google-repository` is now needed if you use aur android-sdk et al. (it's called extra-google-repository in SDK-manager).
Thus could you add this as an optional dependency?

Regards

greyltc commented on 2015-05-03 17:30

@danyf90: As mentioned by moscar two comments down, please add the following to optdepends:
android-support
Thanks.

greyltc commented on 2015-05-03 17:17

@danyf90: As mentioned by moscar two comments down, please add the following to optdepends:
android-google-android-support-library
Thanks.

greyltc commented on 2015-05-03 17:16

@danyf90: As mentioned by moscar two comments down, please add the following Dependency when you update this package:
android-google-android-support-library

danyf90 commented on 2015-05-03 10:23

I can't update until tonight

FrozenCow commented on 2015-05-01 13:05

PKGBUILD for 1.2.0.12: https://gist.github.com/FrozenCow/9f8455accfc6b83ea743

moscar commented on 2015-04-30 19:26

It seems "android-support-repository" is required for building the apps with gradle within android-studio.

If you use the SDK-manager then this is automatically installed, but if you use android-sdk from aur and so on then you don't get it by default. Could you add it as an optional dependency?

sschuhmann commented on 2015-04-04 08:24

Hi all,

I frequently get an Assertion error on my Android Studion installation. I have tested it with Oracle JDK 7 & 8 and open JDK 7, always the same error occurs.

AssertionError: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@52f1e9d7[Locked by thread AWT-EventQueue-0 1.1.0#AI-135.1740770, eap:false]: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@52f1e9d7[Locked by thread AWT-EventQueue-0 1.1.0#AI-135.1740770, eap:false]

Maybe someone has a solution for this.
Thank you in advaned

jfcandidofilho commented on 2015-03-20 06:36

@Zzaponka

Maybe the problem lies here: https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console

semi225599 commented on 2015-02-19 04:33

Latest stable is now 1.1 (released Feb 18, 2015)

http://tools.android.com/download/studio/stable

Zzaponka commented on 2015-02-17 02:49

Hi, everybody!

After standard installation procedure of the current package version (android-studio 1.0.2-1) I get just windows with empty buttons with no labels on them. I suppose this issue is connected with fonts somehow, but where I have to dig?

Thanks in advance.

danyf90 commented on 2015-02-10 09:43

PLEASE STOP REPORTING THIS OUT OF DATE. Latest stable version is 1.0.2 http://tools.android.com/download/studio/stable

renodesper commented on 2015-02-03 14:49

Hi, I have this kind of error when launching android studio. Is this some packaging problem?
------------------
Internal error. Please report to http://code.google.com/p/android/issues

java.lang.RuntimeException: java.lang.ClassCastException: sun.font.CompositeFont cannot be cast to sun.font.PhysicalFont
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:159)
at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:46)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:738)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:699)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:708)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassCastException: sun.font.CompositeFont cannot be cast to sun.font.PhysicalFont
at sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:266)
at sun.font.CompositeFont.getSlotFont(CompositeFont.java:334)
at sun.font.CompositeGlyphMapper.getSlotMapper(CompositeGlyphMapper.java:114)
at sun.font.CompositeGlyphMapper.convertToGlyph(CompositeGlyphMapper.java:124)
at sun.font.CompositeGlyphMapper.charToGlyph(CompositeGlyphMapper.java:162)
at sun.font.CompositeStrike.getCodePointAdvance(CompositeStrike.java:158)
at sun.font.FontDesignMetrics.handleCharWidth(FontDesignMetrics.java:416)
at sun.font.FontDesignMetrics.charWidth(FontDesignMetrics.java:454)
at com.intellij.openapi.editor.impl.FontInfo.fontMetrics(FontInfo.java:146)
at com.intellij.openapi.editor.impl.FontInfo.charWidth(FontInfo.java:129)
at com.intellij.openapi.editor.ex.util.EditorUtil.charWidth(EditorUtil.java:542)
at com.intellij.openapi.editor.ex.util.EditorUtil.getSpaceWidth(EditorUtil.java:546)
at com.intellij.openapi.editor.impl.EditorImpl.initTabPainter(EditorImpl.java:750)
at com.intellij.openapi.editor.impl.EditorImpl.<init>(EditorImpl.java:325)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:190)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.createViewer(EditorFactoryImpl.java:171)
at com.intellij.execution.impl.ConsoleViewUtil.setupConsoleEditor(ConsoleViewUtil.java:60)
at com.android.tools.idea.welcome.ProgressStep.<init>(ProgressStep.java:59)
at com.android.tools.idea.welcome.FirstRunWizard$SetupProgressStep.<init>(FirstRunWizard.java:142)
at com.android.tools.idea.welcome.FirstRunWizard.init(FirstRunWizard.java:66)
at com.android.tools.idea.welcome.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:100)
at com.android.tools.idea.welcome.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:92)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:67)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:158)
at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:247)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:153)
... 18 more

howardad commented on 2014-12-21 14:24

Is there a reason that the icon and desktop files are installed with 655 permissions (owner: read/write, everyone else: read/execute) instead of 644 (owner: read/write, everyone else: read)?

nugnuts commented on 2014-12-20 20:08

Android Studio indicates there is a new version available, 1.0.2 (build 135.1653844), though the official download page appears to currently still be pointing at 1.0.1

For those interested: https://dl.google.com/dl/android/studio/ide-zips/1.0.2/android-studio-ide-135.1653844-linux.zip

danyf90 commented on 2014-12-20 06:45

The official android-studio download page is this one: http://developer.android.com/sdk/index.html#Other
The current version is 1.0.1

danyf90 commented on 2014-12-14 13:46

How you can see from PKGBUILD it changes permission only in $pkgdir/opt/

panchtatvam commented on 2014-12-14 12:54

This package just changed the file permission for my home directory to 755 ! This was unexpected. I don't think I could get this file permissions fixed :(

soomsoom commented on 2014-12-13 08:24

Thanks!

danyf90 commented on 2014-12-13 08:12

You're right I'll update it ASAP :)

soomsoom commented on 2014-12-13 08:09

Please check again.
In the 'Update Info' its says: "A new Android Studio 1.0.1 is available in the stable channel."

danyf90 commented on 2014-12-13 08:00

1.0.1 is not in stable channel yet

soomsoom commented on 2014-12-13 07:35

There is a new version: 1.0.1

hexchain commented on 2014-12-09 02:00

1.0.0.rc4-1, in yaourt version comparation, is less than 1.0.0-1.

The_K commented on 2014-12-08 19:25

1.0.0 is out.

soomsoom commented on 2014-12-05 08:56

RC4 has rolled out

danyf90 commented on 2014-11-29 11:36

I have reloaded the package with android-sdk as optional dependency

ashhar24 commented on 2014-11-28 20:16

i think android-sdk should either be optional or not needed dependency as android studio automatically installs it on its launch.. the sdk is downloaded and located at /home/user/Android

the dependency installs the sdk at /opt/Android

Emmaseven commented on 2014-11-27 07:28

I don`t see package ttf-fonts or ttf-font in aur
==> Встановити або побудувати пропущені залежності для android-studio:
помилка: цілі не знайдено: ttf-fonts

mrunion commented on 2014-11-27 01:07

Cool. Thanks for the update, guys.

GZep commented on 2014-11-26 23:57

It's wrong right now.
Fix change "ttf-fonts" to "ttf-font".

P.S.
ttf-dejavu (and another fonts) provides "ttf-font"
link: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/

danyf90 commented on 2014-11-26 23:32

There is a typo in the pkgbuild, I will rebuild the package tomorrow

mrunion commented on 2014-11-26 23:29

There is no ttf-fonts package, GZep. The PKGBUILD is now broken.

GZep commented on 2014-11-26 08:05

Please, change 'ttf-dejavu' to 'ttf-font' !
Why you Ignore this request?

danyf90 commented on 2014-11-25 09:29

No, android-sdk is a needed dependency, if you don't want to install it from aur you can edit the PKGBUILD before installation

mitch_feaster commented on 2014-11-24 22:32

Could you make android-sdk an optional dependency so that we can install the SDK directly from upstream?

GZep commented on 2014-11-05 22:57

Please, change 'ttf-dejavu' to 'ttf-font' !

danyf90 commented on 2014-11-02 14:55

@vendion: this package will follow canary release until stable is released, if you think it is instable you can install -dev package

psychoteadrink commented on 2014-11-02 14:46

Apologies @danyf90, the errors were actually caused from the android-sdk-platform-tools package. Which has already been reported in there.

vendion commented on 2014-11-02 14:38

Any reason this is following canary, rather than the dev version or the upstream beta releases (currently 0.8.14). Following canary seems like this package may suffer from stability issues.

danyf90 commented on 2014-11-02 13:31

If you install from aur you have to update from aur, if you want to use integrated auto update you can install it manually (or you have to edit your configuration to don't update it via aur)

sandy8925 commented on 2014-11-02 01:37

The Android Studio blog mentions that since version 0.8.12 it downloads a small update file rather than the whole package for updates - do you think there is any way that can be used for updating?

danyf90 commented on 2014-11-01 21:09

i don't get that error, can you post a more complete output?

psychoteadrink commented on 2014-11-01 17:51

I'm trying to upgrade, and I'm getting a whole load of '/example/file' exists in filesystem' errors.

klofrau commented on 2014-10-29 16:04

Thanks!

danyf90 commented on 2014-10-29 13:11

That page is outdated. Moreover it points to beta releases. This package will be aligned to canary until stable is relased. At te moment beta is at 0.8.9. You can follow the releases on http://tools.android.com/download/studio

klofrau commented on 2014-10-29 12:56

How come that this version is more up-to-date then the one linked here:
https://developer.android.com/sdk/installing/studio.html

Not that I am complaining, I'm just curious :)

tschakkkiiiii commented on 2014-10-21 06:54

what is the correct way to update android-studio?
android-studio says there is an update available but cant install due to no write privileges in /opt/.

andres.manz commented on 2014-10-18 01:07

OpenJDK should work again with gradle 2.2:
https://issues.gradle.org/browse/GRADLE-3156

WovenTales commented on 2014-10-16 02:33

@Jones I had the same issue. Nice to know that switch fixes it. Thanks!

Jones commented on 2014-10-14 09:24

Surprisingly, I had the "Could not determine Java version." error with java-8-openjdk (as opposed to GZep), and I had to switch to java-8-jdk for it to work.

andres.manz commented on 2014-10-11 23:03

@ewtoombs

It's good practice to use a gradle wrapper in a project:
http://www.gradle.org/docs/current/userguide/gradle_wrapper.html

Many developers will never have to install gradle on their machine, but instead use the wrapper that's delivered with the project. If there's a wrapper, you can configure Android Studio to use it - it doesn't necessarily need the gradle package.

ewtoombs commented on 2014-10-05 11:35

I made a new project in Android Studio for the first time, and now it is currently downloading Gradle. If Gradle is necessary for anything it does, why wasn't it included?

GZep commented on 2014-09-26 08:42

So why not using virtual provide (ttf-font) for TrueType fonts?
-> depends=('ttf-font')

for font package: provides=('ttf-font')

GZep commented on 2014-09-26 08:41

So why not using virtual provide (ttf-font) for TrueType fonts?

provides=('ttf-font')

GZep commented on 2014-09-24 22:52

UPDATE

problem solved by switching to java-8-openjdk

# archlinux-java set java-8-openjdk
$ archlinux-java status
Available Java environments:
java-8-openjdk (default)
oraclejdk6-64

works fine now

GZep commented on 2014-09-24 22:26

Same issue with oraclejdk6-64

Could not determine Java version.

$ java -version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

$ javac -version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
javac 1.6.0_45

blackleg commented on 2014-09-21 15:01

The /usr/lib/jvm/java-default-runtime is the default path in the android studio and continue the gradle error.

The_K commented on 2014-09-20 14:24

@blackleg: Yes, that seems correct. Now set /usr/lib/jvm/java-default-runtime in Android Studio as path to the JDK.

blackleg commented on 2014-09-20 14:21

Is this path correct? /usr/lib/jvm/java-default-runtime

My archlinux-java exit:
$ archlinux-java status
Available Java environments:
java-8-openjdk (default)



The_K commented on 2014-09-20 13:27

@blackleg: Make sure that you've set a valid path to the JDK in Android Studio and in global configuration using archlinux-java. Than try to reopen your project, clean it and rebuild it. I had the same issue with JDK 8.

blackleg commented on 2014-09-20 12:30

If I create a new proyect in android studio 0.8.11, gradle show this error:
Error:Could not determine Java version.

The problem is in the new version or only in my computer?

mrunion commented on 2014-09-08 22:36

Worked fine now. Thanks!

danyf90 commented on 2014-09-08 12:18

@mrunion: check if your problem is solved now

mrunion commented on 2014-09-04 22:29

Then why does it do this unless I change it?

---- SNIP ----

AUR Targets (1): android-studio

Proceed with installation? [Y/n]
Edit PKGBUILD for `android-studio'? [Y/n] n
PKGBUILD: line 26: [: =: unary operator expected

danyf90 commented on 2014-08-30 12:05

`if [ $CARCH = "x86_64" ]; then` works fine

mrunion commented on 2014-08-30 02:49

I get this error when building:

PKGBUILD: line 26: [: =: unary operator expected

Shouldn't the line:

if [ $CARCH = "x86_64" ]; then

be:

if [[ $CARCH = x86_64 ]]; then

danyf90 commented on 2014-07-10 21:45

The sdk works fine for me. Program version updates should not be used if you download it from aur

snostorm commented on 2014-07-10 20:35

Using the latest version, There seems to be permision issues, the sdk manager will not update or download various sdks, becaus of the permissions, same with program version updates, and possibly with issues avd manager as well. Also while the ide runs under newer java versions the emulator only seems to function with java 1.6, are there plans to create the java-enviroment package.

bfr commented on 2014-06-27 18:38

0.8.1 is out.

dieghen89 commented on 2014-06-27 15:45

I can't create a new project both with 0.6.1 and 0.8:

ERROR - llij.ide.plugins.PluginManager - Last Action: WelcomeScreen.CreateNewProject

Do you have any clue about what's missing? Already tried on jdk7 and 8.

tinchou commented on 2014-06-27 15:38

I had the same issue and I did as mentioned here: https://wiki.archlinux.org/index.php/java#Illegible_fonts

Added: export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
To: /etc/profile.d/jre.sh

Anonymous comment on 2014-06-27 14:21

Updated PKGBUILD for 0.8.0 (it turns out that they did have just an ide bundle, but not listed on the website. Using the build id from the bundle download worked)

http://pastebin.com/raw.php?i=ei4QxQtt

cemegginson commented on 2014-06-27 13:52

The font rendering issue affects Minecraft as well, so it seems pretty clear to me that it's actually an OpenJDK issue.

developej commented on 2014-06-27 07:32

I also had the problem with fonts not rendering - both in Android-Studio and in Intellij Idea (community edition). After I followed the advice by Kuci - "edit /opt/android-studio/bin/studio.sh and add -Dawt.useSystemAAFontSettings=on into IDE_JVM_ARGS". Android-Studio is rendering fonts fine, but is this the proper way to solve this issue? Does anyone have something better in mind?

Also, after adding the mentioned line in studio.sh, Intellij Idea is also rendering fonts - how? How did editing studio.sh solved issue with idea.sh?

danyf90 commented on 2014-06-27 07:23

this package contains only the IDE (not the bundle), 0.8.0 is not out yet here: http://tools.android.com/download/studio/canary

shadow8 commented on 2014-06-26 18:02

Looks like 0.8.0 is out: http://dl.google.com/android/studio/install/0.8.0/android-studio-bundle-135.1245622-linux.tgz

The_K commented on 2014-06-18 05:09

You can add edit /opt/android-studio/bin/studio.sh and add -Dawt.useSystemAAFontSettings=on into IDE_JVM_ARGS. This solution fixed the problem for me. What about creating a patch and patching android-studio in PKGBUILD ?

ter0 commented on 2014-06-17 16:18

For me it was the update from 7u55 to 7u60. For now, running

_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' android-studio

works.

benoit commented on 2014-06-17 11:00

The following fixed my fonts with OpenJDK : http://stackoverflow.com/a/16663695/211840 (use the GTK look and feel instead of the default one).

SoleSoul commented on 2014-06-17 06:15

This wiki: https://wiki.archlinux.org/index.php/Java
Quote: The only supported JVM implementation in Arch Linux is the open source OpenJDK. It is nearly perfect, and it should not be necessary to install Oracle's proprietary version of Java.

It's a general recommendation, not for IntelliJ.

developej commented on 2014-06-16 22:24

@SoleSoul
In which wiki?

SoleSoul commented on 2014-06-16 17:35

Well, I am using openJDK becuase it is recommended in the wiki and besides, it worked before. I thought that it might be fixable.

Switching to jdk7 does work.

audrius commented on 2014-06-16 17:04

Maybe you are using openJDK instead of Oracle java

SoleSoul commented on 2014-06-16 17:01

Confirmed. No text at all.
Does anybody have an idea of the cause?

neTpK commented on 2014-06-16 15:03

I just installed this yesterday, and I cant see ANY text at all.

Tried changing theme-settings in qtconfig but nothing helps. No text is being rendered at all, only window title.

Running Arch64 with Cinnamon desktop.

Christian commented on 2014-06-16 02:41

Trying to build this with yaourt. Getting this issue:

==> Building and installing package
==> Install or build missing dependencies for android-studio-canary:
error: target not found: lib32-mesa
error: target not found: lib32-libxrender
error: target not found: lib32-fontconfig

Asks to restart installation afterwards. Any ideas on how to resolve this?

I'm running Arch in a chroot in ChromeOS, if it makes a difference.

tuliohmendes commented on 2014-06-15 13:42

I noticed that the bug described by cemegginson was caused by an update to the OpenJDK... Replacing OpenJDK by Oracle JDK solved the problem.

cemegginson commented on 2014-06-15 02:01

I just installed this update and it completely broke Android Studio in a way that's best shown with a picture:
http://i.imgur.com/7DtKD07.jpg

And here's the terminal output:
http://pastebin.com/Wxg34zhK

It worked fine with the previous version, so I'm not sure if it's a missing dependency or what.

Anonymous comment on 2014-06-13 02:22

0.6.1
http://pastebin.com/raw.php?i=LT8wCKWp

Also changed the download url to use https, and fixed inconsistent spacing (there was one tab and the rest was spaces)

egore911 commented on 2014-06-06 20:35

pkgver=0.6.0
_build=135.1212210
sha512sums=('83bb1704e5cfff89f69e87fdacd6dcb1efee56b79e0e8fc9b9982dc9438c940e97af58711d66386c54edc120936771a1872ffa4231a4fe348c6a5665e0603e64'

Using the following changes it's possible to build a package of Android Studio 0.6

mrksimps commented on 2014-05-27 06:00

This program won't load without ttf-dejavu installed. Maybe it should be added as a dependency?

aishsingh commented on 2014-05-07 05:07

@Ichigo-Roku @AlgoJerViA @Chiggins
Im also using bspwm and was having the same problem. After a lot of searching i found out that android-studio was having problems recognising the window manager.

[Solution]
1. install 'wmname' from pacman
2. every time you want to start android-studio run:
'wmname LG3D'

danyf90 commented on 2014-05-06 17:02

it's already present!

tuliohmendes commented on 2014-05-06 17:00

It seems that lib32-fontconfig is a required dependency.

wenLiangcan commented on 2014-04-25 17:35

Sorry for flagging out-of-date. I run android-studio after this update and it notified me there's a newer version ... in the Canary channel :(

wenLiangcan commented on 2014-04-25 17:34

Sorry for flagging out-of-date. I run android-studio after this update and it notified me there's an newer version ... in the Canary channel :(

danyf90 commented on 2014-04-22 11:57

Hi, it works for me, I don't know how to help you.

Chiggins commented on 2014-04-21 22:17

AlgoJerViA, Ichigo-Roku, are you getting stuff like this? https://i.imgur.com/QtWVotg.jpg

I'm using the bspwm window manager.

AlgoJerViA commented on 2014-04-19 12:37

I have the same problem.

Ichigo-Roku commented on 2014-04-09 12:21

Hi,

I have a problem with Android Studio. I created a new project and then nothing happened. I just have a white-grey window, like the window froze.

Do you have the same problem ?

Thanks.

jvican commented on 2014-04-08 14:32

Is it possible to include Android Studio in our Intellij-Idea IDE or if we want to use it we need to install it?

tuliohmendes commented on 2014-04-05 16:32

0.5.4 is out.

wget commented on 2014-03-07 11:01

Hi guys.
Why do we need multilib and lib32 dependencies for this package? As Android Studio is coded in Java I don't see the reason. Can anyone explain me?

The_K commented on 2014-01-26 08:35

I think we do not need xorg-server-xvfb as a dependency anymore.

lluixhi commented on 2014-01-24 03:24

0.4.3 is out.

TamCore commented on 2014-01-20 06:23

It also works with AUR packages if Yaourt is used.

danyf90 commented on 2014-01-19 22:23

i think it works only for package from official repository

developej commented on 2014-01-19 16:03

@simonorono

can't you just add it to the IgnorePkg in /etc/pacman.conf? i think it should work

danyf90 commented on 2014-01-18 13:14

Now this package uses a smaller file it is about 150 MB

danyf90 commented on 2014-01-18 13:14

Now this package uses a smaller file it is about 150 MB

danyf90 commented on 2014-01-18 13:14

Now this package uses a smaller file it is about 150 MB

Anonymous comment on 2014-01-18 12:55

Well, it's the 24 MB update from within Android Studio against the +400 MB from AUR, also mentioning the crappy Internet connection we have in Venezuela, well, it's just a big no. Any other idea? :)

danyf90 commented on 2014-01-18 12:48

update it from aur, too :D

Anonymous comment on 2014-01-18 12:37

I updated from within Android Studio to version 0.4.2

Is there something I could do so yaourt stop saying that there's an update available?

Anonymous comment on 2014-01-18 12:36

I updated from within Android Studio to version 4.2

Is there something I could do so yaourt stop saying that there's an update available?

developej commented on 2014-01-09 20:20

Ok, I fixed it.
It gave error when trying to build this:
==> Continue building xorg-server-xvfb ? [Y/n]

so I installed it manually with #pacman -S xorg-server-xvfb
and then updated this package and it worked.

developej commented on 2014-01-09 18:09

Can anyone respond to the problem I described below?

:: mesa-libgl and nvidia-libgl are in conflict (libgl). Remove nvidia-libgl? [y/N]

What is the best way to handle this? Remove and then reinstall or is there a better way?

danyf90 commented on 2014-01-08 13:47

thank you very much vehiclee, i've updated the PKGBUILD to use that file.

vehiclee commented on 2014-01-08 12:53

pls use this link for small size without android sdk.
http://dl.google.com/dl/android/studio/ide-zips/0.4.0/android-studio-ide-132.955124-linux.zip
you can find link from http://tools.android.com/download/studio/canary/latest

janisozaur commented on 2014-01-04 20:08

This package depends on jdk7, can you add it to (optional) depends list?

The_K commented on 2013-12-19 13:49

pkgver=0.4.0
pkgrel=1
_build=132.883541
_patch=132.955124

sha512sums=(
'b5c7b4b7d7c692375b13906d933b33ae39efcb6ac8a53937b1a8472b97782ee96666bec11261acb14ca40cc0e56bb8f0627a2a438332cdcd089d2f1b1f77b0b1'
'fa3567f328af45d265c4fabf3e41b55d8e8cccfa9675e745f07dd6ae41950dd53a2ef41ef1caee86643f5c2ddf7a7681ee17155e208a7b6fdae6c0537dfc0c94'
'45297fc43748f416a26f39c17eb9802139c077b3b27789d170bfd9324aa2f564e2bd572f404f90c42ec28183af7e8f849eedd96e5c680639c4be9ade79059620')

danyf90 commented on 2013-12-13 10:01

no, current version is 0.3.7

Pierrre commented on 2013-12-13 09:52

Is it a newer version? http://dl.google.com/android/studio/install/0.3.2/android-studio-bundle-132.893413-linux.tgz

chdorner commented on 2013-11-21 13:33

pkgver=0.3.6
pkgrel=1
_build=132.883541
_patch=132.917931

sha256sums=('9463b6fde6cdc1f9ef781f5aab0bad64566c54fdf491d12f714ab2d5aac9b0ce'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'8d8b3925688f191b6127e7e986f150c366b2e98c162cbdb1a9eaecfe847c26fc')

developej commented on 2013-11-15 13:33

:: mesa-libgl and nvidia-libgl are in conflict (libgl). Remove nvidia-libgl? [y/N]

How do I approach this problem? Do I need to remove nvidia-libgl and then reinstall it later or is there a better way?

The_K commented on 2013-11-12 08:07

pkgver=0.3.5
pkgrel=1
_build=132.883541
_patch=132.910074

sha256sums=('9463b6fde6cdc1f9ef781f5aab0bad64566c54fdf491d12f714ab2d5aac9b0ce'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'5c5b57d1752089ade8857821bf8c7839fa9744ad9e59901ea316861250c8dce1')

k2s commented on 2013-11-11 15:37

sorry, error reported by me was caused by full /tmp folder

k2s commented on 2013-11-10 17:27

getting error:

==> Validating source files with sha256sums...
android-studio-bundle-132.883541-linux.tgz ... Passed
android-studio.desktop ... Passed
AI-132.883541-132.908450-patch-unix.jar ... Passed
==> Extracting sources...
-> Extracting android-studio-bundle-132.883541-linux.tgz with bsdtar
==> Starting prepare()...
Performing update...
Update process failed with code: 0
==> ERROR: Makepkg was unable to build android-studio.
==> Restart building android-studio ? [y/N]

The_K commented on 2013-11-09 10:41

pkgver=0.3.4
pkgrel=1
_build=132.883541
_patch=132.908450

sha256sums=('9463b6fde6cdc1f9ef781f5aab0bad64566c54fdf491d12f714ab2d5aac9b0ce'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'6bb75cdb91170d577ee93866b7a8abf2bbc6f2c8ec8e62f94d40b88d504b604b')

egore911 commented on 2013-11-01 10:20

pkgver=0.3.2
pkgrel=1
_build=130.737825
_patch=132.893413

sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'0178ddb479a12489312b09efb33e794788f6bd5735120c909d25a29f2858c6cc')

sjakub commented on 2013-10-24 18:20

When are you going to fix the permission problem?

adej commented on 2013-10-23 18:37

pkgver=0.3.1
pkgrel=1
_build=130.737825
_patch=132.883541

sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'2777af6f38eb63830e5cc2deae99477727531c9d0c75b9fb5680a1ce6a74bbe6')

The_K commented on 2013-10-20 07:52

pkgver=0.3.0
pkgrel=1
_build=130.737825
_patch=132.878379

sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'3e26d59cbf149150453dd148d87678e24c36a5f2752c1bce04ee732eafa8024f')

adej commented on 2013-10-09 05:59

pkgver=0.2.13
pkgrel=1
_build=130.737825
_patch=132.863010

sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'661f6f8a90bf8dd0f4acf7bb208cf00ec08fb2b7386ec17853dac65965d9104b')

jowi24 commented on 2013-10-06 11:07

giflib dependency is missing

ryenus commented on 2013-10-05 00:47

what about setting:

PKGEXT=".pkg.tar"

to avoid compressing? thus during package upgrade one doesn't have to compressing during package build, and then extract it again for package installation, saves lots of time especially for large packages like this one.

The_K commented on 2013-10-04 06:55

pkgver=0.2.11
pkgrel=1
_build=130.737825
_patch=132.855830

sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'e312e0c05062705bb07dbb9341ce2f8b908a677853be41d2477f2ad30ac20936')

The_K commented on 2013-09-26 04:50

pkgver=0.2.10
pkgrel=1
_build=130.737825
_patch=132.843336

sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'81bb53f19c2d0853ba2dc13c906a9803a43443e022f870bf8735a364f925c4d9')

iostream commented on 2013-09-25 02:22

0.2.10 released: https://sites.google.com/a/android.com/tools/recent/androidstudio0210released

felixonmars commented on 2013-09-18 00:32

I'm getting the error:

Performing update...
/tmp/yaourt-tmp-felix/aur-android-studio/./PKGBUILD: line 45: .: filename argument required
.: usage: . filename [arguments]
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build android-studio.

The_K commented on 2013-09-17 20:48

There is unnecessary dot at line 45 in prepare(). Please, remove it.

The_K commented on 2013-09-17 20:46

There is unnecessary dot at line 45 in prepare(). Please, remove it. Also, I don't know why, but installation hangs for me while patching at prepare().

aorth commented on 2013-09-17 08:41

0.2.9 released: https://sites.google.com/a/android.com/tools/recent/androidstudio029released

adej commented on 2013-09-12 14:55

Modifications for PKGBUILD for 0.2.8:

pkgver=0.2.8
_patch=132.821530

Checksums for patch:
MD5: e535ea9061d2e7ee719a9e12b0ca9270
SHA256: a8832d5c7f39ba0f20b179527803642ffa790d23a498c6dc084e25dca15f86e7

Chais commented on 2013-09-12 09:16

0.2.8 released. I'd be willing to take care of the package if you want to orphan it.

sjakub commented on 2013-09-10 06:10

@Kuci
He seems to prefer MD5, the PKGBUILD I posted a while ago also used SHA and got changed back to MD5. Not to mention broken file modes :/

Chais commented on 2013-09-09 22:06

Please also add android-support-repository and android-sdk-build-tools as depends. The latter doesn't seem optional to me, as 0.2.7 will fail to create new projects if build tools is missing.

The_K commented on 2013-09-08 17:51

New PKGBUILD:

------------------------------------------------------------------

# Maintainer: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
# Contributor: Christoph Brill <egore911-at-gmail-dot-com>
# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>

pkgname=android-studio
pkgver=0.2.7
pkgrel=1
_build=130.737825
_patch=132.809981
pkgdesc="A new Android development environment based on IntelliJ IDEA."
arch=(i686 x86_64)
url="http://developer.android.com/sdk/installing/studio.html"
license=('APACHE')
depends=('python' 'fontconfig' 'mesa' 'libxrender' 'android-sdk')
makedepends=('unzip' 'xorg-server-xvfb' 'ttf-dejavu')
optdepends=('android-sdk-platform-tools' 'android-sdk-build-tools')
options=('!strip')
install=${pkgname}.install
source=(http://dl.google.com/android/studio/android-studio-bundle-${_build}-linux.tgz
${pkgname}.desktop)
test ! -z ${_patch} && source+=("http://dl.google.com/android/studio/patches/AI-${_build}-${_patch}-patch-unix.jar")
noextract=(AI-${_build}-${_patch}-patch-unix.jar)
sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1'
'2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d'
'e708e3a9ce087e426ff1e9b7ccc60d7b4ba2d2025f493f2c8368dd6e932729bb')

[ $CARCH = "x86_64" ] && depends=('python' 'lib32-fontconfig' 'lib32-mesa' 'lib32-libxrender' 'android-sdk')

prepare() {
echo "Performing update..."

if [ ! -z "${_patch}" ]
then
xvfb-run java -classpath "${srcdir}/AI-${_build}-${_patch}-patch-unix.jar" com.intellij.updater.Runner install "${srcdir}/${pkgname}" || ret="${?}"

if [ "${ret}" != "42" ]; then
echo "Update process failed with code: ${ret}"
exit 1
fi
fi

cd "${srcdir}/${pkgname}"

# remove pause after open jdk warning
sed -i 's/read IGNORE//' bin/studio.sh

# extract the application icon
unzip -o lib/resources.jar artwork/icon_AS_128.png

# enable anti aliasing
for f in bin/*.vmoptions; do
echo "-Dawt.useSystemAAFontSettings=lcd" >> ${f}
echo "-Dswing.aatext=true" >> ${f}
done
}

package() {
cd "${srcdir}/${pkgname}"

# application stuff
mkdir -p "${pkgdir}/opt/${pkgname}"
cp -a bin lib plugins "${pkgdir}/opt/${pkgname}"

mkdir -p "${pkgdir}/usr/bin"
ln -s /opt/android-studio/bin/studio.sh "${pkgdir}/usr/bin/android-studio"

# starter stuff
install -Dm655 artwork/icon_AS_128.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm655 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"

chmod -R ugo+rX "${pkgdir}/opt"
}

------------------------------------------------------------------

By the way, use SHA-256 for checksums. It is more collision resistant than MD5.

sthorn commented on 2013-09-05 18:52

0.2.7 released: http://tools.android.com/recent/androidstudio027released

mus commented on 2013-08-31 13:30

why would you have to install both? If android-studio contains the SDK, there is no reason to install android-sdk.

Even if you need other packages that depend on android-sdk, this - as far as I understand - shouldn't be a problem if the android-studio PKGBUILD has provides=android-sdk.

TamCore commented on 2013-08-31 13:23

@mus: I'm sure we will find a way to fix the problems, if upstream decides to patch the shipped Android SDK. But as long as both SDKs are the same, I don't see a reason why we should have both installed on our machines :)

mus commented on 2013-08-31 10:12

@erick2red That is because TamCore decided to split out the SDK out of the bundle and instead let the package depend on the android-sdk package (also in the AUR).

I personally don't think this is a good idea. Upstream ships the SDK together with Android Studio, so the package should too. Also this may cause imcompatibilities in the future if the versions differ somehow (what if an android studio patch patches part of the SDK etc.?).

erick2red commented on 2013-08-29 14:30

It fails to find Android SDK. What's strange is that the bundle unpacked just downloaded from google does find the SDK.

sjakub commented on 2013-08-28 18:38

It still installs files with wrong permissions.

sjakub commented on 2013-08-28 18:35

It still installs files with wrong permissions.

ma2t commented on 2013-08-27 13:02

Android studio 0.2.6 released. :)
http://tools.android.com/recent/androidstudio026released

OttoA commented on 2013-08-19 14:44

FYI: for me, the fonts look much better *without* the flags -Dawt.useSystemAAFontSettings=lcd, -Dswing.aatext=false

(Gnome 3.8, x86_64)

ghaith commented on 2013-08-17 11:35

Here's an updated PKGBUILD using the newest patch..
Modifications are the number in _patch and the md5sum
_patch=130.782403
md5sums=('dcd13922f7cf577e3c852b224205d843'
'0f77280fd3769b0e04ff60dad547ce5e'
'7bc8896c8203f3fd2a47532d3a73b554')

Start copying below..

# Maintainer: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
# Contributor: Christoph Brill <egore911-at-gmail-dot-com>

pkgname=android-studio
pkgver=0.2.5
pkgrel=1
_build=130.737825
_patch=130.782403
pkgdesc="A new Android development environment based on IntelliJ IDEA."
arch=(i686 x86_64)
url="http://developer.android.com/sdk/installing/studio.html"
license=('APACHE')
depends=('python' 'fontconfig' 'mesa' 'libxrender' 'android-sdk')
makedepends=('unzip' 'xorg-server-xvfb' 'ttf-dejavu')
optdepends=('android-sdk-platform-tools' 'android-sdk-build-tools')
options=('!strip')
install=${pkgname}.install
source=(http://dl.google.com/android/studio/android-studio-bundle-${_build}-linux.tgz
${pkgname}.desktop)
test ! -z ${_patch} && source+=("http://dl.google.com/android/studio/patches/AI-${_build}-${_patch}-patch-unix.jar")
noextract=(AI-${_build}-${_patch}-patch-unix.jar)
md5sums=('dcd13922f7cf577e3c852b224205d843'
'0f77280fd3769b0e04ff60dad547ce5e'
'7bc8896c8203f3fd2a47532d3a73b554')

[ $CARCH = "x86_64" ] && depends=('python' 'lib32-fontconfig' 'lib32-mesa' 'lib32-libxrender' 'android-sdk')

prepare() {
echo "Performing update..."

if [ ! -z "${_patch}" ]
then
xvfb-run java -classpath "${srcdir}/AI-${_build}-${_patch}-patch-unix.jar" com.intellij.updater.Runner install "${srcdir}/${pkgname}" || ret="${?}"

if [ "${ret}" != "42" ]; then
echo "Update process failed with code: ${ret}"
exit 1
fi
fi

cd "${srcdir}/${pkgname}"

# remove pause after open jdk warning
sed -i 's/read IGNORE//' bin/studio.sh

# extract the application icon
unzip -o lib/resources.jar artwork/icon_AS_128.png

# enable anti aliasing
for f in bin/*.vmoptions; do
echo "-Dawt.useSystemAAFontSettings=lcd" >> ${f}
echo "-Dswing.aatext=true" >> ${f}
done
}

package() {
cd "${srcdir}/${pkgname}"

# application stuff
mkdir -p "${pkgdir}/opt/${pkgname}"
cp -a bin lib plugins "${pkgdir}/opt/${pkgname}"

mkdir -p "${pkgdir}/usr/bin"
ln -s /opt/android-studio/bin/studio.sh "${pkgdir}/usr/bin/android-studio"

# starter stuff
install -Dm655 artwork/icon_AS_128.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm655 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"

chmod -R ugo+rX "${pkgdir}/opt"
}

TamCore commented on 2013-08-15 19:23

@oriolj: Your infos were very helpful and saved me a bit time. All I had to do was to verify them. Thanks!

Anonymous comment on 2013-08-15 10:55

Hi there's an update to 0.2.4
I've done locally those changes and it works:

pkgver=0.2.4
_patch=130.777423

md5sums=('dcd13922f7cf577e3c852b224205d843'
'0f77280fd3769b0e04ff60dad547ce5e'
'b63400ae11185a6905bec7a622737051')

Don't know if this is the right place to write this, I'm new on this, just trying to help.

tocer commented on 2013-08-06 02:16

Performing update...
Xvfb failed to start
Update process failed with code: 1

What's wrong?

egore911 commented on 2013-08-03 07:58

This patch updates the PKGBUILD to the latest version and fixes the concatenation of the source-URIs.

diff --git a/PKGBUILD b/PKGBUILD
index 0883f2f..6463d65 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# Maintainer: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
+# Contributor: Christoph Brill <egore911-at-gmail-dot-com>

pkgname=android-studio
-pkgver=0.2.0
+pkgver=0.2.3
pkgrel=1
_build=130.737825
-_patch=
+_patch=130.762670
pkgdesc="A new Android development environment based on IntelliJ IDEA."
arch=(i686 x86_64)
url="http://developer.android.com/sdk/installing/studio.html"
@@ -17,10 +18,11 @@ options=('!strip')
install=${pkgname}.install
source=(http://dl.google.com/android/studio/android-studio-bundle-${_build}-linux.tgz
${pkgname}.desktop)
-test ! -z ${_patch} && source+="http://dl.google.com/android/studio/patches/AI-${_build}-${_patch}-patch-unix.jar"
+test ! -z ${_patch} && source+=(http://dl.google.com/android/studio/patches/AI-${_build}-${_patch}-patch-unix.jar)
noextract=(AI-${_build}-${_patch}-patch-unix.jar)
md5sums=('dcd13922f7cf577e3c852b224205d843'
'0f77280fd3769b0e04ff60dad547ce5e')
+test ! -z ${_patch} && md5sums+=('86b07972e221b88da3d8d50921fd7e41')

[ $CARCH = "x86_64" ] && depends=('python' 'lib32-fontconfig' 'lib32-mesa' 'lib32-libxrender' 'android-sdk')

egore911 commented on 2013-08-02 10:46

I updated the PKGBUILD to build 0.2.3. Seems to work for me. Sadly it was not enough to simply set _patch because manipulating the source using "test ! -z ${_patch} && source+=" generated wrong download urls.

diff --git a/PKGBUILD b/PKGBUILD
index 0883f2f..e453ff4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# Maintainer: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
+# Contributor: Christoph Brill <egore911-at-gmail-dot-com>

pkgname=android-studio
-pkgver=0.2.0
+pkgver=0.2.3
pkgrel=1
_build=130.737825
-_patch=
+_patch=130.762670
pkgdesc="A new Android development environment based on IntelliJ IDEA."
arch=(i686 x86_64)
url="http://developer.android.com/sdk/installing/studio.html"
@@ -16,11 +17,12 @@ optdepends=('android-sdk-platform-tools' 'android-sdk-build-tools')
options=('!strip')
install=${pkgname}.install
source=(http://dl.google.com/android/studio/android-studio-bundle-${_build}-linux.tgz
- ${pkgname}.desktop)
-test ! -z ${_patch} && source+="http://dl.google.com/android/studio/patches/AI-${_build}-${_patch}-patch-unix.jar"
+ ${pkgname}.desktop
+ http://dl.google.com/android/studio/patches/AI-${_build}-${_patch}-patch-unix.jar)
noextract=(AI-${_build}-${_patch}-patch-unix.jar)
md5sums=('dcd13922f7cf577e3c852b224205d843'
- '0f77280fd3769b0e04ff60dad547ce5e')
+ '0f77280fd3769b0e04ff60dad547ce5e'
+ '86b07972e221b88da3d8d50921fd7e41')

[ $CARCH = "x86_64" ] && depends=('python' 'lib32-fontconfig' 'lib32-mesa' 'lib32-libxrender' 'android-sdk')

roheim commented on 2013-08-01 02:39

0.2.2:
http://dl.google.com/android/studio/android-studio-bundle-130.737825-linux.tgz

egore911 commented on 2013-07-31 15:45

From what I know Android Studio will query this file to find the patches:

http://dl.google.com/android/studio/patches/updates.xml

deadcode commented on 2013-07-30 02:46

How do I find the latest patch? Searched around, couldn't find a link.

TamCore commented on 2013-07-23 03:56

Bit busy the last days. Will update this evening.

evana commented on 2013-07-23 03:17

The package version needs a bump to 0.2.1

wolftankk commented on 2013-07-12 05:58

new release 0.2.x
http://dl.google.com/android/studio/android-studio-bundle-130.737825-linux.tgz

ravicious commented on 2013-07-04 15:25

Will the font rendering be fixed? Monaco still looks pretty bad compared to its look in gvim. http://i.imgur.com/yJGuc97.png

xgdgsc commented on 2013-06-29 01:25

Can you change the patch url to http://dl.google.com/android/studio/patches/AI-130.687321-130.725679-patch-unix.jar
. Because appspot.com is blocked in China and dl.google.com is easier to reach. As this issue shows: https://code.google.com/p/android/issues/detail?id=56068 . Thanks!

codeworkx commented on 2013-06-21 15:35

Please add "ttf-dejavu" to build deps.

Without you get:
Performing update...
Exception in thread "main" java.lang.NullPointerException
at sun.awt.X11FontManager.getDefaultPlatformFont(X11FontManager.java:779)

sebstar commented on 2013-06-18 20:55

Please also add Java sources to the dependencies. I dare to use android-studio with openjdk7, and I had to install openjdk7-src. Thanks

sjakub commented on 2013-06-10 13:00

File permissions are still wrong.

TamCore commented on 2013-06-08 12:15

You're right. But normally xorg-server-xvfb should depend on xorg-xauth. However, I've added xorg-xauth as makedep till it gets fixed.

egore911 commented on 2013-06-08 08:04

Tried installing the package today, I guess it misses a dependecy on xorg-xauth

Performing update...
which: no xauth in (/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/build-tools/17.0.0/:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-studio/bin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/usr/bin/core_perl)

sjakub commented on 2013-06-05 17:34

Just wondering, is there a reason to use '655' mode for data files (instead of 644)?

TamCore commented on 2013-06-05 05:26

Sounds good. I'll look into it when I'm back from work. Thanks!

sjakub commented on 2013-06-05 04:34

Also, a version of the PKGBUILD that doesn't display the update window: http://pastebin.com/izEkrPgm

sjakub commented on 2013-06-05 04:29

And a somewhat hacky version of the PKGBUILD that doesn't display the update window: http://pastebin.com/cdxY3daL

sjakub commented on 2013-06-05 04:04

I can't find a way around the GUI update procedure.
However, the return value problem is simple.
I also fixed permissions, simplified the script
and applied other changes suggested here.

Here is the PKGBUILD: http://pastebin.com/4LLe4J7m
And simplified android-studio.desktop file: http://pastebin.com/jDFnQHkC
The only other needed file is the android-studio.install, which is the same...

TamCore commented on 2013-06-04 17:23

@mus
1.) We'll see if there are problems in the future.
2.) I had some problems while packaging without chmod'ing

@sjakub
_build=130.687321
_patch=130.692269

[...]
prepare() {
....
java -classpath "${srcdir}/${_patch}.jar" com.intellij.updater.Runner install "${srcdir}/${pkgname}"
....
}

But two things are crappy: 1.) It opens a crappy window and 2.) the return value kills makepkg.

mus commented on 2013-06-04 15:03

uhm, I just noticed that the upstream tarball completely contains the android-sdk and platform tools. Why not ship those as well and add replace/provides for android-sdk and android-sdk-platform-tools? This would give users 2 less AUR packages to worry about. Who knows, maybe this may even cause problems in the future if the android-sdk and android-studio packages don't perfectly match.

Also, why are you running chmod -R 755 on the whole directory in the PKGBUILD?

sjakub commented on 2013-06-04 15:01

Oh, I know ;) But it means there is really no simple way to update this package. Unless you can come up with something, in which case you should share it :P

TamCore commented on 2013-06-03 16:50

I got the patch url but the automated patching in the packaging process isn't that easy.

In case you're interested: http://dl-sdk.appspot.com/as/patches/AI-130.687321-130.692269-patch-unix.jar

sjakub commented on 2013-06-03 15:58

Also, whoever marked this as out of date, please provide the URL to the new version. As far as I can tell, there is no new bundled version, just a "patch".

sjakub commented on 2013-06-01 18:08

I agree, a symlink in /usr/bin would be much cleaner :)
This is exactly how google-chrome package does that.

mus commented on 2013-05-31 18:19

imho it would make more sense to just symlink /usr/bin/android-studio to the studio.sh script. This wouldn't clutter PATH and there is no other useful binary in the /opt/android-studio/bin directory anyway. Also /etc/profile.d/* isn't necessarily sourced on all systems (it isn't on mine with a systemd user session).

Other than that, good work on the package, works fine. :)

egore911 commented on 2013-05-31 08:45

Android Studio 0.1.2 was released

https://plus.google.com/108967384991768947849/posts/YVYhhB7rHPm

I couldn't find a download URL yet.

sjakub commented on 2013-05-30 07:37

@audrius: Package has to be updated whenever they create a new build.
They delete old files, and if it wasn't updated it simply would not work.

Several packages for Google stuff suffer from the same issue - sources are getting updated and the old ones are removed. There is no guarantee that they
won't update the file without bumping the build number,
but at least it's less likely then the new build number with the same official version.

What is so messy about using the actual build number?
The pkgrel should be used for versioning the package itself,
not for representing different build numbers.

audrius commented on 2013-05-29 09:23

Official version is 0.1.1 and build number is 130.687321 . You can see version on welcome screen bottom. I even don't understand why such considerations are happening. Package should be updated when Google releases new version. Not when they assemble new build :)

xgdgsc commented on 2013-05-29 03:49

I agree with 0.1.1, if the binary is updated without bumping official version, just update the pkgrel. I think using the actual build number is a mess.

sjakub commented on 2013-05-28 20:29

The problem with "official" versioning
is that Google may choose to update the binary and build
number without bumping the official version.
I think that the actual build number is safer.

sjakub commented on 2013-05-28 20:20

The problem with "official" versioning
is that Google may choose to update the binary and build
number without bumping the official version.
I think that the actual build number is safer.

saik0 commented on 2013-05-28 19:51

I agree package version should be like upstream version number (0.1.1)

sjakub commented on 2013-05-28 19:25

I think the actual build number (130.687321 for the current one) makes most sense... And if not, it should probably follow their official versioning (so 0.1.1 instead of 0.2).

audrius commented on 2013-05-28 19:20

This is android studio v0.1.1 Why you rised version to 0.2? :)

TamCore commented on 2013-05-28 18:45

Updated. Thanks!

Maybe I should use the build number as $pkgver. Any thoughts?

ma2t commented on 2013-05-28 17:19

New release is out (130.687321): http://dl.google.com/android/studio/android-studio-bundle-130.687321-linux.tgz :)

TamCore commented on 2013-05-22 08:53

lib32-* is available in multilib and android-sdk in AUR.

dlin commented on 2013-05-22 08:36

missing these when compile on x86_64.

error: target not found: lib32-fontconfig
error: target not found: lib32-mesa
error: target not found: lib32-libxrender
error: target not found: android-sdk

TamCore commented on 2013-05-21 09:09

Your JRE version is to old.

TamCore commented on 2013-05-21 09:08

Install jre7-openjdk

TamCore commented on 2013-05-21 09:08

Install jre7-openjdk

Anonymous comment on 2013-05-21 08:16

Hi,
I have one big problem. I can't start android-studio. Every time I try it, it breaks down with the following error:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:194)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libsplashscreen.so: libpng15.so.15: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1667)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:111)
at com.intellij.idea.IdeaApplication$IdeStarter.getSplashScreen(IdeaApplication.java:212)
at com.intellij.idea.IdeaApplication$IdeStarter.showSplash(IdeaApplication.java:189)
at com.intellij.idea.IdeaApplication$IdeStarter.access$000(IdeaApplication.java:172)
at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:87)
at com.intellij.idea.MainImpl.startApplication(MainImpl.java:83)
at com.intellij.idea.MainImpl._main(MainImpl.java:79)
at com.intellij.idea.MainImpl.start(MainImpl.java:68)
... 6 more

I have libpng16 installed. How can I fix this? Just symlinking doesn't work :D. Then it throws me another error...

Thank you for any help

donniezazen commented on 2013-05-19 07:53

I am wondering if android-sdk is required because android-studio/sdk contains the sdk stuff.

Anonymous comment on 2013-05-18 21:01

@TamCore
I'm sorry. I don't really know what happen, but now it works.
Thank you for your support

aorth commented on 2013-05-18 16:41

Following a tip on the Java page from the wiki[0] I've installed ttf-ms-fonts to fix the terribly-ugly fonts in android-studio. If people don't have ugly-as-hell fonts then they probably already have this installed...?

[0] https://wiki.archlinux.org/index.php/Java#Fonts_are_Illegible

TamCore commented on 2013-05-17 21:43

AA enabled with pkgrel 7.

Hint: You can send me pull requests to get things like this done faster :) https://github.com/TamCore/pkgbuilds/tree/master/android-studio

And for some discussion -> https://plus.google.com/114381154162397342856/posts/DujqbnHFgBc :)

TamCore commented on 2013-05-17 21:40

AA enabled with pkgrel 7.

Hint: You can send me pull requests to get things like this faster :) https://github.com/TamCore/pkgbuilds/tree/master/android-studio

Anonymous comment on 2013-05-17 20:59

@sjakub:

vmoptions patch: https://gist.github.com/5601911
patched PKGBUILD: https://gist.github.com/5601917

sjakub commented on 2013-05-17 20:02

Also, could you please make the PKGBUILD add two lines at the end of
/opt/android-studio/bin/studio.vmoptions and studio64.vmoptions files?
These two lines enable antialiasing, without that the UI looks terrible:

-Dawt.useSystemAAFontSettings=lcd
-Dswing.aatext=true

sjakub commented on 2013-05-17 19:54

For anybody else struggling: android studio fails to start with sun's jre/jdk 6

neuromancer85 commented on 2013-05-17 15:12

It does not install for me because I already have Android Support Library r13 from the Android SDK Manager, while the pkg tries to overwrite those files with the ones from "/android-studio/sdk/extras/android/support/"...

TamCore commented on 2013-05-17 12:29

Maybe removing ~/.AndroidStudioPreview would help.

TamCore commented on 2013-05-17 12:28

% pacman -Qi | grep -E '^(Name|Version)' | grep -A1 android-
Name : android-platform-17
Version : 4.2.2_r02-1
Name : android-sdk
Version : r22-1
Name : android-sdk-build-tools
Version : r17-2
Name : android-sdk-platform-tools
Version : r17-1
Name : android-studio
Version : 0.1-5

Everything runs fine here

Anonymous comment on 2013-05-17 12:04

@TamCore
I see that package too, but since I uninstalled everything to try a clean installation (removing all the packages installed from "android update sdk"), now I have a new error:

Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.

I checked the installed version and it is correct:
$ pacman -Qi android-sdk
Name : android-sdk
Version : r22-1

TamCore commented on 2013-05-17 10:21

@robertsms Please try installing android-sdk-build-tools as mentioned by audrius bellow.

mssun commented on 2013-05-17 09:53

Same problem with @develhox.
"Failed to import new Gradle project: failed to find Build Tools revision 17.0.0".

I have set the proxy in the Android Studio.

audrius commented on 2013-05-17 07:52

Actually you need android-sdk-build-tools instead of android-sdk-platform-tools.

ElAngelo commented on 2013-05-17 05:54

I get this error:
YOur Android SDK is out of data or is missing templates. Please ensure you are using SDK version 22 or later.

$ pacman -Qi android-sdk-platform-tools | head -n 2
Name : android-sdk-platform-tools
Version : r17-1

$ pacman -Qi android-sdk | head -n 2
Name : android-sdk
Version : r22-1


In the console i get this:
$ android-studio
OpenJDK Runtime Environment (IcedTea 2.3.9) (ArchLinux build 7.u21_2.3.9-2-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
OpenJDK Runtime Environment (IcedTea 2.3.9) (ArchLinux build 7.u21_2.3.9-2-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
WARNING: You are launching the IDE using OpenJDK Java runtime.

ITS KNOWN TO HAVE PERFORMANCE AND GRAPHICS ISSUES!
SWITCH TO THE ORACLE(SUN) JDK BEFORE REPORTING PROBLEMS!

NOTE: If you have both Oracle (Sun) JDK and OpenJDK installed
please validate either STUDIO_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation.
See http://ow.ly/6TuKQ for more info on switching default JDK.

Press Enter to continue.

[ 25419] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.ComponentEvent[COMPONENT_RESIZED (25,0 800x640)] on dialog0
java.lang.NullPointerException
at com.intellij.openapi.ui.DialogWrapper$2.componentResized(DialogWrapper.java:186)
at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:160)
at java.awt.Component.processComponentEvent(Component.java:6331)
at java.awt.Component.processEvent(Component.java:6285)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Window.processEvent(Window.java:2022)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:525)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
at java.awt.Dialog.show(Dialog.java:1082)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:756)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:437)
at com.intellij.openapi.ui.DialogWrapper.showAndGetOk(DialogWrapper.java:1460)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1435)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:194)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:206)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:216)
at com.intellij.openapi.ui.Messages.showErrorDialog(Messages.java:469)
at com.android.tools.idea.wizard.NewProjectWizard.init(NewProjectWizard.java:77)
at com.android.tools.idea.wizard.NewProjectWizard.<init>(NewProjectWizard.java:65)
at com.android.tools.idea.actions.AndroidNewProjectAction.actionPerformed(AndroidNewProjectAction.java:34)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:151)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:132)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[ 25437] ERROR - com.intellij.ide.IdeEventQueue - Android Studio (I/O Preview) AI-130.677228 Build #AI-130.677228
[ 25438] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.7.0_21
[ 25438] ERROR - com.intellij.ide.IdeEventQueue - VM: OpenJDK 64-Bit Server VM
[ 25438] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Oracle Corporation
[ 25439] ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
[ 25439] ERROR - com.intellij.ide.IdeEventQueue - Last Action: WelcomeScreen.CreateNewProject
[ 46663] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(246,199),absolute(582,287),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.IllegalStateException: Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.
at com.android.tools.idea.wizard.NewProjectWizard.init(NewProjectWizard.java:78)
at com.android.tools.idea.wizard.NewProjectWizard.<init>(NewProjectWizard.java:65)
at com.android.tools.idea.actions.AndroidNewProjectAction.actionPerformed(AndroidNewProjectAction.java:34)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:151)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:132)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[ 46667] ERROR - com.intellij.ide.IdeEventQueue - Android Studio (I/O Preview) AI-130.677228 Build #AI-130.677228
[ 46668] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.7.0_21
[ 46668] ERROR - com.intellij.ide.IdeEventQueue - VM: OpenJDK 64-Bit Server VM
[ 46668] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Oracle Corporation
[ 46669] ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
[ 46669] ERROR - com.intellij.ide.IdeEventQueue - Last Action: WelcomeScreen.CreateNewProject
[ 48611] WARN - api.vfs.impl.local.FileWatcher - Watcher terminated.

Anonymous comment on 2013-05-16 20:08

@TamCore It is installed.

$ pacman -Qi android-sdk-platform-tools | head -n 2
Name : android-sdk-platform-tools
Version : r17-1

gyscos commented on 2013-05-16 17:39

Shouldn't android-sdk-platform-tools be moved to optdepends as well ? It can be installed by android-sdk, along with the individual platforms.

TamCore commented on 2013-05-16 15:58

@develhox: Please make sure that the package android-sdk-platform-tools is installed.
@ravicious I'll look into it later, but for now I can't see anything that I could fix.

Anonymous comment on 2013-05-16 13:56

When I try to create a new project, it fails with the following error:
"Failed to import new Gradle project: failed to find Build Tools revision 17.0.0".
What should I check? I have already updated all the android packages, installed Gradle and tested it with both Sun/Oracle Java and OpenJDK.

ravicious commented on 2013-05-16 13:48

Here you go. https://gist.github.com/anonymous/5591850

TamCore commented on 2013-05-16 12:48

@ravicious Not much info there. Are you sure that everything on your machine is up2date? If it is, please post the contents of /home/rav/hs_err_pid2869.log

ravicious commented on 2013-05-16 12:19

I get an error. https://gist.github.com/anonymous/5591332

TamCore commented on 2013-05-16 11:25

@sinatosk Now there is one :)

sinatosk commented on 2013-05-16 10:17

I don't see an "Android Studio" launcher in my menus ( I expected it to be in "Development" in KDE )

add that please :p

sinatosk commented on 2013-05-16 10:07

Android Studio keeps saying to me when I click "New Project..."

"Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later"

your pkgbuild installs them... what's going on?

also I don't see an "Android Studio" launcher in my menus ( I expected it to be in "Development" in KDE )

TamCore commented on 2013-05-16 09:51

The package() function creates files in /etc/profile.d that append /opt/android-studio/bin to your $PATH. So it's correct :)

BenderIsGreat34 commented on 2013-05-16 09:07

Is the symlink in /opt/android-studio/bin correct? shouldnt it be placed somewhere inside the $PATH?

TamCore commented on 2013-05-16 06:55

Is fixed with the next pkgbuild update :)

1ace commented on 2013-05-16 06:53

You could also link to the actual Android Studio page instead of the generic SDK page:
http://developer.android.com/sdk/installing/studio.html

TamCore commented on 2013-05-16 06:41

- moved android-sdk-platform-tools and android-platform-17 to optdepends
- created profile.d files for /opt/android-studio/bin
- added !strip to options=() as suggested by SaneBRZ

Anonymous comment on 2013-05-16 06:18

Upon starting Android Studio it checks the file size of fsnotifier64 (like IntelliJ). Since makepkg strips it, it changes the filesize. The result is that I get a warning by Android Studio that the "Native file watcher executable is outdated".

Please add a options=('!strip') to the PKGBUILD, which fixes this issue.

billybigrigger commented on 2013-05-16 05:38

getting an error when starting a new project...

Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.

anyone else getting this?

billybigrigger commented on 2013-05-16 05:33

getting an error when starting a new project...

Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.

anyone else getting this?

billybigrigger commented on 2013-05-16 05:27

==> Installing missing dependencies...
error: target not found: android-platform-17
==> ERROR: 'pacman' failed to install missing dependencies.
:: android-studio cleaned
billybigrigger@arch ~ » pacaur -s android-platform-17
aur/android-platform-17 4.2.2_r02-1 (21)
Android SDK Platform, API-17

why is pacman looking for something in the aur? :D

xgdgsc commented on 2013-05-16 04:55

I don't know if many people use those platform packages from AUR. I guess many might be only use android-sdk android-sdk-platform-tools and manage platform there (judging from votes of those android-platform-* packages). So I suggest moving android-platform-17 to optdepends and add some post-install warning to install file to let users know platform 17 should be installed.

billybigrigger commented on 2013-05-16 04:43

==> Installing missing dependencies...
error: target not found: android-platform-17
==> ERROR: 'pacman' failed to install missing dependencies.
:: android-studio cleaned
billybigrigger@arch ~ » pacaur -s android-platform-17
aur/android-platform-17 4.2.2_r02-1 (21)
Android SDK Platform, API-17

why is pacman looking for something in the aur? :D

donniezazen commented on 2013-05-16 04:30

Also it shouldn't require android-sdk-platform-tools if platform tools are provided by android-sdk.

billybigrigger commented on 2013-05-16 04:28

==> Installing missing dependencies...
error: target not found: android-platform-17
==> ERROR: 'pacman' failed to install missing dependencies.
:: android-studio cleaned
billybigrigger@arch ~ » pacaur -s android-platform-17
aur/android-platform-17 4.2.2_r02-1 (21)
Android SDK Platform, API-17

why is pacman looking for something in the aur? :D

billybigrigger commented on 2013-05-16 04:27

==> Installing missing dependencies...
error: target not found: android-platform-17
==> ERROR: 'pacman' failed to install missing dependencies.
:: android-studio cleaned
billybigrigger@arch ~ » pacaur -s android-platform-17
aur/android-platform-17 4.2.2_r02-1 (21)
Android SDK Platform, API-17

fixman commented on 2013-05-15 22:06

That was fast.

TamCore commented on 2013-05-15 19:53

https://github.com/TamCore/pkgbuilds/tree/master/android-studio