java - Android Studio cannot find AAR packages -
i having problem android studio recognizing classes inside @aar library imported locally.
so... i've made library , exported aar file. inside android studio selected import module
, them import .jar or .aar package
.
the project compiles , works classes inside aar file android studio can not find classes or offer auto completion of all.
here few of screenshots:
the same problem happens other @aar libraries imported same way:
any suggestions?
edit:
build.gradle:
... dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile project(':upplatformsdk') compile project(':simpleorm') ... // more libraries here }
settings.gradle:
include ':app', ':upplatformsdk', ':wear', ':simpleorm'
looks how manually include external aar package using new gradle android build system
if have them in lib folder
repositories { flatdir { dirs 'libs' } } dependencies { compile(name:'upplatformsdk', ext:'aar') }
Comments
Post a Comment