Tencent / QMUI_Android

提高 Android UI 开发效率的 UI 库
http://qmuiteam.com/android
Other
14.42k stars 2.67k forks source link

怎么编译不过去呀 #1138

Closed XingSpace closed 2 years ago

XingSpace commented 2 years ago

运行环境

Android Studio Bumblebee | 2021.1.1 Patch 1

具体问题描述

A problem occurred configuring root project 'QMUI-Android'.

=============================== Gradle Doctor Prescriptions ============================================ Gradle is not using JAVA_HOME.
JAVA_HOME is C:\Program Files\Java\jre1.8.0_121
Gradle is using D:\Android\Android Studio\jre
This can slow down your build significantly when switching from Android Studio to the terminal.
To fix: Project Structure -> JDK Location.
Set this to your JAVA_HOME.
XingSpace commented 2 years ago

设置JAVA_HOME也没什么用

XingSpace commented 2 years ago

plugins { id("qmui-dep") // id("com.osacky.doctor") version "0.8.0" } 解决了,注释掉com.osacky.doctor就行了

Ag-gu commented 2 years ago

541278903 commented 1 year ago