A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.

Related tags

Plugin adb-idea
Overview

ADB Idea

A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.

The following commands are provided:

  • Uninstall App
  • Kill App
  • Start App
  • Restart App
  • Clear App Data
  • Clear App Data and Restart

Usage

Quick Operations Popup

The number on the left is a shortcut that will stay the same for your muscle memory pleasure.

  • Mac OSX: Ctrl+Shift+A
  • Windows/Linux: Ctrl+Alt+Shift+A

Logo

Find Actions

Each command is prefixed by "ADB", so you can quickly filter through adb commands using the "Find Actions" shortcut.

Logo

The Menu Way

You can find every command in the following menu: Tools->Android->ADB Idea

Installation

Download and install ADB Idea directly from Intellij / Android Studio: Preferences/Settings->Plugins->Browse Repositories

Alternatively, you can download the plugin from the jetbrains plugin site and install it manually in: Preferences/Settings->Plugins->Install plugin from disk

License

Copyright 2017 Philippe Breault

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • == 2014-09-17 ==

    == 2014-09-17 ==

    FYI i finally found time to work a bit on this and created a preliminary patch to add debugger support when restarting with adb-idea. Let me know if you have any questions.

    opened by draekko 14
  • Document how to build the project

    Document how to build the project

    The README.md documents how to use the plugin but not how to build it. I'd like to fork and possibly contribute to the project but I'm new to plugin development, so a quick 1-2-3 cookbook style introduction on how to build the project would be nice.

    opened by Nilzor 12
  • Gradle build

    Gradle build

    Work in progress.

    Builds are good but runtime is failing to choose proper device.

    Use intellij.alternativeIdePath = '/Users/fmatos/bin/astudio/Android_Studio_preview.app' to run with an alternative version of the IDE (not used at build time).

    opened by fmatosqg 9
  • Clear App Data doesn't work with the latest Android Studio Canary

    Clear App Data doesn't work with the latest Android Studio Canary

    Android Studio Chipmunk | 2021.2.1 Canary 6 Build #AI-212.5457.46.2112.7968471, built on December 4, 2021 Runtime version: 11.0.12+0-b1504.28-7817840 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 5.15.8-227-tkg-bmq GC: G1 Young Generation, G1 Old Generation Memory: 5120M Cores: 12 Registry: external.system.auto.import.disabled=true, editor.show.notification.after.optimize.imports=false, ide.allow.merge.buttons=false, editor.show.notification.after.reformat=false Non-Bundled Plugins: com.github.b3er.idea.plugins.arc.browser (0.23), lermitage.intellij.extra.icons (1.67.0.203), mobi.hsz.idea.gitignore (4.3.0), com.dubreuia (2.3.0), idea.plugin.protoeditor (212.5080.8), String Manipulation (8.23.203.000.0), wu.seal.tool.jsontokotlin (3.7.2), com.developerphil.adbidea (1.6.4), siosio.kodkod (2.0.4) Current Desktop: KDE ADB Idea version: 1.6.4

    When pressed "ADB Clear App Data and Restart" for the first time, I got this 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 com.developerphil.adbidea.adb.DeviceResultFetcher.fetch(DeviceResultFetcher.kt:20)
    	at com.developerphil.adbidea.adb.AdbFacade.executeOnDevice(AdbFacade.kt:40)
    	at com.developerphil.adbidea.adb.AdbFacade.clearDataAndRestart(AdbFacade.kt:25)
    	at com.developerphil.adbidea.action.ClearDataAndRestartAction.actionPerformed(ClearDataAndRestartAction.kt:8)
    	at com.developerphil.adbidea.action.AdbAction.actionPerformed(AdbAction.kt:9)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:240)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:261)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:240)
    	at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:252)
    	at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:242)
    	at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$2(ActionPopupStep.java:228)
    	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
    	at com.intellij.ui.popup.AbstractPopup.lambda$dispose$18(AbstractPopup.java:1503)
    	at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:101)
    	at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:186)
    	at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:140)
    	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:175)
    	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:36)
    	at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1500)
    	at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:163)
    	at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:337)
    	at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.dispose(PopupFactoryImpl.java:287)
    	at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:136)
    	at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:166)
    	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:155)
    	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:143)
    	at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:266)
    	at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:444)
    	at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:416)
    	at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:372)
    	at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.handleSelect(PopupFactoryImpl.java:304)
    	at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:629)
    	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
    	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652)
    	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
    	at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:706)
    	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)
    

    The data wasn't actually cleared, and the app wasn't restarted.

    When I press "ADB Clear App Data and Restart" after that, nothing happens. No errors, data not cleared, app not restarted.

    Not happened with Canary 5

    opened by insiderser 8
  • Can not be used normally on Android Studio 4.1

    Can not be used normally on Android Studio 4.1

    When I use " ADB Uninstall App",Android Studio show “uninitialized.application.id is not installed on xiaomi“. Android Studio v4.1,Plugin v1.6.2

    opened by liuweiqiang2016 8
  • No device found error

    No device found error

    I use android studio 1.1.0

    The plugin works fine in one of my projects. But when I switch to the other one and try to invoke any command from the plugin I see an error "No device found". The device is actually available and visible in e.g. android ddms.

    I tried to reinstall the plugin but it doesn't help. What can be wrong and how to debug the problem?

    opened by emakovsky 6
  • Plugin Broken with AS 3.6 Canary 12

    Plugin Broken with AS 3.6 Canary 12

    I've been getting multiple reports of the following Exception when using the plugin (i.e. taking an action from the dialog):

    java.lang.NoSuchMethodError: org.jetbrains.android.facet.AndroidFacet.getManifest()Lorg/jetbrains/android/dom/manifest/Manifest;
    	at com.developerphil.adbidea.adb.DeviceResultFetcher.isTestProject(DeviceResultFetcher.kt:96)
    	at com.developerphil.adbidea.adb.DeviceResultFetcher.getApplicationFacets(DeviceResultFetcher.kt:63)
    	at com.developerphil.adbidea.adb.DeviceResultFetcher.fetch(DeviceResultFetcher.kt:18)
    	at com.developerphil.adbidea.adb.AdbFacade.executeOnDevice(AdbFacade.java:73)
    	at com.developerphil.adbidea.adb.AdbFacade.clearData(AdbFacade.java:57)
    	at com.developerphil.adbidea.action.ClearDataAction.actionPerformed(ClearDataAction.java:10)
    	at com.developerphil.adbidea.action.AdbAction.actionPerformed(AdbAction.java:13)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:265)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:256)
    	at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:200)
    	at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:190)
    	at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$2(ActionPopupStep.java:184)
    	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:192)
    	at com.intellij.ui.popup.AbstractPopup.lambda$dispose$13(AbstractPopup.java:1428)
    	at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2458)
    	at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:167)
    	at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:119)
    	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:161)
    	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:58)
    	at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1424)
    	at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:162)
    	at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:318)
    	at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.dispose(PopupFactoryImpl.java:278)
    	at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:47)
    	at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:43)
    	at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:135)
    	at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:104)
    	at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:194)
    	at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:104)
    	at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:142)
    	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:136)
    	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:132)
    	at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:263)
    	at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:453)
    	at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:407)
    	at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:348)
    	at com.intellij.ui.popup.list.ListPopupImpl$1.actionPerformed(ListPopupImpl.java:261)
    	at com.intellij.ui.popup.WizardPopup.proceedKeyEvent(WizardPopup.java:378)
    	at com.intellij.ui.popup.WizardPopup.dispatch(WizardPopup.java:358)
    	at com.intellij.ui.popup.PopupDispatcher.dispatchKeyEvent(PopupDispatcher.java:112)
    	at com.intellij.ui.popup.PopupDispatcher.dispatch(PopupDispatcher.java:148)
    	at com.intellij.ide.IdePopupManager.dispatch(IdePopupManager.java:93)
    	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:707)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:405)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704)
    	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:404)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    
    opened by eygraber 5
  • Adding network toggle command + power button command

    Adding network toggle command + power button command

    I noticed when doing ./gradlew clean buildPlugin it fails, but ./gradlew clean buildPlugin ; ./gradlew buildPlugin then it works. The main trunk master branch also has this behaviour.

    opened by fmatosqg 5
  • Can't restart multiple devices since Android Studio 4.0 canary 3

    Can't restart multiple devices since Android Studio 4.0 canary 3

    java.lang.NoSuchMethodError: org.jetbrains.android.facet.AndroidFacetConfiguration.getAndroidTarget()Lcom/android/sdklib/IAndroidTarget;
    	at com.developerphil.adbidea.ui.DeviceChooserDialog.<init>(DeviceChooserDialog.java:40)
    	at com.developerphil.adbidea.adb.DeviceResultFetcher.showDeviceChooserDialog(DeviceResultFetcher.kt:59)
    	at com.developerphil.adbidea.adb.DeviceResultFetcher.fetch(DeviceResultFetcher.kt:36)
    	at com.developerphil.adbidea.adb.AdbFacade.executeOnDevice(AdbFacade.java:73)
    	at com.developerphil.adbidea.adb.AdbFacade.restartDefaultActivity(AdbFacade.java:49)
    	at com.developerphil.adbidea.action.RestartAction.actionPerformed(RestartAction.java:10)
    	at com.developerphil.adbidea.action.AdbAction.actionPerformed(AdbAction.java:13)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:265)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282)
    	at com.intellij.ide.actions.GotoActionAction.lambda$performAction$7(GotoActionAction.java:335)
    	at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:82)
    	at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:106)
    	at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:115)
    	at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransactionLater$4(TransactionGuardImpl.java:268)
    	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:433)
    	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:416)
    	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    	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:74)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
    	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:824)
    	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:773)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:412)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704)
    	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:411)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    

    They (Studio devs) seem to break it every other release :(

    opened by Pitel 4
  • Compatibility with instant run

    Compatibility with instant run

    Since Android Studio 2.0 and instant run, app start/restart won't play nice with instant run. Commands will use the apk initially build, when the correct action would be to rely on AS cold start function.

    opened by fmatosqg 4
  • No device in chooser when multiple USB devices are connected with AS 1.5 (stable)

    No device in chooser when multiple USB devices are connected with AS 1.5 (stable)

    Hi,

    When I have multiple devices connected (a Nexus 5X and a Samsung GS5) using USB, the window to choose the device is empty and so no action (delete app, reset app, ...) are possible. If I unplug all devices except one, the device chooser logically don't appear and the action works.

    Thanks.

    opened by nmDejamobile 4
  • Android Studio contributions to adb-idea

    Android Studio contributions to adb-idea

    I opened an issue with Android Studio (and also a reddit poll) to either start contributing to this project or add the functionality into Studio directly. I imagine this would help deal with the constant breaking changes they introduce.

    @pbreault I probably should have gotten your opinion before doing this. What are your thoughts?

    opened by eygraber 0
  • ADB Idea fails to attach the debugger on Android Studio Flamingo Canary

    ADB Idea fails to attach the debugger on Android Studio Flamingo Canary

    Using ADB Idea 1.6.8 with Android Studio Flamingo 2022.2.1 Canary 8, I get the following exception when trying to use "ADB Restart app with debugger":

    java.lang.NoSuchMethodError: 'void com.android.tools.idea.run.editor.AndroidDebugger.attachToClient(com.intellij.openapi.project.Project, com.android.ddmlib.Client, com.android.tools.idea.run.editor.AndroidDebuggerState)'
    	at com.developerphil.adbidea.debugger.Debugger.closeOldSessionAndRun(Debugger.kt:35)
    	at com.developerphil.adbidea.debugger.Debugger.access$closeOldSessionAndRun(Debugger.kt:17)
    	at com.developerphil.adbidea.debugger.Debugger$attach$2.invoke(Debugger.kt:27)
    	at com.developerphil.adbidea.debugger.Debugger$attach$2.invoke(Debugger.kt:27)
    	at com.developerphil.adbidea.HelperMethodsKt.invokeLater$lambda-0(HelperMethods.kt:16)
    	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
    	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
    	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
    	at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513)
    	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75)
    	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118)
    	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42)
    	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
    	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:749)
    	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918)
    	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449)
    	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
    	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
    	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)
    

    The app does get restarted, but I get the "Waiting For Debugger" dialog, which means that I manually have to attach the debugger from Android Studio.

    opened by Stonos 0
  • ADB IDEA: Start fail... Default Activity not found

    ADB IDEA: Start fail... Default Activity not found

    I have a multi-module project and this is what I get when I try to Start the app.

    ADB IDEA: Start fail... Default Activity not found

    I am on Android Studio Dolphin | 2021.3.1 RC 1. However, this was still an issue on the older versions. I am on version 1.6.8.

    I tried to look for a configuration to solve this issue but couldn't find anything.

    opened by erdalgunes 1
  • Plugin doesn't work when using Bazel

    Plugin doesn't work when using Bazel

    Trying to run commands results in the "Couldn't determine if a gradle sync is in progress" error.

    I'm not sure if adding Bazel compatibility is as simple as letting the user disable the "is Gradle syncing" check or if it would require more in-depth changes. But if support for other build systems is beyond the scope of this project, I'd suggest adding a note saying "only compatible with Gradle-based projects" to the plugin description :)

    ADB Idea 1.6.6 Android Studio Chipmunk | 2021.2.1 Patch 1

    opened by mileskrell 0
  • The plugin does not work with IntelliJ IDEA 2022.2

    The plugin does not work with IntelliJ IDEA 2022.2

    Module selection dialog looks like this (so, it has not only modules but unrelated stuff)

    image

    And selecting the correct module does nothing, i.e, the app is not uninstalled from the Android device.

    Here's the error I'm getting in Idea after trying to run Uninstall command:

    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 com.developerphil.adbidea.adb.DeviceResultFetcher.fetch(DeviceResultFetcher.kt:20)
    	at com.developerphil.adbidea.adb.AdbFacade.executeOnDevice(AdbFacade.kt:40)
    	at com.developerphil.adbidea.adb.AdbFacade.uninstall(AdbFacade.kt:15)
    	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.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:315)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:294)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:337)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:294)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(ActionUtil.java:516)
    	at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:232)
    	at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$1(ActionPopupStep.java:220)
    	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
    	at com.intellij.ui.popup.AbstractPopup.lambda$dispose$18(AbstractPopup.java:1543)
    	at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:113)
    	at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:179)
    	at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:132)
    	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:163)
    	at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1540)
    	at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:162)
    	at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:326)
    	at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.dispose(PopupFactoryImpl.java:266)
    	at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:126)
    	at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:158)
    	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:217)
    	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:205)
    	at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:266)
    	at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:434)
    	at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:406)
    	at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:361)
    	at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.handleSelect(PopupFactoryImpl.java:278)
    	at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:618)
    	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
    	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6648)
    	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3392)
    	at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:694)
    	at java.desktop/java.awt.Component.processEvent(Component.java:6413)
    	at java.desktop/java.awt.Container.processEvent(Container.java:2266)
    	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5022)
    	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:2802)
    	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
    	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
    	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$5.run(EventQueue.java:754)
    	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:752)
    	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:751)
    	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:898)
    	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:820)
    	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:743)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:439)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:438)
    	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
    	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:604)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:436)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
    	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:484)
    	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)
    
    opened by Bringoff 1
Releases(1.6.8)
Owner
Philippe Breault
Philippe Breault
IntelliJ Idea Astor Plugin is a plugin that integrates Astor in Intellij Idea

IntelliJ Idea Astor Plugin IntelliJ Idea Astor Plugin is a plugin that integrates Astor in Intellij Idea. It communicates with a local/remote program

null 4 Aug 28, 2021
K6-intellij-plugin - IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your IntelliJ IDE

IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your Intel

Mikhail Bolotov 8 Jan 2, 2023
Intellij-platform-plugin-template - IntelliJ Platform Plugin Template

IntelliJ Platform Plugin Template TL;DR: Click the Use this template button and

null 0 Jan 1, 2022
IntelliJ IDEA / PhpStorm InertiaJS Plugin

PhpStorm and IntelliJ IDEA Inertia.js Plugin Provides support in PhpStorm and IntelliJ IDEA Ultimate for Inertia.js. ?? GitHub Issues: feature request

Matthew Hailwood 16 Dec 18, 2022
IntelliJ IDEA plugin for JBang

jbang-intellij-plugin JBang plugin is a plugin for IntelliJ IDEA to integrate JB

jbang - unleash the power of Java 14 Dec 16, 2022
Intellij Idea Plugin that can convert HTML to Compose for Web code.

HtmlToComposeWebConverter Intellij Idea Plugin that can convert HTML to Compose for Web code. Turn this: Into this: Show some ❤️ and star the repo to

Jens Klingenberg 90 Oct 10, 2022
An IntelliJ IDEA plugin is used to inspire you to write code.

InspireWritingPlugin An IntelliJ IDEA plugin is used to inspire you to write code. Whenever you write code that exceeds the specified character, the p

Airsaid 6 Feb 11, 2021
Idea-plpgdebugger - A plugin to debug PostgreSQL in Intellij

Intellij PL/pg SQL debugger Debug PL/pg SQL in Intellij with Datbase Tool to spe

Alexandre Boyer 24 Dec 30, 2022
A Mindustry modding Intellij IDEA plugin, named Plumy.

mgppi Template ToDo list Create a new IntelliJ Platform Plugin Template project. Get familiar with the template documentation. Verify the pluginGroup,

Plumy Games 2 Jul 24, 2022
Kirill Rakhman 4 Sep 15, 2022
IntelliJ / Android Studio plugin for Android Holo Colors

This project is not maintained anymore. Holo Colors doesn't make sense since the introduction of Material Design and the ability to set the primary co

Jérôme Van Der Linden 644 Nov 10, 2022
Android Studio & IntelliJ Plugin for sort xml by name="xxx".

