There is a problem when Android Studio3.2, calls other Module as dependencies.

problem description

I upgraded Android Studio to 3.2 Gradle using 2.3.
compile "com.squareup.okhttp3:ok http:3.10.0 " is used in many Module,B such as Ameme B in my project.
then I compile project ("B") in An and find that I can"t use the compile content in B.

the environmental background of the problems and what methods you have tried

because of the upgrade of Android Studio3.2, I went to click on the old Android studio at that time. Caused my project confusion, configuration problems, ah.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
AModule:
dependencies {

compile fileTree(include: ["*.jar"], dir: "libs")
compile project(":okgo")

}
BModule:
dependencies {

compile "com.squareup.okhttp3:okhttp:3.8.1"

}

what result do you expect? What is the error message actually seen?

The references before the

code are error-free and can successfully use the reference dependencies between them.

topic description

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?


compile changed to api

Menu