How to add .jar file in libs folder of android studio using plugin
How to add new abc.jar file in libs folder in android studio ? I have included abc.jar in resources folder in plugin development environment. but I dont know how to copy it libs folder
请先登录再写评论。
in Project Structure:
add abc.jar to a library (either local or global)
then add this library to the module Dependencies.
;)
Thanks , but I want to add it using plugin . any API is there by using it I can add file in every project by default after installing "Plugin written by me"
eh sorry I misunderstood
I don't know how to add it programmatically.
I did it like this:
Usage:
(Error checking and whatnot removed, make sure to handle those yourself. This is probably not the best way to do it, but it works)