我目前正在使用Android Studio 1.2开发Android应用程序.
我想在我的Android应用程序中使用外部Java项目作为依赖项.这个Java项目是一个Maven项目.
如何将此项目作为依赖项添加到我的Android应用程序中,因此我可以使用我的Android应用程序参考Java/Maven项目的类?
Android应用程序是使用Grandle构建的.
I have this code below..
<dependency>
<groupId>me.gujun.android.taggroup</groupId>
<artifactId>library</artifactId>
<version>1.4</version>
<type>apklib</type>
</dependency>
Run Code Online (Sandbox Code Playgroud)
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'
xml maven maven-dependency-plugin android-studio maven-dependency