<div dir="ltr">Hi,<div><br></div><div>I'm trying to build an android app using the package android-platform-tools-base for the android libraries (jars), instead of downloading them from maven central or bintray.<br><br>The app I'm building is at [1], and apart from that I have done a simple 'cp /etc/maven/settings-debian.xml .m2/settings.xml' to use /usr/share/maven-repo as the local maven repo.</div><div><br></div><div>[1]: <a href="https://gitlab.com/cde/AndroidHelloWorld/blob/debian-test/build.gradle">https://gitlab.com/cde/AndroidHelloWorld/blob/debian-test/build.gradle</a></div><div><br></div><div>The debian maven-repo currently does not contain all the jars built by android-platform-tools-base, and those are installed to /usr/share/android-platform-tools-base directly as jars. Bug #819074 is related, hc has compiled a list of the pom files needed to get these installed as maven artifacts.<br><br>Right now what I'm trying to do it use the jars directly from /usr/share/android-platform-tools-base, by using gradle flatDIr, and then the rest by using mavenLocal() (See [1] above)<br><br>However, the build fails with [2].<br>The error mentions "<span style="line-height:normal;white-space:pre-wrap">Caused by: java.lang.NoClassDefFoundError: com/android/utils/ILogger", however that class is included in  /usr/share/maven-repo/com/android/tools/common/24.5.0/common-24.5.0.jar</span><br><br>[2]: <a href="http://ix.io/Xj8">http://ix.io/Xj8</a><br><br>Now, I'm pretty sure I have got confused somewhere in my understanding of the whole build tools jars / gradle / maven interaction, and I haven't had too much time to clear that up due to exams, so any hints would be appreciated.<br><br>Note: While this build was done with the package 'android-sdk', some components were replaced / added from google's sdk temporarily, to test this.<br>See #827214 and #827216<br><br>Regards,<br>Chirayu Desai</div></div>