I have created Android library as Android Studio module. Added as dependency to my root module. While coding I can import any class from library package but while I\'m tryin
For Android Studio 2.2.2
Yes, in library module, it can't use the apply plugin: com.android.application
statement in the module definition, yes, use apply plugin: com.android.library
instead. (still in lib module)
But then you have to do the following:
Also while naming your lib module avoid capitals.