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 Android Studio 3.3 beta #98

Open eygraber opened 6 years ago

eygraber commented 6 years ago
  1. The shortcut (ctl+alt+shft+a) was overwritten to the refactor action "Introduce Type Alias"

  2. Manually opening the dialog and selecting any option results in a message being printed:

    ADB IDEA: Couldn't determine if a gradle sync is in progress

chainchelliah commented 5 years ago

Yeah.. 3.3 stable version also not working. Any update on this team. @pbreault

pbreault commented 5 years ago

Looks like the Kotlin plugin overrides Adb Idea's default shortcut on Windows/Linux. I'll see what kind of shortcut would make more sense on those platforms (suggestions welcomed!).

Meanwhile, you can remap the shortcut manually in your keymap.

Do you still see an error message when invoking the commands directly? If so, what platform are you on and does it fail on every project?

chainchelliah commented 5 years ago

No, I don't see any error message when invoking ADB from tools menu. Problem occurring only invoking ADB from shortcut (ctrl+alt+shift+A).

Error: Refactoring can't be performed on the selected code element

Android Studio : 3.3 OS: Windows 10 Koltin : 1.3.20 ADB: 1.5.3

shahsurajk commented 5 years ago

For Android Studio 3.3 and above a new shortcut is added for the keymap ctrl+alt+shift+a here are possible workarounds for using this plugin:

  1. Shift the focus from the main editor, open logcat or run window or move the focus of your cursor to project directory, then try the same keymap binding
  2. Go the settings/ preferences ctrl+alt+s for linux, go to keymap, Main Menu -> Refactor -> Extract -> Type Alias.. (Right click on this and remove this shortcut)