AndroidXmlSorter Android Studio & IntelliJ Plugin for sort xml by name="xxx". Options Insert space between difference prefix ('Snake Case', 'Camel Cas

Kaoru Tsutsumishita 102 Nov 29, 2022
An Android Studio / IntelliJ plug-in help you upload your apk or listing to Google Play.

DroidLane An Android Studio / IntelliJ plug-in help you upload your apk or listing to Google Play. Installation Open Android Studio or IntelliJ IDEA O

Jintin 24 Jul 26, 2021
This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging your codes.

AdbWifiUtils Github | Issues | README | 中文文档 ● [Description]: This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging

AWeiLoveAndroid 3 Sep 19, 2022
A playground to development intellij plugin

pluginExporlor Template ToDo list Create a new IntelliJ Platform Plugin Template project. Get familiar with the template documentation. Verify the plu

Woody Hu 0 Nov 23, 2021
eventbus-intellij-plugin 3.8 0.0 L1 Java Plugin to navigate between events posted by EventBus.

eventbus-intellij-plugin Plugin to navigate between events posted by EventBus. Post to onEvent and onEvent to Post Install There are two ways. Prefere

Shinnosuke Kugimiya 315 Aug 8, 2022
🌏 Android/IDEA localization plugin. supports multiple languages and multiple translators.

English | 简体中文 AndroidLocalizePlugin ?? Android/IDEA localization plugin. supports multiple languages and multiple translators. Features Multiple tran

Airsaid 465 Dec 28, 2022
IDEA plugin.

#Code Review Plugin Download 团队之间Code Review(Diff) 工具 集成 Trello Get Start 配置Task 插件依赖IDEA task 插件的server信息 Perferences -> Tools -> Tasks -> server 添加T

hxc 4 Dec 11, 2021
IDEA plugin demo.

idea-plugin-demo Template ToDo list Create a new IntelliJ Platform Plugin Template project. Get known with the template documentation. Verify the plug

YISEN CAI 0 Nov 3, 2021