<div style="font-size:10pt;font-family:arial,helvetica,sans-serif;color:black;"><div><div>When I use the Gradle wrapper from SDL, it almost works! However...</div><div><br></div><div>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:</div><div><br></div><div>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')</div><div>File /home/user/.android/repositories.cfg could not be loaded.</div><div>Checking the license for package Android SDK Build-Tools 27.0.1 in /usr/lib/android-sdk/licenses</div><div>Warning: License for package Android SDK Build-Tools 27.0.1 not accepted.</div><div><br></div><div>FAILURE: Build failed with an exception.</div><div><br></div><div>* What went wrong:</div><div>A problem occurred configuring root project 'android'.</div><div>> You have not accepted the license agreements of the following SDK components:</div><div>  [Android SDK Build-Tools 27.0.1].</div><div>  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.</div><div>  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</div><br><br><span style="font-size: 10pt;" data-mce-style="font-size: 10pt;">-----Original Message-----</span><br><span style="font-size: 10pt;" data-mce-style="font-size: 10pt;">From: 殷啟聰 | Kai-Chung Yan <seamlik@debian.org></span><br><span style="font-size: 10pt;" data-mce-style="font-size: 10pt;">To: Fluff Rabbit <fluffrabbit@aol.com>; android-tools-devel <android-tools-devel@alioth-lists.debian.net></span><br><span style="font-size: 10pt;" data-mce-style="font-size: 10pt;">Sent: Sun, Aug 4, 2019 11:35 pm</span><br><span style="font-size: 10pt;" data-mce-style="font-size: 10pt;">Subject: Re: [Android-tools-devel] Gradle or Ant?</span><br><br></div><div dir="ltr"><div class="yqt1805188044" id="yqtfd68328">> How does one generate gradlew without a working Gradle? I'm getting version mismatch errors all over the place no matter what I try.</div><br clear="none">Copy the wrapper files from another repository?<div class="yqt1805188044" id="yqtfd27252"><br clear="none"></div></div><div class="yqt1805188044" id="yqtfd69040">_______________________________________________<br clear="none">Android-tools-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:Android-tools-devel@alioth-lists.debian.net" rel="noopener noreferrer" href="mailto:Android-tools-devel@alioth-lists.debian.net">Android-tools-devel@alioth-lists.debian.net</a><br clear="none"><a shape="rect" target="_blank" rel="noopener noreferrer" href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/android-tools-devel">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/android-tools-devel</a></div></div>