<html><head></head><body>Hi fluffrabbit,<br><br>your issue is most likely the following:<br><br>To target a specific android platform version, you need a build tools version that is compatible with the target you use.<br><br> To make it even more complicated, the build tools expect a specific gradle plugin version. <br><br>But this is not all: this bundle of "build tools" and "gradle plugin" are only compatible with a specific gradle version. <br><br>To put it in other words: you are likely using a gradle version not compatible with the gradle plugin and the build tools. Most likely, you need an *older* gradle version.<br><br>(Incompatible gradle versions always seem to throw really strange error messages :-) )<br><br>Proceed the following way:<br><br>1) Check the version of the build tools and the gradle plugin that comes with the android debian packages. (In your case, the ones that come with ubuntu 18.04.)<br><br>2) Look up here ( <a href="https://developer.android.com/studio/releases/gradle-plugin">https://developer.android.com/studio/releases/gradle-plugin</a> ) which gradle version you need. This page has a table that will tell you.<br><br>3) download the gradle version you need directly from the gradle project page ( <a href="https://gradle.org/">https://gradle.org/</a> ) and install it (e.g. in /opt folder) locally.<br><br>4) try to compile using this gradle version.<br><br>I agree with hc that the docs could be more detailed - if I have some spare time in the next 2 weeks, I'll try to write a up-to-date tutorial how to set up the build environment.<br><br><br><br><div class="gmail_quote">Am 26. Juli 2019 14:36:52 MESZ schrieb Fluff Rabbit via Android-tools-devel <android-tools-devel@alioth-lists.debian.net>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Paul started to give me some help on this, but<br>
<br>
* The project is still not compiling<br>
* A wiki is inadequate and there need to be PD- licensed template projects<br><br><div class="gmail_quote">On July 26, 2019 3:24:53 AM MDT, Hans-Christoph Steiner <hans@at.or.at> 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"><br>I agree, it would be nice to have better docs.  We welcome<br>contributions.  Right now, there is the wiki:<br><a href="https://wiki.debian.org/AndroidTools">https://wiki.debian.org/AndroidTools</a><br><br>.hc<br><br>fluffrabbit--- via Android-tools-devel:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> I'm seriously starting to wonder. It would be nice to have a beginners' tutorial that reflects the packages currently in Debian. Don't assume that people using your androdi-sdk package have prior experience building Android projects from the terminal. I come from Android Studio.<br> I started a repo here:<br> <a href="https://github.com/fluffrabbit/debian-android-simple">https://github.com/fluffrabbit/debian-android-simple</a><br> <br> HELP<br> <br> <br><hr><br> Android-tools-devel mailing list<br> Android-tools-devel@alioth-lists.debian.net<br> <a 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><br> <br></blockquote><br><hr><br>Android-tools-devel mailing list<br>Android-tools-devel@alioth-lists.debian.net<br><a 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></pre></blockquote></div></blockquote></div></body></html>