Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

A problem occurred configuring root project 'connectivity'. #5

Open
yangmiok opened this issue Feb 12, 2020 · 2 comments
Open

A problem occurred configuring root project 'connectivity'. #5

yangmiok opened this issue Feb 12, 2020 · 2 comments

Comments

@yangmiok
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:preDebugBuild'.

Android dependency 'androidx.drawerlayout:drawerlayout' has different version for the compile (1.0.0-rc01) and runtime (1.0.0) classpath. You should manually set the same version via DependencyResolution

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 4s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 5.8s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin connectivity...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 1.1s

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'connectivity'.

SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s

The plugin connectivity could not be built due to the issue above.

@ahyangnb
Copy link
Member

已解决

@Byhuang1998
Copy link

@ahyangnb 怎么解决的?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants