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

IDE error after installing plugin #35

Open
Cico-source opened this issue Mar 13, 2022 · 8 comments
Open

IDE error after installing plugin #35

Cico-source opened this issue Mar 13, 2022 · 8 comments

Comments

@Cico-source
Copy link

Hi,

I use Android Studio and Kotlin. When I install the plugin, it gives me an IDE error. The most significant error message is:

com.intellij.diagnostic.PluginException: ID "org.intellij.sdk.action.GroupedActions" is already taken by action "Mark All (null)". Action "null (null)" (Plugin: Spock ADB) cannot use the same ID [Plugin: com.wahdan.com.wahdan.spockAdb]

I hope you can fix it somehow .

@WahdanZ
Copy link
Owner

WahdanZ commented Jul 6, 2022

Could you check version 2.0.2

@Cico-source
Copy link
Author

image

This happens after installing SpockAdb and restarting Android Studio.

@jakoss
Copy link

jakoss commented Jul 7, 2022

Same thing here on 2.0.2

@Jake-Jiang
Copy link

update to 2.0.3 and restart ,woks well

@WahdanZ
Copy link
Owner

WahdanZ commented Jul 8, 2022

I have published new version 2.0.3 yesterday to fix this issue

@Cico-source
Copy link
Author

There are still errors when using plugin. This is just one example. Few things work and other don't.

java.lang.IncompatibleClassChangeError: Method 'com.android.tools.idea.gradle.project.model.AndroidModuleModel com.android.tools.idea.gradle.project.model.AndroidModuleModel.get(org.jetbrains.android.facet.AndroidFacet)' must be InterfaceMethodref constant

image
image

@CristianSarac
Copy link

Thanks for the quick update , the plugin now shows all the buttons however just like mentioned above it trows errors on some of the actions.
I have the latest version and when i try to use the unninstall application i get the following error java.lang.IncompatibleClassChangeError: Method 'com.android.tools.idea.gradle.project.model.AndroidModuleModel com.android.tools.idea.gradle.project.model.AndroidModuleModel.get(org.jetbrains.android.facet.AndroidFacet)' must be InterfaceMethodref constant at spock.adb.command.GetApplicationIDCommand.execute(GetApplicationIDCommand.kt:13) at spock.adb.AdbControllerImp.getApplicationID(AdbControllerImp.kt:32) at spock.adb.AdbControllerImp.access$getApplicationID(AdbControllerImp.kt:20) at spock.adb.AdbControllerImp$currentFragment$1.invoke(AdbControllerImp.kt:127) at spock.adb.AdbControllerImp$currentFragment$1.invoke(AdbControllerImp.kt:126) at spock.adb.AdbControllerImp.execute(AdbControllerImp.kt:368) at spock.adb.AdbControllerImp.currentFragment(AdbControllerImp.kt:126) at spock.adb.SpockAdbViewer.initPlugin$lambda-14(SpockAdbViewer.kt:178) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345) at java.desktop/java.awt.Component.processEvent(Component.java:6417) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2784) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:885) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:814) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:751) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:441) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:440) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:492) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

@WahdanZ
Copy link
Owner

WahdanZ commented Jul 8, 2022

Thanks for let me know I'll work to fix it

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

5 participants