简体   繁体   中英

How to add Maven and ProGuard to android application

I am trying to incorporate the Google Direction Library created by https://github.com/akexorcist/Android-GoogleDirectionLibrary

In the README it shows the following downloads. I know how to add gradle dependencies, but what does adding proguard and maven do and how do I add it?

Maven

Proguard

You can add the dependency either via Maven OR Gradle. So if you're using Gradle, that's 100% fine and just do that.

As for Proguard, there should be a file called "proguard-rules.pro" or something like that in your project. Simply copy the text from the Github page and paste it into that file in your project.

That's it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM