Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows下编译apk报错 #1

Closed
idyllim opened this issue May 7, 2019 · 0 comments
Closed

windows下编译apk报错 #1

idyllim opened this issue May 7, 2019 · 0 comments

Comments

@idyllim
Copy link

idyllim commented May 7, 2019

OS: windows 10 1809
Step: 从github克隆后,使用android studio打开项目,编译报错

编译apk报错

FAILURE: Build failed with an exception.

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

Lint found errors in the project; aborting build.

Fix the issues identified by lint, or add the following to your build script to proceed with errors:
...
android {
lintOptions {
abortOnError false
}
}
...

Errors found:

D:\Developer\Workspace\Android\TalentRAT\app\build.gradle: Error: All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 26.1.0. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.support:support-media-compat:26.1.0 [GradleCompatible]

  • 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 20s
53 actionable tasks: 30 executed, 23 up-to-date
13:06:52: Task execution finished 'build'.

@honglvt honglvt closed this as completed Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants