I'm not very familiar with Gradle, but from what I understand you're supposed to be able to pull libraries straight from the internet? I've followed the project's directions, but got an error
Does AIDE not support remote maven repos? I confirmed that the library in question does exist on the jcenter website. I'm not sure how to make a local maven repository. I tried to download the relevant files from jcenter and put them in .../maven-repo/com/melnykov/floatingactionbutton/1.0.3 and point AIDE to .../maven-repo in the settings, but that did nothing.
AIDE does not support remote maven repos. The only way you can make maven repositories work within the app is create a local maven repo. This is as simple as copying a folder from PC to Device if the library you need is in
/sdk-path/extras/
(Android and Google libs are there), but a bit more difficult if it is not:I had success manually creating a maven repository using these steps:
m2repository
maven-metadata.xml
and remember the groupId, artifactId and versionlibrary
)1.0.0
)Now, you have to link the maven directory with AIDE:
/m2repository
)If you have a code-only library (no resources), chances are there is a .jar file which you could easily just copy into the
libs/
folder of your project. In this case make sure you have the following line added to the dependencies section of your build.gradle:Please note all this only applies if your project uses the new gradle-based project structure.