pbreault / adb-idea

A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.
Apache License 2.0
2.12k stars 257 forks source link

Issues with commands on AS 0.6.1 #8

Closed MichaelEvans closed 10 years ago

MichaelEvans commented 10 years ago

Can't use any of the commands with AS 0.6.1, get the following crash:

org.jetbrains.android.run.DeviceChooser.(ZLjavax/swing/Action;Lorg/jetbrains/android/facet/AndroidFacet;Lcom/intellij/openapi/util/Condition;)V: org.jetbrains.android.run.DeviceChooser.(ZLjavax/swing/Action;Lorg/jetbrains/android/facet/AndroidFacet;Lcom/intellij/openapi/util/Condition;)V java.lang.NoSuchMethodError: org.jetbrains.android.run.DeviceChooser.(ZLjavax/swing/Action;Lorg/jetbrains/android/facet/AndroidFacet;Lcom/intellij/openapi/util/Condition;)V at com.developerphil.adbidea.ui.DeviceChooserDialog.(DeviceChooserDialog.java:44) at com.developerphil.adbidea.adb.AdbFacade.askUserForDevice(AdbFacade.java:118) at com.developerphil.adbidea.adb.AdbFacade.getDevice(AdbFacade.java:90) at com.developerphil.adbidea.adb.AdbFacade.executeOnDevice(AdbFacade.java:50) at com.developerphil.adbidea.adb.AdbFacade.clearDataAndRestart(AdbFacade.java:46) at com.developerphil.adbidea.action.ClearDataAndRestartAction.actionPerformed(ClearDataAndRestartAction.java:10) at com.developerphil.adbidea.action.AdbAction.actionPerformed(AdbAction.java:13) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164) at com.intellij.ide.actions.GotoActionAction$5.run(GotoActionAction.java:130) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

ufo22940268 commented 10 years ago

I got the same error when multiple devices ware connected.

pbreault commented 10 years ago

It is fixed in release 1.1.2, which has been pushed to jetbrains plugin repository. You should see the update prompt soon!