FYI: for me, the fonts look much better *without* the flags -Dawt.useSystemAAFontSettings=lcd, -Dswing.aatext=false
(Gnome 3.8, x86_64)
Search Criteria
Package Details: android-studio 2024.2.1.12-1
Package Actions
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: | 1081 |
Popularity: | 7.14 |
First Submitted: | 2013-05-15 19:45 (UTC) |
Last Updated: | 2024-12-02 21:46 (UTC) |
Dependencies (8)
- alsa-lib
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- libxrender
- libxtst
- which (busybox-coreutilsAUR)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (optional) – GTK+ look and feel
- libgl (nvidia-340xx-utilsAUR, libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, libglvnd) (optional) – emulator support
- ncurses5-compat-libsAUR (optional) – native debugger support
Required by (8)
- android-material-icons (optional)
- android-studio-launcher
- flutter-beta (optional)
- flutter-dev (optional)
- flutter-git (optional)
- flutter-intellij-patch (optional)
- jdk-android-studio
- kode-studio-bin (optional)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 39 40 41 42 43 44 45 46 47 48 49 .. 53 Next › Last »
OttoA commented on 2013-08-19 14:44 (UTC)
<deleted-account> 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!
<deleted-account> 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.
Pinned Comments
C0rn3j commented on 2024-10-26 17:04 (UTC)
2024.2 added a Wayland backend, not enabled by default. Works fine for me so far.
https://blog.jetbrains.com/platform/2024/07/wayland-support-preview-in-2024-2/