Is there a jar file I can just download?

35 views
Skip to first unread message

Theodore Sternberg

unread,
Jun 7, 2019, 8:55:56 PM6/7/19
to Androidplot
A search turns up a couple sites, but I have no idea if they're safe, and in any case the androidplot version they say they have is old (1.5.0 in one case, 0.5.0 in another).

Your source code won't build, at least on the latest Android Studio (3.4.1) and gradle (2.4.16). 

Nick

unread,
Jun 7, 2019, 9:10:25 PM6/7/19
to Androidplot
Hmm builds fine for me using Android Studio 3.4.1.  Without knowing the error(s) you are getting I don't think I could help further with that.

As far as getting the jar, there isn't one. Most Android libs are packaged as .aar these days, which is similar.  And like most Android libs, Androidplot's artifacts are published to Maven Central.  You can download the "safe" version of any library's artifact from Maven Central using the coordinates the author publishes on their site.  For the Androidplot core library that is  com.androidplot:androidplot-core.

Here's the link to the Maven Central page (which includes download links for the individual artifacts): https://search.maven.org/artifact/com.androidplot/androidplot-core/1.5.6/aar

Both formats (jar and aar) are just zip files plus some structure, so you can always just rename the aar extension to zip and extract it if you just want the file contents.

Hope that helps,
Nick
Message has been deleted

Theodore Sternberg

unread,
Jun 7, 2019, 9:49:13 PM6/7/19
to Androidplot
Thanks!  I got your .aar file and I notice that if I want to use it (i.e. put things like "import com.androidplot;" in my code) I have to unzip it and use the classes.jar from there.  (I'm still working with the old-fashioned ant build system.)

Theodore Sternberg

unread,
Jun 7, 2019, 9:56:50 PM6/7/19
to Androidplot
In Android Studio 3.4.1, my build fails on this bit from your build.gradle:
task wrapper(type: Wrapper) {
    gradleVersion = '2.14.1'
}

Following advice on stackoverflow, I just deleted that thing.  Rebuilding, the next error is something about "destination".
I can get more specific if you like, but I have a feeling you'll want me to take this to stackoverflow?

On Friday, June 7, 2019 at 6:10:25 PM UTC-7, Nick wrote:

Theodore Sternberg

unread,
Jun 7, 2019, 9:58:28 PM6/7/19
to Androidplot
Sorry, my Gradle version is 4.4.1.
Reply all
Reply to author
Forward
0 new messages