I have to use my android library project (which has resources), in another project. Here is what I did so far:
Created a library project in Android Studio. Build that project, so .aar file was generated like:
..\MyApplication\mylibrary\build\outputs\aar\mylibrary-debug.aar
Created a new Android project in Android Studio. Then, I followed this:
File >> New Module >> Import .JAR or .AAR package
This gives me following structure in my project:
There was no any error in gradle sync or while I make the project.
But now, if I try to use class name of my Library project, it doesn't get shown in auto suggest. There is one class MyClass.java
in my library project. In IDE, if I try to write MyC
, I am not able to see MyClass
. It shows No suggestions instead.
Am I missing some configuration?
Let me know in case you want other information related to folder structure or build.gradle
file.