Package Details: android-studio 2021.2.1.15-1

Git Clone URL: https://aur.archlinux.org/android-studio.git (read-only, click to copy)
Package Base: android-studio
Description: The official Android IDE (Stable branch)
Upstream URL: https://developer.android.com/
Keywords: android
Licenses: Apache
Submitter: TamCore
Maintainer: kordianbruck (SailReal)
Last Packager: SailReal
Votes: 1007
Popularity: 5.80
First Submitted: 2013-05-15 19:45 (UTC)
Last Updated: 2022-05-25 18:20 (UTC)

Latest Comments

bazza commented on 2022-06-07 20:00 (UTC)

/opt/android-studio/jre/bin/java: symbol lookup error: /opt/android-studio/jre/lib/libnio.so: undefined symbol: initInetAddressIDs

ntsk commented on 2022-05-01 11:03 (UTC)

After the update, I am unable to start the program...

2022-05-01 19:57:06,866 [    402]  ERROR - llij.ide.plugins.PluginManager - Expected static method 'void com.intellij.util.ui.EdtInvocationManager.invokeAndWaitIfNeeded(java.lang.Runnable)' 
java.lang.IncompatibleClassChangeError: Expected static method 'void com.intellij.util.ui.EdtInvocationManager.invokeAndWaitIfNeeded(java.lang.Runnable)'
    at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:161)
    at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:60)
    at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
    at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2022-05-01 19:57:06,868 [    404]  ERROR - llij.ide.plugins.PluginManager - Android Studio Bumblebee | 2021.1.1 Patch 3  Build #AI-211.7628.21.2111.8309675 
2022-05-01 19:57:06,872 [    408]  ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2022-05-01 19:57:06,872 [    408]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 

Start Failed
Internal error. Please refer to https://code.google.com/p/android/issues

Linux version 5.17.3-arch1-1 (linux@archlinux) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Thu, 14 Apr 2022 01:18:36 +0000

rajsav commented on 2022-04-27 14:02 (UTC)

FYI - I had the following 3 issues when installing and trying to run emulator:

1) Virtualisation needed to be switched on in my BIOS (quite annoying as I was running on a headless server so needed a trip to where the machine was)

2) needed package libpulse installed (Guess this should be a dependency)

3) Didn't work with latest openjdk (version 17 at the time) - Had to downgrade to package jdk11-openjdk

letorbi commented on 2022-03-18 23:26 (UTC) (edited on 2022-03-19 00:13 (UTC) by letorbi)

Me and some other persons (https://stackoverflow.com/questions/71316605/google-maps-missing-in-extended-controls-android-emulator) are having the problem that Google Maps is not visible in the extended Android emulator controls.

Everything works fine when I install Android Studio via Flatpak. So the origin of the problem may be within the AUR package.

Has anyone else experienced the same problem? Or - vice versa - is Google Maps visible in the extended controls for someone?

applesea commented on 2022-03-16 03:50 (UTC) (edited on 2022-03-16 03:51 (UTC) by applesea)

I'm currently having an issue with the stable build where it cannot properly clone a git repository. I've tried other builds and the only one that seems to work is the canary build. Here is the full error:

Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58) Caused by: java.net.SocketException: Unexpected end of file from server at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:866) at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:863) at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87) at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178) at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:27) ... 1 more unable to read askpass response from '/home/username/.cache/Google/AndroidStudio2021.1/tmp/intellij-git-askpass-local.sh' could not read Username for 'https://git.test.server': No such device or address

sunriseast commented on 2022-03-04 01:37 (UTC)

==> Validating source files with sha256sums... android-studio-2021.1.1.22-linux.tar.gz ... FAILED

WildOrangutan commented on 2022-03-03 16:50 (UTC)

@SailReal hm, seems like my package manager didn't detect update. Managed to update it manually. Sorry about that.

SailReal commented on 2022-03-03 14:16 (UTC) (edited on 2022-03-03 14:17 (UTC) by SailReal)

@WildOrangutan I don't get a new version notification. On my system using this package, Android Studio using 2021.1.1 Patch 2 is installed. According to https://developer.android.com/studio/ this results in android-studio-2021.1.1.22-linux.tar.gz which is currently used, see pkgver=2021.1.1.22.

What does pacman -Qi android-studio output on your system?

lightsaber commented on 2021-11-27 10:39 (UTC) (edited on 2021-11-27 10:39 (UTC) by lightsaber)

I get these errors when I use it with Fish. Not sure if it is a packaging issue or it should be reported upstream.

mkdir: cannot create directory ‘/opt/android-studio/plugins/terminal/fish/completions’: Permission denied
mkdir: cannot create directory ‘/opt/android-studio/plugins/terminal/fish/conf.d’: Permission denied
mkdir: cannot create directory ‘/opt/android-studio/plugins/terminal/fish/functions’: Permission denied
error: Unable to open universal variable file '/': Permission denied

TheGreatAndyChow commented on 2021-08-25 14:02 (UTC)

Contrary to "baba.opensource", I find everything works perfectly with this 2020.3.1 Arctic Fox. Thank you for the update.

baba.opensource commented on 2021-08-22 03:51 (UTC)

For the record, I had serious issues with 2020.3.1.22 & 2020.3.1.23.

I could not create new projects, gradle build would get stuck on old projects, etc.

I started the studio from the command line and noticed a bizzar exception. I have appended it to this comment in case it may be helpful.

Ended up downloading the tar file and manually unpacking, etc. Then everything started working.

Sorry couldn't figure out what was wrong - spent a few hours but not cigar


ERROR - tartup.impl.StartupManagerImpl - id_alg_hss_lms_hashsig 
java.lang.NoSuchFieldError: id_alg_hss_lms_hashsig
        at org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder.<clinit>(Unknown Source)
        at org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.<init>(Unknown Source)
        at com.android.ide.common.signing.KeystoreHelper.generateKeyAndCertificate(KeystoreHelper.java:250)
        at com.android.ide.common.signing.KeystoreHelper.createNewStore(KeystoreHelper.java:139)
        at com.android.ide.common.signing.KeystoreHelper.createDebugStore(KeystoreHelper.java:101)
        at com.android.tools.idea.templates.KeystoreUtils.getOrCreateDefaultDebugKeystore(KeystoreUtils.kt:63)
        at com.android.tools.idea.templates.KeystoreUtils.getSha1DebugKeystoreSilently(KeystoreUtils.kt:74)
        at com.android.tools.idea.templates.KeystoreUtils.getSha1DebugKeystoreSilently$default(KeystoreUtils.kt:72)
        at com.android.tools.idea.npw.model.RenderTemplateModel$TemplateRenderer.init(RenderTemplateModel.kt:145)
        at com.android.tools.idea.npw.model.MultiTemplateRenderer$countDown$2.invoke(MultiTemplateRenderer.kt:132)

