android-studio-beta

maintainer yurikoles · 21 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source URL uses Google's redirector (gvt1.com), which hosts official Android Studio beta binaries;虽非标准域名 but is a legitimate distribution endpoint from Google, and the download is verified via SHA-256 checksum.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source URL uses Google's redirector (gvt1.com), which hosts official Android Studio beta binaries;虽非标准域名 but is a legitimate distribution endpoint from Google, and the download is verified via SHA-256 checksum.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:58 "https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${pkgver}/${_pkgname}-${_subver}-linux.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
2#
3# Based on aur/android-studio by Kordian Bruck <k@bruck.me>
4# Based on aur/android-studio-canary by tilal6991 <lalitmaganti@gmail.com>, vanpra <pranavmaganti@gmail.com>
5# Contributor: Tad Fisher <tadfisher at gmail dot com>
6#
7# Pull requests are welcome here: https://github.com/yurikoles-aur/android-studio-beta
8# SHA-256 Checksums and binary links can be found here: https://developer.android.com/studio/archive
9
10PKGEXT='.pkg.tar'
11_pkgname=android-studio
12pkgname="${_pkgname}-beta"
13pkgver=2026.1.2.8
14_subver='quail2-rc1'
15pkgrel=1
16pkgdesc='The Official Android IDE (Beta branch)'
17arch=('i686' 'x86_64')
18url='https://developer.android.com/studio/preview'
19license=('Apache-2.0')
20depends=(
21 'alsa-lib'
22 'fontconfig'
23 'freetype2'
24 'gcc-libs'
25 'bzip2'
26 'libedit'
27 'libxcrypt-compat'
28 'libxml2'
29 'libxrender'
30 'libxtst'
31 'python'
32 'which'
33)
34makedepends=('zip')
35optdepends=(
36 'android-emulator'
37 'android-ndk: to implement parts of your android app in native code'
38 'android-platform'
39 'android-sdk'
40 'android-sdk-build-tools: aapt, aapt2, aidl, apksigner, bcc_compat, d8, dexdump, dx, lld, llvm-rs-cc, mainDexClases, split-select, zipalign'
41 'android-sdk-cmdline-tools-latest: apkanalyzer, avdmanager, lint, retrace, screenshot2, sdkmanager'
42 'android-sdk-platform-tools: adb, dmtracedump, e2fsdroid, etc1tool, fastboot, hprof-conv, make_f2fs, make_f2fs_casefold, mke2fs, sload_f2fs, sqlite3, systrace'
43 'android-support-repository'
44 'android-tools: adb, fastboot, e2fsdroid,mke2fs.android, mkbootimg, ext2simg.'
45 'e2fsprogs'
46 'git: for flutter'
47 'glib2: GTK+ look and feel'
48 'gtk2: GTK+ look and feel'
49 'gvfs: GTK+ look and feel'
50 'lib32-gcc-libs: for aapt and mksdcard'
51 'lib32-zlib: for aapt'
52 'ncurses5-compat-libs: native gdb support'
53 'usbutils'
54)
55provides=("android-studio=${pkgver}")
56options=('!strip')
57source=(
58 "https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${pkgver}/${_pkgname}-${_subver}-linux.tar.gz"
59 "${pkgname}.desktop"
60)
61sha256sums=('b53303df08048345bb5ac25bfe159731dcea3430f4e2e27b8a60338161bd2667'
62 'c4a15624eb258acbe119567b044f4a54be4ebb41f05e6f6cb4d941d130dc714f')
63
64if [ "${CARCH}" = "i686" ]; then
65 depends+=('java-environment')
66fi
67
68build() {
69 cd "${_pkgname}"
70
71 # Change the product name to produce a unique WM_CLASS attribute
72 mkdir -p idea
73 bsdtar -Oxf lib/resources.jar idea/AndroidStudioApplicationInfo.xml \
74 | sed "s/\"Studio\"/\"Studio Beta\"/" > idea/AndroidStudioApplicationInfo.xml
75 zip -r lib/resources.jar idea
76 rm -r idea
77}
78
79package() {
80 cd "${_pkgname}"
81
82 # Install the application
83 install -d "${pkgdir}"/{opt/"${pkgname}",usr/bin}
84 cp -r . "${pkgdir}/opt/${pkgname}/"
85 ln -s "/opt/${pkgname}/bin/studio.sh" "${pkgdir}/usr/bin/${pkgname}"
86
87 # Copy licenses
88 install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
89
90 # Add the icon and desktop file.
91 install -Dm644 bin/studio.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
92 install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
93
94 chmod -R ugo+rX "${pkgdir}/opt"
95}
96

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion