@ulidtko I would suggest selecting an older default Java version with archlinux-java
.
Search Criteria
Package Details: android-sdk 26.1.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/android-sdk.git (read-only, click to copy) |
---|---|
Package Base: | android-sdk |
Description: | Google Android SDK |
Upstream URL: | https://developer.android.com/studio/releases/sdk-tools.html |
Keywords: | android development |
Licenses: | custom |
Submitter: | None |
Maintainer: | dreamingincode |
Last Packager: | dreamingincode |
Votes: | 1479 |
Popularity: | 0.170404 |
First Submitted: | 2007-11-12 19:26 (UTC) |
Last Updated: | 2022-03-22 20:58 (UTC) |
Dependencies (22)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxrender
- libxtst
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- android-emulatorAUR (android-emulator-canaryAUR, android-emulator-dummyAUR) (optional) – emulator has become standalone since 25.3.0
- Show 10 more dependencies...
Required by (50)
- android-aarch64-kirigami (make)
- android-aarch64-openssl
- android-aarch64-qt6-base
- android-armv7a-eabi-openssl
- android-armv7a-eabi-qt6-base
- android-auto-api-simulators
- android-constraint-layout
- android-google-play-apk-expansion
- android-google-play-licensing
- android-google-repository
- android-platform
- android-platform-13
- android-platform-14
- android-platform-15
- android-platform-16
- android-platform-17
- android-platform-18
- android-platform-19
- android-platform-20
- android-platform-21
- Show 30 more...
Sources (5)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 44 Next › Last »
dreamingincode commented on 2020-06-01 18:26 (UTC)
ulidtko commented on 2020-06-01 16:26 (UTC)
With java-11-openjdk x86_64 the tools from android-sdk fail for me, like so:
$ sdkmanager --list Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 5 more
From half a day of research (I'm not really into java), I understand that the JAXB apis, including the package javax.xml.bind, have been deprecated in Java 9 & 10, and dropped altogether from JDK 11.
Okay, that's fine. But how to fix it?.. Everyone online is quick to suggest adding jakarta.xml.bind dependency to my Maven/Gradle/SBT build... But with aur/android-sdk, I don't have such thing. My attempts to --add-modules to the systemwide java were not successful.
@dreamingincode are you aware of this problem? I don't remember making any java-related customizations on this machine; and as-is, this package seems completely broken here.
dreamingincode commented on 2020-03-11 07:51 (UTC) (edited on 2020-03-11 08:50 (UTC) by dreamingincode)
@benedikt
cmdline-tools should be a different package because it's installed at android-sdk/cmdline-tools/latest, not android-sdk/tools of this package. They show up as different packages in Android Studio SDK manager as well, and they can be installed side-by-side.
Update: The new package has been published at https://aur.archlinux.org/packages/android-sdk-cmdline-tools-latest/
<deleted-account> commented on 2020-03-10 17:54 (UTC)
@dreamingincode: This package could be updated to the new commandline tools. This is an alternative to the full android studio wit sdkmanager command line.
https://dl.google.com/android/repository/commandlinetools-linux-6200805_latest.zip
I would like to do this.
AndreVallestero commented on 2020-02-25 16:32 (UTC)
Please add support for aarch64. This can be simply done by adding 'aarch64' to the arch list and by replacing lib32 packages with their 64bit equivalents (gcc-libs, glibc).
AndreVallestero commented on 2020-02-25 16:28 (UTC)
sdkmanager is intended to be used with jdk8 or lower.
It can work with jdk9 and jdk10 with the following export: export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
It will NOT work with jdk11 or higher as java.se.ee is removed after jdk 10
adabru commented on 2019-12-17 09:47 (UTC)
I ran into Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema when running sdkmanager. Googling suggested that sdkmanager supports only jdk8, so installing jdk8/jdk8-openjdk solved the issue for me.
dreamingincode commented on 2019-02-24 19:07 (UTC)
Please stop requesting update of this package to 28 or something before you checked things in the pinned comment. This package is NOT the Android SDK Platform (the one with Android release versions), but the SDK tools. If you want to update the former, please post comment at android-platform(-*) in AUR.
pvagner commented on 2019-02-24 17:53 (UTC)
Hello,
It would be awesome to update this to android-sdk 28 by using android free from f-droid folks. https://mirror.f-droid.org/android-free/repository/repository-10.xml https://forum.f-droid.org/t/call-for-help-making-free-software-builds-of-the-android-sdk/4685/41
dreamingincode commented on 2017-12-16 08:56 (UTC) (edited on 2018-04-13 17:36 (UTC) by dreamingincode)
The latest SDK Tools is still 26.1.1 on https://dl.google.com/android/repository/repository2-1.xml (C-f for <remotepackage path="tools">), which is the source for Android Studio SDK Manager. If you flag this package as out-of-date, please provide the download URL.</remotepackage>
Pinned Comments
dreamingincode commented on 2020-03-11 07:51 (UTC) (edited on 2020-03-11 08:50 (UTC) by dreamingincode)
@benedikt
cmdline-tools should be a different package because it's installed at android-sdk/cmdline-tools/latest, not android-sdk/tools of this package. They show up as different packages in Android Studio SDK manager as well, and they can be installed side-by-side.
Update: The new package has been published at https://aur.archlinux.org/packages/android-sdk-cmdline-tools-latest/
dreamingincode commented on 2017-04-18 11:40 (UTC) (edited on 2017-04-19 07:28 (UTC) by dreamingincode)