<html><head></head><body>Thank you, that clears it up. I will try to do things that way and report on what happens.<br><br><div class="gmail_quote">On August 4, 2019 3:48:50 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">I was recommending you use the upstream Gradle and Gradle plugin.<br /><br />First, use `gradlew` instead of `gradle` so you can use the upstream Gradle downloaded from the internet. Then, use the Maven repository from JCenter and Google instead of `/usr/share/maven-repo`. Finally, use the latest version of the Gradle plugin (e.g. `classpath '<a href="http://com.android.tools.build">com.android.tools.build</a>:gradle:3.4.2'`). You can get more info at <<a href="https://developer.android.com/studio/releases/gradle-plugin">https://developer.android.com/studio/releases/gradle-plugin</a>>.<br /><br />fluffrabbit--- via Android-tools-devel 於 2019/7/29 下午9:16 寫道:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> I dug a little deeper to find out what it is the build system can't find.<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Could not find javax.xml.bind:jaxb-api:debian.<br /></blockquote> Searched in the following locations:<br /> file:/usr/share/maven-repo/javax/xml/bind/jaxb-api/debian/jaxb-api-debian.pom<br /> file:/usr/share/maven-repo/javax/xml/bind/jaxb-api/debian/jaxb-api-debian.jar<br /> Required by:<br /> project : > <a href="http://com.android.tools.build">com.android.tools.build</a>:gradle:debian > <a href="http://com.android.tools.build">com.android.tools.build</a>:gradle-core:debian > <a href="http://com.android">com.android</a>.databinding:compilerCommon:debian<br /> <br /> It's looking for jaxb-api-debian.jar, which exists on my machine exactly where it says it is. Within it, it's trying to resolve javax.xml.bind:jaxb-api:debian. My copy of the jar does not contain javax/xml/bind, though it does have several folders within javax/xml. I guess that means my copy of the jar is older.<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Could not find <a href="http://com.ibm.icu">com.ibm.icu</a>:icu4j:debian.<br /></blockquote> Searched in the following locations:<br /> file:/usr/share/maven-repo/com/ibm/icu/icu4j/debian/icu4j-debian.pom<br /> file:/usr/share/maven-repo/com/ibm/icu/icu4j/debian/icu4j-debian.jar<br /> Required by:<br /> project : > <a href="http://com.android.tools.build">com.android.tools.build</a>:gradle:debian > <a href="http://com.android.tools.build">com.android.tools.build</a>:gradle-core:debian > <a href="http://com.android">com.android</a>.databinding:compilerCommon:debian > org.antlr:antlr4:debian<br /> <br /> Here it's looking for /usr/share/maven-repo/com/ibm/icu/icu4j/debian/icu4j-debian.jar. On my machine, there is no ibm folder in /usr/share/maven-repo/com. So in this case there is no jar for it to find.<br /> <br /> Interesting how it specifically looks for debian versions of packages which don't exist. So Debian doesn't package this stuff? I don't know how Java class resolution works, but I guess the "debian" string is added in and nobody actually assumes that Debian packages IBM stuff, right?<br /> <br /> Also, by "upstream" do you mean from the Gradle project itself?<br /> <br /> Thanks.<br /> <br /> <br /></blockquote><br /></pre></blockquote></div></body></html>