I have this code below..
<dependency>
<groupId>me.gujun.android.taggroup</groupId>
<artifactId>library</artifactId>
<version>1.4</version>
<type>apklib</type>
</dependency>
But where do you put this in Android Studio? I've already placed a dependency in build.gradle which is compile 'me.gujun.android.taggroup:library:1.4@aar'
I had a similar issue just now. I was trying to use khttp in an Android app. Here's the XML that library gave me:
...and
What I ended up doing was editing the root
build.gradlefile and adding this:Then, I edited the app's gradle file, and added this line to the existing
dependencies { .... }section:Once done, I hit the "try again" or "sync" button on the yellow bar that appeared to get Android Studio 3.0.1 to recognise the changes I'd made.
I followed the instructions on the JitPack homepage.