[Android-tools-devel] Serious bugs and errors in android tools and gradle build process on Debian 10 Buster.

Alexander remake347 at gmail.com
Wed Aug 14 20:12:19 BST 2019


В Wed, 14 Aug 2019 20:50:54 +0200
Andreas Schildbach <andreas at schildbach.de> пишет:

> The warnings are nothing to worry about. But they're ugly, yes. If you
> use the OpenJDK8 package (rather than OpenJDK11) the warnings will go
> away.
> 
> 
> On 14/08/2019 19.31, Alexander wrote:
> > В Wed, 14 Aug 2019 15:33:01 +0200
> > Andreas Schildbach <andreas at schildbach.de> пишет:
> > 
> >> Gradle 4.4.1 (which is afaik included in Debain and Ubuntu) works
> >> well, both with the packaged OpenJDK 8 and OpenJDK 11.
> >>
> >> I use it everyday for building Android apps, but yes the other dev
> >> tools cannot yet be used from Debian/Ubuntu.
> >>
> > alexander at ninja:~/Git/fdroidclient$ java --version
> > openjdk 11.0.4 2019-07-16
> > OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1)
> > OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1,
> > mixed mode, sharing) alexander at ninja:~/Git/fdroidclient$ gradle
> > --version WARNING: An illegal reflective access operation has
> > occurred WARNING: Illegal reflective access by
> > org.codehaus.groovy.reflection.CachedClass
> > (file:/usr/share/java/groovy-all.jar) to method
> > java.lang.Object.finalize() WARNING: Please consider reporting this
> > to the maintainers of org.codehaus.groovy.reflection.CachedClass
> > WARNING: Use --illegal-access=warn to enable warnings of further
> > illegal reflective access operations WARNING: All illegal access
> > operations will be denied in a future release
> > 
> > ------------------------------------------------------------
> > Gradle 4.4.1
> > ------------------------------------------------------------
> > 
> > Build time:   2012-12-21 00:00:00 UTC
> > Revision:     none
> > 
> > Groovy:       2.4.16
> > Ant:          Apache Ant(TM) version 1.10.5 compiled on August 27
> > 2018 JVM:          11.0.4 (Debian 11.0.4+11-post-Debian-1deb10u1)
> > OS:           Linux 4.19.0-5-amd64 amd64
> > 
> > _______________________________________________
> > Android-tools-devel mailing list
> > Android-tools-devel at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/android-tools-devel
> > 
> 
> _______________________________________________
> Android-tools-devel mailing list
> Android-tools-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/android-tools-devel

I don't worry about warnings. ;) I worry about errors:
.............
> Configure project :app 
buildTypes.debug defaultConfig.versionCode 1007050


FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> No Build-tools available.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
  --debug option to get more log output. Run with --scan to get full
  insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 23s
.............

All steps from wiki was done.. ;(

root at ninja:/home/alexander# apt search build-tools
Сортировка… Готово
Полнотекстовый поиск… Готово
android-sdk/stable,unstable,now 25.0.0+10 amd64 [установлен]
  Software development kit for Android platform

android-sdk-build-tools/stable,unstable,now 27.0.1+10 amd64
[установлен, автоматически] Tools for building Android applications

android-sdk-build-tools-common/stable,stable,unstable,unstable,now
27.0.1+10 all [установлен, автоматически] Tools for building Android
applications - Common files

android-sdk-common/stable,stable,unstable,unstable,now 25.0.0+10 all
[установлен, автоматически] Common files of Android SDK base toolset

android-sdk-helper/unstable,unstable,now 0.1 all [установлен]
  Helper tools for building Android apps using Debian's Android SDK

android-sdk-platform-tools/stable,unstable,now 27.0.0+10 amd64
[установлен, автоматически] Tools for interacting with an Android
platform

android-sdk-platform-tools-common/stable,stable,unstable,unstable,now
27.0.0+10 all [установлен, автоматически] Tools for interacting with an
Android platform - Common files

google-android-build-tools-17-installer/stable,unstable 17.0.0+nmu3
amd64 Google build tools 17 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-18-installer/stable,unstable 18.1.1+nmu3
amd64 Google build tools 18 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-19-installer/stable,unstable 19.0.3+nmu3
amd64 Google build tools 19 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-20-installer/stable,unstable 20.0.0+nmu3
amd64 Google build tools 20 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-21-installer/stable,unstable 21.1.2+nmu3
amd64 Google build tools 21 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-22-installer/stable,unstable 22.0.1+nmu3
amd64 Google build tools 22 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-23-installer/stable,unstable 23.0.3+nmu3
amd64 Google build tools 23 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-24-installer/stable,unstable 24.0.2+nmu3
amd64 Google build tools 24 for Android (aapt, aidl, dexdump, dx)

google-android-build-tools-installer/unstable 23.0.3+b1 i386
  Google build tools for Android (aapt, aidl, dexdump, dx)

libjs-build-tools-ocaml-dev/stable,unstable 113.33.04-2+b1 amd64
  collection of tools to help building Jane Street Packages

lxqt-build-tools/stable,stable,unstable,unstable 0.6.0-2 all
  Build tools for the LXQt desktop environment

python-doit-doc/stable,stable,unstable,unstable 0.31.1-2 all
  Automation tool for executing any kind of task in a build-tools
fashion - doc

python3-doit/stable,stable,unstable,unstable 0.31.1-2 all
  Automation tool (Python3) to execute any kind of task in a
build-tools fashion



More information about the Android-tools-devel mailing list