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:

screenshot1 enter image description here enter image description here

the same problem happens other @aar libraries imported same way: enter image description here

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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -