<html><head></head><body>Specific error is:<br>
<br>
Invalid revision: debian<br>
<br>
Is this Google trying to make every developer's life a living hell?<br><br><div class="gmail_quote">On August 5, 2019 3:53:44 AM MDT, "殷啟聰 | Kai-Chung Yan" <seamlik@debian.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">The licensing issue was kind of solved by us providing a dummy file (/usr/lib/android-sdk/licenses/apache-2.0). If the issue remains, it could be because Google might have changed how they check the licensing.<br /><br />This error also shows up if the SDK component can't be found by the Gradle plugin. Perhaps try using "debian" as the build-tools version?<br /><br />fluffrabbit@aol.com 於 2019/8/5 下午3:21 寫道:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> When I use the Gradle wrapper from SDL, it almost works! However...<br /> <br /> 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:<br /> <br /> 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')<br /> File /home/user/.android/repositories.cfg could not be loaded.<br /> Checking the license for package Android SDK Build-Tools 27.0.1 in /usr/lib/android-sdk/licenses<br /> Warning: License for package Android SDK Build-Tools 27.0.1 not accepted.<br /> <br /> FAILURE: Build failed with an exception.<br /> <br /> * What went wrong:<br /> A problem occurred configuring root project 'android'.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> You have not accepted the license agreements of the following SDK components:<br /></blockquote>   [Android SDK Build-Tools 27.0.1].<br />   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.<br />   Alternatively, to learn how to transfer the license agreements from one workstation to another, go to <a href="http://d.android.com/r/studio-ui/export-licenses.html">http://d.android.com/r/studio-ui/export-licenses.html</a><br /> <br /></blockquote><br /></pre></blockquote></div></body></html>