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
  • 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 erdalgns 0
  • 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 0
  • Can't display devices when there are more than 1 device connected via ADB

    Can't display devices when there are more than 1 device connected via ADB

    Android Studio Electric Eel | 2022.1.1 Canary 2 Build #AI-213.7172.25.2211.8571212, built on May 11, 2022 Runtime version: 11.0.13+0-b1751.21-8125866 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Registry: external.system.auto.import.disabled=true ide.text.editor.with.preview.show.floating.toolbar=false ide.instant.shutdown=false

    Non-Bundled Plugins: wu.seal.tool.jsontokotlin (3.7.3) ski.chrzanow.foldableprojectview (1.1.2) dev.polek.adbwifi (1.2.4) com.wakatime.intellij.plugin (13.1.14) com.hiyunhong.gradlekiller (1.0) com.github.copilot (1.1.22.1530) String Manipulation (9.4.0) org.sonarlint.idea (6.7.0.45926) mobi.hsz.idea.gitignore (4.4.0) com.developerphil.adbidea (1.6.5) com.suusan2go.kotlin-fill-class (1.0.12)

    • As you can see there are 2 devices connected via ADB and both can mirror screens via some tool
    • But when I try to open the ADB IDEA popup it can not display any devices to run the operation on.

    ADB Idea

    opened by raghavsatyadev 0
  • Plugin does not work on Android Studio Chipmunk 2021.2.1

    Plugin does not work on Android Studio Chipmunk 2021.2.1

    I recently upgraded Android Studio to the latest Beta of Chipmunk 2021.2.1 and the plugin doesn't work anymore.

    It also throws 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.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:248)
    	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:236)
    	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:67)
    	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:240)
    	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
    	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:90)
    	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
    	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:90)
    	at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:515)
    	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:545)
    	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)
    

    Probably related to #137

    opened by leinardi 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 4 Aug 15, 2022
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 13 Sep 16, 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 13 Aug 11, 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 88 Aug 18, 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 19 Aug 25, 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 Jul 14, 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 103 Sep 22, 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 440 Sep 30, 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