简体   繁体   中英

How to treat aar file as a Module in android studio

I have a aar file only. Its for a library that i'm interested in changing. Remember, i have the aar file only. What i would like to do is edit the library with a few tweaks and then create another aar file (for my own personal use of course). How can i tell android studio to import this AAR file as a module which i can edit code in ?

I tried going to file-->new-->import new module but it wont let me import a AAR file as a module.

I do not have access to the original Github library only the AAR.

Click File->New->New Module and select import /jar/.aar package. It'll wrap the aar in a module and you're good to go.

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