kanaida commented on 2021-08-22 02:15 (UTC)

Flatpak works confirmed.

baba.opensource commented on 2021-08-22 02:11 (UTC)

I think there is a patch for arctic fox. Here is how I updated my system


diff --git a/PKGBUILD b/PKGBUILD
index 18f603e..9af30fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 # Maintainer: Kordian Bruck <k@bruck.me>

 pkgname=android-studio
-pkgver=2020.3.1.22
+pkgver=2020.3.1.23
 pkgrel=1
 pkgdesc="The official Android IDE (Stable branch)"
 arch=('i686' 'x86_64')
@@ -23,7 +23,7 @@ options=('!strip')
 source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-$pkgver-linux.tar.gz"
         "$pkgname.desktop"
         "license.html")
-sha256sums=('4adb7b9876ed7a59ae12de5cbfe7a402e1c07be915a4a516a32fef1d30b47276'
+sha256sums=('5317a55d645098c22e79c3433f550893cbafd6ae53a527877ab1d3b2566cb21b'
             '73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4'
             '9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e')

kanaida commented on 2021-08-11 08:02 (UTC)

It's still broken today. I tried it in windows just to see if it works, it works fine on windows 10.

kanaida commented on 2021-08-04 04:01 (UTC) (edited on 2021-08-04 04:03 (UTC) by kanaida)

This latest update causes the IDE to give an error on startup about a corrupt installation. I tried a complete uninstall and reinstall with the same error.

2020.3.1.22-1

Error:

Corrupted Installation Missing essential plugin: org.jetbrains.android Please reinstall Android Studio from scratch.

dreamingincode commented on 2021-07-30 23:59 (UTC)

Note that 'ncurses5-compat-libs' is an optional dependency needed for native debugger support.

duerrwlu commented on 2021-07-29 23:48 (UTC)

Please kindly consider updating this package to the new version numbering system.
My personal changes for the first new release were…
[line 11-12]
pkgver=2020.3.1.22
_build=214.7075529
[line 23 & must add latest checksum @26]
source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-$pkgver-linux.tar.gz"

Although I am not quite sure myself: In the "-beta" package they believe the pkgrel to still be '1' and the (never officially mentioned) ".22" being part of the version number. Furthermore, the build number might be something else or obsolete entirely (I got it from the latest NDK).
The latest checksum can be found directly on the according website, so I won't provide mine. Many thanks.

johnson.lukose commented on 2021-07-16 19:46 (UTC)

[johnson@johnson-x550ep android-studio]$ makepkg -s -f ==> Making package: android-studio 4.2.2.0-1 (Sabtu 17 Jul 2021 03:20:58 ) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found android-studio-ide-202.7486908-linux.tar.gz -> Found android-studio.desktop -> Found license.html ==> Validating source files with sha256sums... android-studio-ide-202.7486908-linux.tar.gz ... Passed android-studio.desktop ... Passed license.html ... Passed ==> Extracting sources... -> Extracting android-studio-ide-202.7486908-linux.tar.gz with bsdtar ==> Removing existing $pkgdir/ directory... ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "android-studio"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: android-studio 4.2.2.0-1 (Sabtu 17 Jul 2021 03:27:55 )

I tried this command twice but same result...

sudo pacman -U --noconfirm android-studio-ide-202.7486908-linux.tar.gz loading packages... error: missing package metadata in android-studio-ide-202.7486908-linux.tar.gz error: 'android-studio-ide-202.7486908-linux.tar.gz': invalid or corrupted package

What shall I do?

thanks.

vigsk17 commented on 2021-07-02 17:21 (UTC) (edited on 2021-07-02 17:21 (UTC) by vigsk17)

Updated PKGBUILD: http://sprunge.us/5Aan8A

ElNick commented on 2021-06-09 14:00 (UTC)

Android Studio 4.2.1 seems to include binaries linked to now outdated ncurses5. So ncurses5-compat-libs is now a runtime dependency. Without that I get "process exited with code 127" error when trying to launch a debugging session.

littlegigs commented on 2021-05-05 15:14 (UTC)

pkgver=4.2.0.24 _build=202.7322048

If anyone wants to generate new checksums for themselves.

abend commented on 2021-04-06 22:56 (UTC)

I had to install this package:

https://archlinux.org/packages/community/x86_64/appmenu-gtk-module/

In order to avoid this error:

Gtk-Message: 19:51:29.711: Failed to load module "appmenu-gtk-module"

IamBored commented on 2021-01-25 15:17 (UTC)

@Nikita790 that is the android beta version not the stable version. this package is updated

OliK commented on 2021-01-24 20:19 (UTC)

Why is it 'Flagged out-of-date (2021-01-23)'? It is the latest stable version on https://developer.android.com/studio#downloads.

kordianbruck commented on 2021-01-24 14:08 (UTC)

No, its not intended, but I'd need to check, if there is a way to disable those update checks.

Nikita790 commented on 2021-01-23 19:03 (UTC)

why is it checking for updates from beta channel? is this intended?

grabarz commented on 2020-12-16 20:22 (UTC)

I'm having the following issue https://issuetracker.google.com/issues/175627097

Any ideas how to fix it?

gamalan commented on 2020-11-29 20:05 (UTC) (edited on 2020-11-29 20:05 (UTC) by gamalan)

have some issue, can't get past this point, even downloading manually

2020-11-29 19:36:09,916 [  89603]  ERROR - llij.ide.plugins.PluginManager - Android Studio 4.1.1  Build #AI-201.8743.12.41.6953283 
2020-11-29 19:36:09,916 [  89603]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_242-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2020-11-29 19:36:09,916 [  89603]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 
2020-11-29 19:36:09,916 [  89603]  ERROR - llij.ide.plugins.PluginManager - Last Action:  
2020-11-29 19:36:09,916 [  89603]  ERROR - llij.ide.plugins.PluginManager - Could not initialize class com.intellij.internal.statistic.service.fus.collectors.FUCounterUsageLogger 
java.lang.NoClassDefFoundError: Could not initialize class com.intellij.internal.statistic.service.fus.collectors.FUCounterUsageLogger

kescherAUR commented on 2020-11-11 19:15 (UTC)

diff --git a/.SRCINFO b/.SRCINFO
index 91da949..c140548 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = android-studio
        pkgdesc = The official Android IDE (Stable branch)
-       pkgver = 4.1.0.19
+       pkgver = 4.1.1.0
        pkgrel = 1
        url = https://developer.android.com/
        arch = i686
@@ -14,10 +14,10 @@ pkgbase = android-studio
        optdepends = gtk2: GTK+ look and feel
        optdepends = libgl: emulator support
        options = !strip
-       source = https://dl.google.com/dl/android/studio/ide-zips/4.1.0.19/android-studio-ide-201.6858069-linux.tar.gz
+       source = https://dl.google.com/dl/android/studio/ide-zips/4.1.1.0/android-studio-ide-201.6953283-linux.tar.gz
        source = android-studio.desktop
        source = license.html
-       sha256sums = 4b9521fc4a6313ad65ff3e14b0f3fb50427d464fe14227555565f46e0ffad202
+       sha256sums = 68032184959c54576f119b7c7c8ded175d848374f3954fa450530d78260dd68b
        sha256sums = 73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4
        sha256sums = 9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e

diff --git a/PKGBUILD b/PKGBUILD
index cc6a417..098d7ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,9 +8,9 @@
 # Maintainer: Kordian Bruck <k@bruck.me>

 pkgname=android-studio
-pkgver=4.1.0.19
+pkgver=4.1.1.0
 pkgrel=1
-_build=201.6858069
+_build=201.6953283
 pkgdesc="The official Android IDE (Stable branch)"
 arch=('i686' 'x86_64')
 url="https://developer.android.com/"
@@ -23,7 +23,7 @@ options=('!strip')
 source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-ide-$_build-linux.tar.gz"
         "$pkgname.desktop"
         "license.html")
-sha256sums=('4b9521fc4a6313ad65ff3e14b0f3fb50427d464fe14227555565f46e0ffad202'
+sha256sums=('68032184959c54576f119b7c7c8ded175d848374f3954fa450530d78260dd68b'
             '73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4'
             '9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e')

doomer1999 commented on 2020-10-28 05:32 (UTC) (edited on 2020-10-28 05:33 (UTC) by doomer1999)

Sorry if this question is really dumb, but I am having two android-studios show up when I run flutter doctor and noticed that there are several folders named android-studio that installing from the AUR created. I'm wondering which one is being used when I open android-studio and which is redundant? these are the files in the folder that was created in my home directory...

/android-studio

PKGBUILD android-studio.desktop src android-studio-4.1.0.19-1-x86_64.pkg.tar.zst license.html android-studio-ide-201.6858069-linux.tar.gz pkg

/pkg android-studio

/src android-studio android-studio.desktop android-studio-ide-201.6858069-linux.tar.gz license.html

thanks!

Paragoumba commented on 2020-10-08 21:12 (UTC) (edited on 2020-10-08 21:14 (UTC) by Paragoumba)

Here's the PKGBUILD's modifications for the new version:

pkgver=4.0.2.0
_build=193.6821437
sha256sums=('bf796e83c5c2978b5e90c04fe0dd704bddb91670da48c0dfe922098702b27736'

Shinmen commented on 2020-09-14 15:51 (UTC) (edited on 2020-09-14 15:55 (UTC) by Shinmen)

get error with makepkg -si

/home/shinmen/Git Rei/android-studio/PKGBUILD: line 35: cd: too many arguments
==> ERROR: A failure occurred in package().
    Aborting... 

relrel commented on 2020-08-08 17:55 (UTC)

I think the Upstream URL https://developer.android.com/studio is more suitable.

sam-cavalcanti commented on 2020-07-16 18:48 (UTC) (edited on 2020-07-16 18:49 (UTC) by sam-cavalcanti)

Hey just make this modifications for get new version:

update pkgver: pkgver=4.0.1.0

update _build: _build=193.6626763

update the sha256sums: sha256sums=('f2f82744e735eae43fa018a77254c398a3bab5371f09973a37483014b73b7597' '73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4' '9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e')

work for me :D

kordianbruck commented on 2020-05-30 21:54 (UTC)

@typebrook your archive is probably corrupt or your disk is full. I can't reproduce this.

typebrook commented on 2020-05-30 10:37 (UTC) (edited on 2020-05-30 10:39 (UTC) by typebrook)

Get error message with yay -S android-studio on 4.0.0.16-1

error: could not extract /opt/android-studio/plugins/Kotlin/kotlinc/lib/kotlin-compiler.jar (Lzma library error:  No progress is possible)

filipot commented on 2020-04-12 12:28 (UTC) (edited on 2020-04-14 13:52 (UTC) by filipot)

Getting this error when yay -S android-studio

error: could not extract /opt/android-studio/plugins/android/lib/layoutlib/data/fonts/NotoSerifCJK-Regular-3.otf (Lzma library error:  No progress is possible)

Downloading directly from https://dl.google.com/dl/android/studio/ide-zips/3.6.2.0/android-studio-ide-192.6308749-linux.tar.gz unzipping with unarchiver unar android-studio.somethingsomething.tar.gz and running ./bin/studio.sh worked for me! (Thanks @skwes)

kordianbruck commented on 2020-03-14 19:35 (UTC)

@benedikt, thanks, I'll send over an email :)

@skwes splendid!

FranklinYu commented on 2020-03-11 02:48 (UTC)

@benedikt It’s better to post it on Gist or some paste service instead of flushing the comment area with 500 lines.

commented on 2020-03-10 17:43 (UTC)

@kordianbruck: Hi i did update the package and would like to contribute the changes. The Version number has changes. I have invertet the git ignore file. And i added the right license.

Code: https://gist.github.com/BenediktBroich/781b3c567567c4f9cad58dc90d7ac4b0

commented on 2020-03-10 16:04 (UTC)

@kordianbruck: i would like to update this package. How can i get the rights for pushing onto the git?

skwes commented on 2020-03-09 08:22 (UTC)

@kordianbruck: I don't use yay and a reinstall with pacman -Rs android-studio && makepkg -si didn't solve it for me. So I deleted the whole package folder and just git cloned it again. That helped :) (maybe yay does the same?)

kordianbruck commented on 2020-03-08 22:33 (UTC)

@skwes @lord4163 I had the same issue. Doing a clean installed fixed it for me. So yay -Rns android-studio and then reinstall.

lord4163 commented on 2020-03-03 19:55 (UTC)

Can't open Android Studio anymore, I get the same error as @skwes.

skwes commented on 2020-02-26 10:25 (UTC)

With the latest version I can't start android-studio at all. I run pacman -Syu so my system should be up to date.

ERROR - llij.ide.plugins.PluginManager - java.util.concurrent.ExecutionException: com.intellij.ide.plugins.MainRunner$StartupAbortedException: Fatal error initializing plugin org.jetbrains.android 
java.util.concurrent.CompletionException: java.util.concurrent.ExecutionException: com.intellij.ide.plugins.MainRunner$StartupAbortedException: Fatal error initializing plugin org.jetbrains.android
[...]

Full Output: http://codepad.org/O8sWhdvw

If I download the package from Google directly and run ./bin/studio.sh I have no problems at all.

kordianbruck commented on 2019-12-11 20:49 (UTC)

@omysho thanks for the hint - I've updated the new release to include the license. Please notice that updating using the build in updater is not supported by this AUR package and is also not the intended use.

Altus commented on 2019-12-07 11:38 (UTC)

@onmysho is right, Android Studio's built-in update does fail with validation. I just tried updating from 3.5.2 to 3.5.3 and it complains about the LICENSES. Any support for this?

omysho commented on 2019-12-06 13:06 (UTC)

@kordianbruck

This package is missing the license/ folder and LICENSE.txt and NOTICE.txt comparing to the one which download from developer.android.com.

Which will cause the Android Studio's built-in update fail with validation. Because such files are missing in the install location(/opt/android-studio).

I wonder if there are some reasons to not include the license/ files?

commented on 2019-11-06 16:31 (UTC)

@anty0 you can uninstall the package and delete the rest in /opt/android-studio folder if you want to purge android-studio. If you want to update the package from AUR again it will work without any problem. its not an issue and won't break anything and its better than re downloading the whole IDE again.

Anty0 commented on 2019-11-04 18:28 (UTC)

@rsplayer No no no :O

Please tell me you are joking.

You realise, that after update like this you can't uninstall or update that package using Pacman? (Actually, you can "uninstall" it, but it would leave garbage in that directory and you would definitely get some warnings during uninstallation.)

Either use package or don't. Using package and then directly messing with its files is really bad practise and I don't recommend anyone doing such thing.

In case you really need quick update - copy whole program directory somewhere to your home directory. Uninstall package android-studio using Pacman. Directly run android studio from your home directory as you would normally do (using bin/studio.sh).

Once you are ready to return to package, just build new version and install.

rahulan commented on 2019-10-28 12:59 (UTC)

Hi, I'm also getting the same error as the previous user. install from aur via pamac.

Thank you.

No which executable found for nodejs 11.1.0 ERROR: Cannot start Android Studio Required tools are missing - check beginning of "./studio.sh" file for details.

commented on 2019-10-26 21:19 (UTC)

Note for all users: you don't need to update android studio IDE from AUR package if you had already installed it.

all you need to do is give user access to /opt/android-studio/ folder and then update it, here the steps:

1- run sudo chown -R $USER:$USER /opt/android-studio/

2- Open android studio IDE and update it

3- run sudo chown -R root:root /opt/android-studio/ (set it back to root)

the normal update from IDE will only download necessary files/patches (example from last update: 100Mb)

while the AUR package update will re-download the whole IDE again. (738 MB)

commented on 2019-10-26 21:17 (UTC)

Note for all users: you don't need to update android studio IDE from AUR package if you had already installed it.

all you need to do is give user access to /opt/android-studio/ folder and then update it, here the steps:

1- run sudo chown -R $USER:$USER /opt/android-studio/

2- Open android studio IDE and update it

3- run sudo chown -R root:root /opt/android-studio/ (set it back to root)

cuihao commented on 2019-10-22 01:16 (UTC)

A user of archlinuxcn repo reported that the package should include "which" (which is no longer in base group) as a dependency [1].

I also ran namcap against the package. It reports several missing dependencies [2]. Could you plz check it?

[1] https://github.com/archlinuxcn/repo/issues/1338 [2] https://cfp.vim-cn.com/cbf3N

akurei commented on 2019-10-09 10:48 (UTC)

@tuxfusion

Easiest way is to install aur/jetbrains-toolbox and download and install from there.

tuxfusion commented on 2019-10-05 00:04 (UTC)

just for the masses of users here. if you rely on this software professionally, it might be far easier and quicker to just download the official zip and run and update it from your home. you save hours a year. good bless!

valinwolf commented on 2019-10-04 23:48 (UTC)

I have created a Gist with a diff for the PKGBUILD that brings the package up to date.

https://gist.github.com/Valinwolf/0e16c9bd4d02cac69593c610cd636f24

plaidshirtpat commented on 2019-09-23 17:53 (UTC)

@iamironz you have an old version of android-studio in your cached aur_repos dir. use rm -rf ~/.local/share/pikaur/aur_repos/android-studio to remove the old repo and re-install.

iamironz commented on 2019-08-23 07:53 (UTC) (edited on 2019-08-23 07:53 (UTC) by iamironz)

Please fix

Can't pull 'android-studio' in '/home/iamironz/.local/share/pikaur/aur_repos/android-studio' from AUR:
Updating 1e303cf..1d5aeec

From https://aur.archlinux.org/android-studio
 * branch            master     -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
    PKGBUILD
Please commit your changes or stash them before you merge.
Aborting

kordianbruck commented on 2019-08-22 18:07 (UTC)

@navarroaxel @braderhart fixed @tuxfusion not sure really - usually you would use the gradle-wrapper to bootstrap it. Why are you thinking it would need to depend on gradle now?

tuxfusion commented on 2019-08-22 14:51 (UTC)

I might be wrong, but the package now depends on gradle? Missing dependency

9944 commented on 2019-08-22 14:29 (UTC)

Please fix pkgrel to match version, it keeps reinstalling. Thanks.

navarroaxel commented on 2019-08-22 14:05 (UTC)

Hi, you forgot to update the pkgrel=1 on the PKGBUILD file.

kordianbruck commented on 2019-08-22 13:28 (UTC)

Thanks for the comments - I should actually clean my build dir, when testing a new release. Updated the release with the fix.

kusky commented on 2019-08-22 10:38 (UTC) (edited on 2019-08-22 10:40 (UTC) by kusky)

Patch diff for the Android Studio 3.5.0.21 error cp: cannot stat 'gradle': No such file or directory

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ package() {

   # Install the application
   install -d $pkgdir/{opt/$pkgname,usr/bin}
-  cp -a bin gradle lib jre plugins build.txt product-info.json $pkgdir/opt/$pkgname
+  cp -a bin lib jre plugins build.txt product-info.json $pkgdir/opt/$pkgname
   ln -s /opt/android-studio/bin/studio.sh $pkgdir/usr/bin/$pkgname

   # Add the icon and desktop file

mastropinguino commented on 2019-08-22 09:25 (UTC)

I run into same issue. Seems that android-studio source doesn't contains any gradle file. To fix it change PKGBUILD at line 37 by removing "grade"

37:  cp -a bin gradle lib jre plugins build.txt product-info.json $pkgdir/opt/$pkgname

became

37:  cp -a bin lib jre plugins build.txt product-info.json $pkgdir/opt/$pkgname

Bye

akurei commented on 2019-08-22 08:54 (UTC)

Having the same error as tixialu

Gavin_Andre commented on 2019-08-22 08:45 (UTC) (edited on 2019-08-22 08:46 (UTC) by Gavin_Andre)

@kordianbruck install error: ==> Making package: android-studio 3.5.0.21-1 (Thu 22 Aug 2019 04:42:37 PM CST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Entering fakeroot environment... ==> Starting package()... cp: cannot stat 'gradle': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... Error making: android-studio

frojnd commented on 2019-08-21 08:47 (UTC)

Yeah, update please, 3.5 is out.

iamironz commented on 2019-08-21 07:47 (UTC)

Update please, 3.5.0 is already rolled out

garyhf commented on 2019-08-21 03:17 (UTC)

I am waiting for the new update 3.5. Thanks for your job.

omishapatel1704 commented on 2019-08-08 09:20 (UTC)

Awesome tool for download facebook private videos https://www.freefbdown.com/facebook-private-video-downloader/

kordianbruck commented on 2019-07-15 03:01 (UTC)

@Pikachu thanks for double checking. Got a bit worried there.

Pikachu commented on 2019-07-15 01:13 (UTC) (edited on 2019-07-15 01:24 (UTC) by Pikachu)

FYI, Pamac update to 3.4.2.0-1 failed with:

==> Validating source files with sha256sums... android-studio-ide-183.5692245-linux.tar.gz ... FAILED android-studio.desktop ... Passed ==> ERROR: One or more files did not pass the validity check!

EDIT: Must have corrupted in transit. Clearing Pamac cache and tmp directory rectified the issue . . .

alex4401 commented on 2019-07-10 00:27 (UTC) (edited on 2019-07-10 00:29 (UTC) by alex4401)

Please update the package to 3.4.2.0 (183.5692245) https://pastebin.com/xqCYVtMH

psyriccio commented on 2019-05-20 08:33 (UTC)

please update ver 3.4.1.0 (183.5522156)

https://pastebin.com/UiB3vzea

kordianbruck commented on 2019-04-29 15:43 (UTC)

@FranklinYu thanks for pointing it out, I'll consider it in the next update.

FranklinYu commented on 2019-04-29 15:29 (UTC) (edited on 2019-04-29 15:30 (UTC) by FranklinYu)

Since commit 1bdc21ef82bb, the source package has been changed from Zip file to Tarball. I think the build-time dependency unzip can be removed.

saabzero commented on 2019-04-20 15:07 (UTC)

With the Update to android studio 3.4 i also had to copy the build.txt file to /opt/android-studio/build.txt in order for it to load any plugins

Arlanthir commented on 2019-04-19 16:42 (UTC)

I added the build.txt file to the cp -a ... command in the PKGBUILD file and it seems to have worked. Couldn't find any product-info.json so I ignored it.

green4ao commented on 2019-04-19 12:36 (UTC)

Unable to install any of plugins due to incompatibility of Android Studio version.

AsamK commented on 2019-04-18 07:27 (UTC) (edited on 2019-04-19 09:03 (UTC) by AsamK)

I just had the same issue but it's a packaging issue. It works with the original android-studio-ide tar.gz version.

You need adapt the PKGBUILD file to also copy the files build.txt and product-info.json from the source tar to the /opt/android-studio directory. Then the kotlin plugin is detected as compatible.

Doctor_Drive commented on 2019-04-18 06:55 (UTC)

If you are using Kotlin I don't recommend to update to 3.4 until this is fixed https://youtrack.jetbrains.com/issue/KT-31097

I had to downgrade.

rubenwardy commented on 2019-03-31 21:40 (UTC)

I'm getting this error when attempting to install this, even when completely removing and reinstalling:

error: could not extract /opt/android-studio/plugins/android/lib/layoutlib.jar (Lzma library error: No progress is possible)

edacval commented on 2019-02-11 10:06 (UTC) (edited on 2019-02-11 10:38 (UTC) by edacval)

@stefan65 you can change builddir to place with more space, for example: echo "BUILDDIR=/var/tmp/makepkg" >> ~/.config/pacman/makepkg.conf

stefan65 commented on 2019-02-11 09:52 (UTC)

Is there any chance of improving the installation procedure when running a system with 8 GB (or less) of RAM?

I only have 8 GB of RAM in my system and therefore /tmp is 4 GB big. When installing updates for the android-studio package, this leads to a failure if I do not delete the downloaded ZIP file after unzipping and the unzipped folder when starting package compression.

Anty0 commented on 2019-01-16 16:51 (UTC)

@KyronNextLevel Isn't fakeroot part of base-devel?

These packages shouldn't be included as dependencies for aur packages according to wiki. Am I right?

KyronNextLevel commented on 2019-01-16 16:39 (UTC)

A dependency is missing for the last manjaro. I had to manually install fakeroot.

racks commented on 2018-12-10 19:39 (UTC) (edited on 2018-12-10 19:40 (UTC) by racks)

@Anty0 @Pryka Thanks I will try out symlink as my machine only has 8 GB of RAM. I tried to resize my tmp folder but when I rebooted I had a whole bunch of issues when booting up.

Anty0 commented on 2018-12-10 10:15 (UTC)

@racks I had this problem too. I used to symlink Android Studio SDK Manager's folder outside of the tmp folder, because I didn't have enough ram to just resize tmp.

Pryka commented on 2018-12-10 08:13 (UTC) (edited on 2018-12-10 08:15 (UTC) by Pryka)

@racks

I did.

android-studio heavily use /tmp/ which is tmpfs in Arch. And by default its half of your RAM. In some cases that can be not enough.

You can temporarily resize /tmpfs by "mount -o remount,size=16G,noatime /tmp"

Where size= is your desired size. It will come back to default after a reboot. Also, it shouldn't be more than your RAM size. Probably also not your max, cause you can end with OOM easily.

racks commented on 2018-12-10 06:00 (UTC)

Anyone had issues with their tmp folder being too small?

FranklinYu commented on 2018-12-04 16:53 (UTC) (edited on 2018-12-04 16:53 (UTC) by FranklinYu)

I know that most user would prefer pre-compiled version, but the point is, if there is a version that build from source in AUR, it is possible to include it in community repository. Look at intellij-idea-community-edition for example, user don't have to actually compile it. Binary package like intellij-idea-ce will never be in Community repository.

KurtM.Clymer commented on 2018-12-04 11:48 (UTC) (edited on 2018-12-04 11:48 (UTC) by KurtM.Clymer)

Great.As a way to begin proper, you have to observe the essential and really simple steps that we will talk about under and proper after that, what you get is a really good and enticing pure house ornament within the type of indoor roses. They not solely scent candy and likable, they're additionally very enticing to have a look at https://uptheproduction.com/best-4x4-grow-tent/">Grow Indoor Plants Blog.

kordianbruck commented on 2018-12-03 17:45 (UTC)

@FranklinYu we could if there really is somebody that wants to build it from source. Right now I don't know about anybody and I also think its highly unlikely that this will ever happen. Feel free to contact me in case this is different.

FranklinYu commented on 2018-12-03 16:21 (UTC) (edited on 2018-12-03 16:21 (UTC) by FranklinYu)

Shall we rename this package to android-studio-bin? In future someone may want to build the studio from source (and potentially try to submit it into community repository).

Xeno_Idaltu commented on 2018-10-31 05:47 (UTC)

Installed without any problem. =D

If you are editing Android 8.1 then Android Studio will ask to download further dependencies.

Cysioland commented on 2018-10-02 15:43 (UTC)

android-studio/: Can't restore time android-studio/.SRCINFO: Could not chdir android-studio/.SRCINFO android-studio/PKGBUILD: Could not chdir android-studio/PKGBUILD android-studio/android-studio.desktop: Could not chdir android-studio/android-studio.desktop bsdtar: Error exit delayed from previous errors.

meribold commented on 2018-09-26 04:57 (UTC)

I ran into an issue with UI scaling after upgrading to 3.2.0.26-1: all the icons were huge. I fixed this by going to "Help" -> "Edit Custom VM Options..." and adding -Dhidpi=false. Maybe this will help someone.

bu.domino commented on 2018-09-04 11:26 (UTC) (edited on 2018-09-04 11:27 (UTC) by bu.domino)

Installing gradle is such a pain in the kisser because of my slow internet. Is there a way to integrate gradle into android studio's PKGBUILD?

luki30210 commented on 2018-08-09 13:03 (UTC)

@unitrix for me it was working fine.

naxuroqa commented on 2018-08-08 04:53 (UTC)

I just flagged the package out-of-date, but it seems the pkgbuild is already updated to 3.1.4. Weird.

unitrix commented on 2018-08-03 19:29 (UTC)

Anyone else having issues with android-studio 3.1.3.0-1 or is it just me cause I am facing issues like lagging constantly.

davidmcinnis commented on 2018-06-25 13:08 (UTC)

Please consider adding libvirt as an optional dependency for hardware-accelerated app emulation.

aswinmohanme commented on 2018-06-24 02:46 (UTC)

Hey Guys, I'm currently running on Manjaro Deepin 17.1.10. I tried to install using Pamac and this Error message is shown.

android-studio/jre.... write failed ...a bunch of fiels... bsdtar: bsdtar: Error exit delayed from previous errors.

raefaldhia commented on 2018-05-13 08:49 (UTC)

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 (UTC)

@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 (UTC)

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

FranklinYu commented on 2018-04-27 14:43 (UTC) (edited on 2018-04-27 14:44 (UTC) by FranklinYu)

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 (UTC)

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 (UTC)

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

coderobe commented on 2018-04-12 13:31 (UTC)

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 (UTC)

Did you commit an updated .SRCINFO file?

Philzli commented on 2018-04-12 06:04 (UTC)

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

coderobe commented on 2018-04-11 16:54 (UTC)

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

tad commented on 2018-03-29 22:27 (UTC)

Huh, I guess I'm the maintainer now?

I'll get this updated ASAP.

updown commented on 2018-03-28 18:38 (UTC)

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 (UTC) (edited on 2018-03-22 02:02 (UTC) by wedneyyuri)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

How to get kvm acceleration for AVD ?

newbOnArch commented on 2017-10-10 18:20 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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.

commented on 2017-05-15 11:05 (UTC)

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'

commented on 2017-05-15 11:05 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

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

test0 commented on 2017-01-14 15:25 (UTC) (edited on 2017-01-14 15:31 (UTC) by test0)

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 (UTC)

@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 (UTC)

mksdcard relies on additional 32 bit libraries: lib32-ncurses lib32-gcc-libs It would be a good idea to add them to the dependencies.

anemo commented on 2016-10-24 06:20 (UTC)

The download details are available here. http://tools.android.com/download/studio/builds/2-2-2

nlern commented on 2016-10-20 13:08 (UTC)

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

anemo commented on 2016-10-20 11:49 (UTC)

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

mh00h commented on 2016-10-17 03:47 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

@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 (UTC) (edited on 2016-09-22 17:57 (UTC) by helloworld1)

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 (UTC) (edited on 2016-09-22 17:48 (UTC) by jfcandidofilho)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

Please update it to 2.2 stable from 2.1.3

tad commented on 2016-09-19 18:01 (UTC)

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 (UTC)

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

jowi24 commented on 2016-08-21 15:18 (UTC)

There is a security update waiting...

gim commented on 2016-08-20 21:22 (UTC)

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

goetzc commented on 2016-08-20 20:27 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2016-05-03 15:16 (UTC) by ozz)

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 (UTC)

The android-source optdep should be android-sources

brittyazel commented on 2016-04-08 19:00 (UTC)

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 (UTC) (edited on 2016-04-08 19:01 (UTC) by brittyazel)

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 (UTC)

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

proninyaroslav commented on 2016-04-08 15:07 (UTC) (edited on 2016-04-08 15:08 (UTC) by proninyaroslav)

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 (UTC)

Looks like 2.0 finally hit release!

Scimmia commented on 2016-04-04 23:17 (UTC)

Why isn't this using depends_x86_64/depends_i686?

danyf90 commented on 2016-02-28 20:20 (UTC)

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

ilpianista commented on 2016-02-28 12:22 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

works fine now also on plasma after jdk 8u66 update

Vi0L0 commented on 2015-10-18 14:56 (UTC)

@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 (UTC)

@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 (UTC)

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

joelpet commented on 2015-10-15 06:07 (UTC) (edited on 2015-10-15 06:08 (UTC) by joelpet)

$ 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 (UTC)

@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 (UTC)

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 (UTC)

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

Vi0L0 commented on 2015-10-11 11:26 (UTC)

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 (UTC)

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 (UTC)

you're right, checksum updated!

PlqnctoN commented on 2015-10-05 23:02 (UTC)

@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 (UTC)

@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 (UTC)

@pianogamer5: fixed

commented on 2015-10-03 02:40 (UTC)

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.

NickGeek commented on 2015-10-01 04:30 (UTC)

Android Studio 1.4 is now on the stable channel.

EvgheniiOrenciuc commented on 2015-09-01 18:11 (UTC)

Sorry guys, where is the tarball file?

soomsoom commented on 2015-08-30 11:51 (UTC)

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

poom commented on 2015-08-29 06:40 (UTC)

Sorry, 1.3.2 is still in beta channel.

poom commented on 2015-08-28 13:42 (UTC)

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 (UTC)

@markuski: "1.3.2 to the beta channel"

markuski commented on 2015-08-28 10:12 (UTC)

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

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

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 (UTC)

Android Studio 1.3.1 is available, :)

lopsided98 commented on 2015-06-11 13:37 (UTC)

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 (UTC)

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

arran4 commented on 2015-06-11 10:25 (UTC)

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

moscar commented on 2015-05-03 20:31 (UTC)

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 (UTC)

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

FrozenCow commented on 2015-05-01 13:05 (UTC)

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

moscar commented on 2015-04-30 19:26 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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

howardad commented on 2014-12-21 14:24 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

panchtatvam commented on 2014-12-14 12:54 (UTC)

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 (UTC)

Thanks!

danyf90 commented on 2014-12-13 08:12 (UTC)

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

soomsoom commented on 2014-12-13 08:09 (UTC)

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 (UTC)

1.0.1 is not in stable channel yet

soomsoom commented on 2014-12-13 07:35 (UTC)

There is a new version: 1.0.1

hexchain commented on 2014-12-09 02:00 (UTC)

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 (UTC)

1.0.0 is out.

soomsoom commented on 2014-12-05 08:56 (UTC)

RC4 has rolled out

danyf90 commented on 2014-11-29 11:36 (UTC)

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

ashhar24 commented on 2014-11-28 20:16 (UTC)

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 (UTC)

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

mrunion commented on 2014-11-27 01:07 (UTC)

Cool. Thanks for the update, guys.

GZep commented on 2014-11-26 23:57 (UTC)

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 (UTC)

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

mrunion commented on 2014-11-26 23:29 (UTC)

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

GZep commented on 2014-11-26 08:05 (UTC)

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

danyf90 commented on 2014-11-25 09:29 (UTC)

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 (UTC)

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 (UTC)

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

danyf90 commented on 2014-11-02 14:55 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

psychoteadrink commented on 2014-11-01 17:51 (UTC)

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 (UTC)

Thanks!

danyf90 commented on 2014-10-29 13:11 (UTC)

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 (UTC)

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 :)

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

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

