java - How Do I Include A .jar Library In Android Studio Project -


assume have no idea i'm doing. i'm trying include java library created in eclipse no relation android in android application can use classes in said library. tried creating folder called "libs" , including ":app:libs" dependency in project structure screen under modules->app->dependencies. when try build, gives me message "error:a problem occurred configuring project ':app'.

cannot evaluate module libs : configuration name 'default' not found." looked around , saw problem appears haven't set default build configuration libs. can't figure out how this. how set default build configuration module libs?

you can in different ways. there three standard approaches importing jar file android studio. first 1 traditional way, second 1 standard way, , last 1 remote library. explained these approaches step step screenshots in link:

https://stackoverflow.com/a/35369267/5475941.

i hope helps.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -