Android Studio 3.0 Compile Issue (Cannot choose between Configurations)

后端 未结 10 822
再見小時候
再見小時候 2020-11-30 04:34

Issue with latest 3.0 build (Beta 2) My project has 1 sub module by a 3rd party so I only have access to their build.gradle.

My project has 3 flavours, snap, uat, pr

10条回答
  •  渐次进展
    2020-11-30 04:50

    When I updated my project from API level 23 to 27 and Gradle to 3.1 this error comes that

    Can not choose between different configuration

    So to solve this problem.

    replace the

    compile project(':your projectName')
    

    with

    implementation project(':projectname')
    

    in Gradle, this solves the problem.

提交回复
热议问题