alibaba / alibaba/freeline

NoClassDefFoundError: com/android/tools/idea/gradle/dsl/model/GradleBuildModel

Open
#992 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.4k
Forks
620
PR merge metrics
No merged PRs in 30d

Description

大佬们,可知道这是咋了?

at com.antfortune.freeline.idea.utils.FreelineUtil.getFreelineStatus(FreelineUtil.java:153)
at com.antfortune.freeline.idea.utils.FreelineUtil.checkInstall(FreelineUtil.java:204)
at com.antfortune.freeline.idea.actions.FreelineRunAction.actionPerformed(FreelineRunAction.java:26)
at com.antfortune.freeline.idea.actions.BaseAction.actionPerformed(BaseAction.java:32)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:220)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:237)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:195)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:153)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:346)
at java.awt.Component.processEvent(Component.java:6306)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with FreelineUtil.java at lines 153 and 204, then follow the FreelineRunAction and BaseAction call path shown in the stack trace. Reproduce the action in the affected Android/IntelliJ environment and identify the compatibility or dependency context for the missing GradleBuildModel class. Done means the action no longer raises NoClassDefFoundError and its install check or run flow completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.