WovenTales commented on 2014-10-16 02:33 (UTC)

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

jonas.vautherin commented on 2014-10-14 09:24 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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-24 22:52 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

Worked fine now. Thanks!

danyf90 commented on 2014-09-08 12:18 (UTC)

@mrunion: check if your problem is solved now

mrunion commented on 2014-09-04 22:29 (UTC)

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 (UTC)

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

mrunion commented on 2014-08-30 02:49 (UTC)

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 (UTC)

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 (UTC)

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.

dieghen89 commented on 2014-06-27 15:45 (UTC)

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 (UTC)

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

commented on 2014-06-27 14:21 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@SoleSoul In which wiki?

SoleSoul commented on 2014-06-16 17:35 (UTC)

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 (UTC)

Maybe you are using openJDK instead of Oracle java

SoleSoul commented on 2014-06-16 17:01 (UTC)

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

neTpK commented on 2014-06-16 15:03 (UTC)

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.

tuliohmendes commented on 2014-06-15 13:42 (UTC)

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 (UTC)

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.

commented on 2014-06-13 02:22 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

it's already present!

tuliohmendes commented on 2014-05-06 17:00 (UTC)

It seems that lib32-fontconfig is a required dependency.

wenLiangcan commented on 2014-04-25 17:35 (UTC)

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 :(

danyf90 commented on 2014-04-22 11:57 (UTC)

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

Chiggins commented on 2014-04-21 22:17 (UTC)

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 (UTC)

I have the same problem.

Ichigo-Roku commented on 2014-04-09 12:21 (UTC)

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.

wget commented on 2014-03-07 11:01 (UTC)

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 (UTC)

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

lluixhi commented on 2014-01-24 03:24 (UTC)

0.4.3 is out.

TamCore commented on 2014-01-20 06:23 (UTC)

It also works with AUR packages if Yaourt is used.

danyf90 commented on 2014-01-19 22:23 (UTC)

i think it works only for package from official repository

developej commented on 2014-01-19 16:03 (UTC)

@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 (UTC)

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

commented on 2014-01-18 12:55 (UTC)

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 (UTC)

update it from aur, too :D

commented on 2014-01-18 12:37 (UTC)

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?

commented on 2014-01-18 12:36 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

vehiclee commented on 2014-01-08 12:53 (UTC)

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 (UTC)

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

the-k commented on 2013-12-19 13:49 (UTC)

pkgver=0.4.0 pkgrel=1 _build=132.883541 _patch=132.955124 sha512sums=( 'b5c7b4b7d7c692375b13906d933b33ae39efcb6ac8a53937b1a8472b97782ee96666bec11261acb14ca40cc0e56bb8f0627a2a438332cdcd089d2f1b1f77b0b1' 'fa3567f328af45d265c4fabf3e41b55d8e8cccfa9675e745f07dd6ae41950dd53a2ef41ef1caee86643f5c2ddf7a7681ee17155e208a7b6fdae6c0537dfc0c94' '45297fc43748f416a26f39c17eb9802139c077b3b27789d170bfd9324aa2f564e2bd572f404f90c42ec28183af7e8f849eedd96e5c680639c4be9ade79059620')

danyf90 commented on 2013-12-13 10:01 (UTC)

no, current version is 0.3.7

Pierrre commented on 2013-12-13 09:52 (UTC)

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 (UTC)

pkgver=0.3.6 pkgrel=1 _build=132.883541 _patch=132.917931 sha256sums=('9463b6fde6cdc1f9ef781f5aab0bad64566c54fdf491d12f714ab2d5aac9b0ce' '2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d' '8d8b3925688f191b6127e7e986f150c366b2e98c162cbdb1a9eaecfe847c26fc')

developej commented on 2013-11-15 13:33 (UTC)

:: 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 (UTC)

pkgver=0.3.5 pkgrel=1 _build=132.883541 _patch=132.910074 sha256sums=('9463b6fde6cdc1f9ef781f5aab0bad64566c54fdf491d12f714ab2d5aac9b0ce' '2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d' '5c5b57d1752089ade8857821bf8c7839fa9744ad9e59901ea316861250c8dce1')

k2s commented on 2013-11-11 15:37 (UTC)

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

k2s commented on 2013-11-10 17:27 (UTC)

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 (UTC)

pkgver=0.3.4 pkgrel=1 _build=132.883541 _patch=132.908450 sha256sums=('9463b6fde6cdc1f9ef781f5aab0bad64566c54fdf491d12f714ab2d5aac9b0ce' '2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d' '6bb75cdb91170d577ee93866b7a8abf2bbc6f2c8ec8e62f94d40b88d504b604b')

egore911 commented on 2013-11-01 10:20 (UTC)

pkgver=0.3.2 pkgrel=1 _build=130.737825 _patch=132.893413 sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1' '2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d' '0178ddb479a12489312b09efb33e794788f6bd5735120c909d25a29f2858c6cc')

sjakub commented on 2013-10-24 18:20 (UTC)

When are you going to fix the permission problem?

adej commented on 2013-10-23 18:37 (UTC)

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 (UTC)

pkgver=0.3.0 pkgrel=1 _build=130.737825 _patch=132.878379 sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1' '2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d' '3e26d59cbf149150453dd148d87678e24c36a5f2752c1bce04ee732eafa8024f')

adej commented on 2013-10-09 05:59 (UTC)

pkgver=0.2.13 pkgrel=1 _build=130.737825 _patch=132.863010 sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1' '2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d' '661f6f8a90bf8dd0f4acf7bb208cf00ec08fb2b7386ec17853dac65965d9104b')

jowi24 commented on 2013-10-06 11:07 (UTC)

giflib dependency is missing

ryenus commented on 2013-10-05 00:47 (UTC)

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 (UTC)

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 (UTC)

pkgver=0.2.10 pkgrel=1 _build=130.737825 _patch=132.843336 sha256sums=('f7b2c9a9b04984c688d68de6b6da17cce3b46dfc71a14cd4a7a41128a26212e1' '2bba1530d217d055441b1075f53f09b172bdb56ae3908ef80201fd2ba766b33d' '81bb53f19c2d0853ba2dc13c906a9803a43443e022f870bf8735a364f925c4d9')

iostream commented on 2013-09-25 02:22 (UTC)

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

felixonmars commented on 2013-09-18 00:32 (UTC)

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 (UTC)

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

aorth commented on 2013-09-17 08:41 (UTC)

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

adej commented on 2013-09-12 14:55 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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

mus commented on 2013-08-31 13:30 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

It still installs files with wrong permissions.

ma2t commented on 2013-08-27 13:02 (UTC)

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

OttoA commented on 2013-08-19 14:44 (UTC)

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

commented on 2013-08-17 11:35 (UTC)

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 (UTC)

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

commented on 2013-08-15 10:55 (UTC)

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.

egore911 commented on 2013-07-31 15:45 (UTC)

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 (UTC)

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

TamCore commented on 2013-07-23 03:56 (UTC)

Bit busy the last days. Will update this evening.

evana commented on 2013-07-23 03:17 (UTC)

The package version needs a bump to 0.2.1

wolftankk commented on 2013-07-12 05:58 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

File permissions are still wrong.

TamCore commented on 2013-06-08 12:15 (UTC)

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 (UTC)

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 (UTC)

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

sjakub commented on 2013-06-05 04:34 (UTC)

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

sjakub commented on 2013-06-05 04:04 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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:20 (UTC)

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 (UTC)

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

sjakub commented on 2013-05-28 19:25 (UTC)

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 (UTC)

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

TamCore commented on 2013-05-28 18:45 (UTC)

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

ma2t commented on 2013-05-28 17:19 (UTC)

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 (UTC)

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

dlin commented on 2013-05-22 08:36 (UTC)

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 (UTC)

Your JRE version is to old.

commented on 2013-05-21 08:16 (UTC)

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 (UTC)

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

commented on 2013-05-18 21:01 (UTC)

@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 (UTC)

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 (UTC)

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 :)

commented on 2013-05-17 20:59 (UTC)

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

sjakub commented on 2013-05-17 20:02 (UTC)

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 (UTC)

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

neuromancer85 commented on 2013-05-17 15:12 (UTC)

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 (UTC)

Maybe removing ~/.AndroidStudioPreview would help.

commented on 2013-05-17 12:04 (UTC)

@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 (UTC)

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

mssun commented on 2013-05-17 09:53 (UTC)

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 (UTC)

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

ElAngelo commented on 2013-05-17 05:54 (UTC)

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.

commented on 2013-05-16 20:08 (UTC)

@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 (UTC)

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 (UTC)

@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.

commented on 2013-05-16 13:56 (UTC)

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 (UTC)

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

TamCore commented on 2013-05-16 12:48 (UTC)

@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 (UTC)

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

TamCore commented on 2013-05-16 11:25 (UTC)

@sinatosk Now there is one :)

sinatosk commented on 2013-05-16 10:17 (UTC)

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

TamCore commented on 2013-05-16 09:51 (UTC)

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 (UTC)

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 (UTC)

Is fixed with the next pkgbuild update :)

1ace commented on 2013-05-16 06:53 (UTC)

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 (UTC)

- 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

commented on 2013-05-16 06:18 (UTC)

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.

xgdgsc commented on 2013-05-16 04:55 (UTC)

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.

donniezazen commented on 2013-05-16 04:30 (UTC)

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 (UTC)

==> 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

fixman commented on 2013-05-15 22:06 (UTC)

That was fast.

TamCore commented on 2013-05-15 19:53 (UTC)

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