问题
I modified the achartengine code to optimize it for myself but how do I build the lib in AndroidStudio? (I'm new in coding)
I found a build.xml file, so it should be possible to run ant jar
to create the lib, but how do I do that...? or is there a better way?
回答1:
If anyone is still interested in this (in 2019) ...
There are copies of achartengine on github, and the primary seems to be this:
- https://github.com/ddanny/achartengine
The project has both build.xml
and pom.xml
files, so it should be possible to build it with either Ant or Maven. (I haven't tried though.)
There should be adequate instructions on how to use those tools in the Ant and Maven documentation. And instructions on how to troubleshoot build problems.
I am guessing that the Dan D who commented above in 2014 is the Dan Dromereschi who owns the github repo. (And I get the point he was making about not making private mods. Open source depends on people being community minded and contributing to the project. If you have worthwhile mods / patches, tell Dan about it.)
来源:https://stackoverflow.com/questions/25463308/how-to-build-the-achartengine-library-after-modification