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

Bug: doesn't work on Hedgehog Canary 6 #155

Closed
AndroidDeveloperLB opened this issue Jun 2, 2023 · 5 comments
Closed

Bug: doesn't work on Hedgehog Canary 6 #155

AndroidDeveloperLB opened this issue Jun 2, 2023 · 5 comments

Comments

@AndroidDeveloperLB
Copy link

The error is :

java.lang.NoClassDefFoundError: com/android/tools/idea/gradle/project/model/AndroidModuleModel
at com.developerphil.adbidea.adb.DeviceResultFetcher.fetch(DeviceResultFetcher.kt:27)
at com.developerphil.adbidea.adb.AdbFacade.executeOnDevice(AdbFacade.kt:43)
at com.developerphil.adbidea.adb.AdbFacade.uninstall(AdbFacade.kt:16)
at com.developerphil.adbidea.action.UninstallAction.actionPerformed(UninstallAction.kt:8)
at com.developerphil.adbidea.action.AdbAction.actionPerformed(AdbAction.kt:9)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:228)
at com.intellij.openapi.actionSystem.impl.ActionButton.lambda$performAction$2(ActionButton.java:207)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:356)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:207)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:518)
at java.desktop/java.awt.Component.processEvent(Component.java:6421)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2804)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:790)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:763)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:761)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:760)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:666)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:614)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:569)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:994)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:994)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.ClassNotFoundException: com.android.tools.idea.gradle.project.model.AndroidModuleModel PluginClassLoader(plugin=PluginDescriptor(name=ADB Idea, id=com.developerphil.adbidea, descriptorPath=plugin.xml, path=~\AppData\Roaming\Google\AndroidStudioPreview2023.1\plugins\adb_idea, version=1.6.10, package=null, isBundled=false), packagePrefix=null, instanceId=124, state=active)
... 53 more

Android Studio Hedgehog | 2023.1.1 Canary 6
Build #AI-231.8109.175.2311.10205233, built on May 25, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 12
Registry:
external.system.auto.import.disabled=true
debugger.watches.in.variables=false
ide.text.editor.with.preview.show.floating.toolbar=false
ide.instant.shutdown=false
ide.images.show.chessboard=true

Non-Bundled Plugins:
com.intellij.marketplace (231.8109.222)
String Manipulation (9.7.1)
izhangzhihao.rainbow.brackets (2023.2.8)
net.aquadc.mike.plugin (0.28)
com.developerphil.adbidea (1.6.10)

@Igor755
Copy link

Igor755 commented Jun 5, 2023

@pbreault
Copy link
Owner

pbreault commented Jun 5, 2023

Thanks, I'm working on a fix. Hoping to get that in this week. Only workaround for now is to use a previous version.

@AndroidDeveloperLB
Copy link
Author

@pbreault It's one of my favorites plugins. I actually thought about such an idea and requested it to be a part of Android Studio.
Good to see that it's being updated

@pbreault
Copy link
Owner

Thanks for the good words @AndroidDeveloperLB :)
Would be amazing if this was just built-in.

I pushed 1.6.11, should work on Hedgehog now

@AndroidDeveloperLB
Copy link
Author

This works fine now (Android Studio Iguana | 2023.2.1 Canary 17 ), but got a new issue:

#162

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

3 participants