Hello everyone.
I’m following a guide, which is here: AndroidTools - Debian Wiki
Where should I put this line:
compile ‘com.android.tools.build:gradle:debian’
?
Thanks in advance for any help.
Edit: see - FAILURE: Build failed with an exception. - Pastebin.com
Chris_Dore
(Chris Doré)
October 15, 2021, 4:17am
2
That page is trying to tell you to do the following:
buildscript {
repositories {
maven { url 'file:///usr/share/maven-repo' }
}
dependencies {
compile 'com.android.tools.build:gradle:debian'
}
}
However, in the buildscript
context the compile
configuration does not exist and should be classpath
.
Thanks. I solved this issue, however there’s still issues with the code. This is another one, by the way.
Thanks again for your help.
Where can I find a comparison between Gradle version’s constructs?
I’m using Gradle 4.4.1 and I can’t upgrade, but someone told me there are differences, in example what you wrote above (classpath instead of compile)
Or maybe there’s a tool to do that?
Thanks in advance for any help.