[Android-tools-devel] Does this thing actually work?

Fluff Rabbit fluffrabbit at aol.com
Sun Aug 4 13:59:18 BST 2019


Thank you, that clears it up. I will try to do things that way and report on what happens.

On August 4, 2019 3:48:50 AM MDT, "殷啟聰 | Kai-Chung Yan" <seamlik at debian.org> wrote:
>I was recommending you use the upstream Gradle and Gradle plugin.
>
>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
>'com.android.tools.build:gradle:3.4.2'`). You can get more info at
><https://developer.android.com/studio/releases/gradle-plugin>.
>
>fluffrabbit--- via Android-tools-devel 於 2019/7/29 下午9:16 寫道:
>> I dug a little deeper to find out what it is the build system can't
>find.
>> 
>>> Could not find javax.xml.bind:jaxb-api:debian.
>>      Searched in the following locations:
>>        
> file:/usr/share/maven-repo/javax/xml/bind/jaxb-api/debian/jaxb-api-debian.pom
>>        
> file:/usr/share/maven-repo/javax/xml/bind/jaxb-api/debian/jaxb-api-debian.jar
>>      Required by:
>>          project : > com.android.tools.build:gradle:debian >
>com.android.tools.build:gradle-core:debian >
>com.android.databinding:compilerCommon:debian
>> 
>> 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.
>> 
>>> Could not find com.ibm.icu:icu4j:debian.
>>      Searched in the following locations:
>>        
> file:/usr/share/maven-repo/com/ibm/icu/icu4j/debian/icu4j-debian.pom
>>        
> file:/usr/share/maven-repo/com/ibm/icu/icu4j/debian/icu4j-debian.jar
>>      Required by:
>>          project : > com.android.tools.build:gradle:debian >
>com.android.tools.build:gradle-core:debian >
>com.android.databinding:compilerCommon:debian > org.antlr:antlr4:debian
>> 
>> 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.
>> 
>> 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?
>> 
>> Also, by "upstream" do you mean from the Gradle project itself?
>> 
>> Thanks.
>> 
>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20190804/9acdc94d/attachment.html>


More information about the Android-tools-devel mailing list