[Android-tools-devel] Gradle or Ant?

fluffrabbit at aol.com fluffrabbit at aol.com
Mon Aug 5 08:21:11 BST 2019


When I use the Gradle wrapper from SDL, it almost works! However...
I am using build tools version 27.0.1 as that is the version which Debian apparently packages. As a result, version 3.0.0 of the Gradle wrapper is the latest I have access to. In /usr/lib/android-sdk/licenses there is a file called apache-2.0 which contains a hash. Something must be wrong because gradlew complains like so:
Observed package id 'build-tools;debian' in inconsistent location '/usr/lib/android-sdk/build-tools/27.0.1' (Expected '/usr/lib/android-sdk/build-tools/debian')File /home/user/.android/repositories.cfg could not be loaded.Checking the license for package Android SDK Build-Tools 27.0.1 in /usr/lib/android-sdk/licensesWarning: License for package Android SDK Build-Tools 27.0.1 not accepted.
FAILURE: Build failed with an exception.
* What went wrong:A problem occurred configuring root project 'android'.> You have not accepted the license agreements of the following SDK components:  [Android SDK Build-Tools 27.0.1].  Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.  Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

-----Original Message-----
From: 殷啟聰 | Kai-Chung Yan <seamlik at debian.org>
To: Fluff Rabbit <fluffrabbit at aol.com>; android-tools-devel <android-tools-devel at alioth-lists.debian.net>
Sent: Sun, Aug 4, 2019 11:35 pm
Subject: Re: [Android-tools-devel] Gradle or Ant?

> How does one generate gradlew without a working Gradle? I'm getting version mismatch errors all over the place no matter what I try.
Copy the wrapper files from another repository?
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20190805/48b9f974/attachment-0001.html>


More information about the Android-tools-devel mailing list