Fixed
Status Update
Comments
ge...@gmail.com <ge...@gmail.com> #2
And the worst is I can't even change this key shortcut, it doesn't work. I've changed keymap "Update Running App" but it still says "Apply Changes" and is stuck to not working Ctrl+F10 so now I have to use a mouse to kick Instant Run which is a bit slower than using a keyboard (every second counts :)
fu...@gmail.com <fu...@gmail.com> #3
你提的问题很好,我也遇到了 ,希望早日解决.
ge...@gmail.com <ge...@gmail.com> #4
BTW, it was all working just fine in a previous version Android Studio v3.2 on same machine / OS
rm...@google.com <rm...@google.com> #5
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
we...@gmail.com <we...@gmail.com> #6
This original issue was reported on Win 10.
I'm seeing the exact same behavior on Ubuntu Linux: C-F10 does not trigger Apply Changes; I am not able to remap Apply Changes to a different key shortcut in Keymap settings.
I'm seeing the exact same behavior on Ubuntu Linux: C-F10 does not trigger Apply Changes; I am not able to remap Apply Changes to a different key shortcut in Keymap settings.
vs...@google.com <vs...@google.com>
uc...@google.com <uc...@google.com>
je...@google.com <je...@google.com>
du...@google.com <du...@google.com> #8
Do you all happen to have plugins installed? Ones that use the com.intellij.runningApplicationUpdaterProvider extension point?
ge...@gmail.com <ge...@gmail.com> #9
I believe there is a lot of plugins pre-installed, no? How to check what extension point do they use? Anyway I haven't installed any new plugins between using AS v3.2 and v3.3
du...@google.com <du...@google.com> #10
Sorry, probably a bad question. Can you check if "Update Running Application" has a hotkey attached to it as well? (Preferences -> Keymap -> search for "Update Running Application) It's the same action you mentioned earlier.
ge...@gmail.com <ge...@gmail.com> #11
It has now... which doesn't change anything as it seems not to be correlated whatsoever. I tried to change the keymap as I wrote earlier (see https://issuetracker.google.com/issues/122936350#comment2 ) but it's ignored. There are 2 names for the same function, toolbar and menu's one is called "Apply changes", the keymap one "Update Running Application". Is it working differently in your instance of Android Studio v3.3?
du...@google.com <du...@google.com> #12
"Update Running Application" and "Apply Changes" are two completely different actions. So when you updated the hotkey for "Update Running Application", it will have absolutely no effect on Apply Changes. As a matter of fact, you probably won't be able to reassign the hotkey for Apply Changes in the present state. Thank you greatly for catching this, and a fix will be incoming.
es...@google.com <es...@google.com>
[Deleted User] <[Deleted User]> #13
Not sure if this was mentioned before, but in AS 3.5 on Mac 10.14.2, Apply Code Changes is hooked to Cmd + Shift + Ctrl + R, and it does execute, but always produces this error from the IDE http://snpy.in/UyWpwC
Clicking on Apply Changes will actually apply changes successfully (only if clicked like that), but Apply Code Changes never runs successfully.
Clicking on Apply Changes will actually apply changes successfully (only if clicked like that), but Apply Code Changes never runs successfully.
du...@google.com <du...@google.com> #14
Re #13
Did you modify resources in any way? Apply *Code* Changes only works for changes in Java code, and only for modifications to existing methods (adding/deleting fields, renaming/adding/deleting classes do not work as of right now). If you modify existing resources in any way, you need to use Apply Changes instead (and if you add or remove resources, that translates to adding/removing fields in R.java, in which case both Apply Changes and Apply Code Changes will not work as of right now). You'll need to refer to the blog/documentation for the up-to-date status of Apply (Code) Changes.
Did you modify resources in any way? Apply *Code* Changes only works for changes in Java code, and only for modifications to existing methods (adding/deleting fields, renaming/adding/deleting classes do not work as of right now). If you modify existing resources in any way, you need to use Apply Changes instead (and if you add or remove resources, that translates to adding/removing fields in R.java, in which case both Apply Changes and Apply Code Changes will not work as of right now). You'll need to refer to the blog/documentation for the up-to-date status of Apply (Code) Changes.
[Deleted User] <[Deleted User]> #15
try what ive shown please, i'm aware of what you're talking about, the shortcut for Apply Changes does not work.
du...@google.com <du...@google.com> #16
Re #15
I did try what you said, and it runs successfully for me (10.14.3 OS X here, but I doubt this matters). Which is why I'm curious if you have modified resources in some way. Is your build somehow generating a different ID of some sort every build? I know tools like bugsnag does that for the manifest, but it's not the manifest in this case.
Anyway, my concern is that there's confusion between Apply CODE Changes and Apply Changes. For your case, Apply CODE Changes is failing because there's resource modification (Apply Code Changes only works for actual Java/KT changes). This is also why Apply Changes is working, because Apply Changes is meant for resource changes.
I did try what you said, and it runs successfully for me (10.14.3 OS X here, but I doubt this matters). Which is why I'm curious if you have modified resources in some way. Is your build somehow generating a different ID of some sort every build? I know tools like bugsnag does that for the manifest, but it's not the manifest in this case.
Anyway, my concern is that there's confusion between Apply CODE Changes and Apply Changes. For your case, Apply CODE Changes is failing because there's resource modification (Apply Code Changes only works for actual Java/KT changes). This is also why Apply Changes is working, because Apply Changes is meant for resource changes.
du...@google.com <du...@google.com> #17
Re original bug, the fix for 3.3 and 3.4 will roll out with the next release, so I'll close this bug for now.
zb...@gmail.com <zb...@gmail.com> #18
FWIW, 3.3.1 still exhibits the issue.
jo...@google.com <jo...@google.com> #19
3.3.2 was just released today and includes this fix. Apologies for the inconvenience and thanks to everyone who reported this.
da...@fries.net <da...@fries.net> #20
jo...@google.com, What exactly was fixed? Just upgraded to 3.3.2, I'm on Linux, Control-F10 still does nothing, prior to 3.3 it did the same as the run menu apply changes. The only change I see with 3.3.2 is to remove the hotkey Control+F10 from the menu, which means I can't even bring up the menu with Alt-u and press Control-F10 as a work around.
[Deleted User] <[Deleted User]> #21
I can confirm that the latest version addresses the issue on MacOS
zb...@gmail.com <zb...@gmail.com> #22
Thanks! Can confirm 3.3.2 fixes the issue too on Windows 10 64-bit (after re-adding the shortcut because I think I took it off when I was trying to fix it on 3.3.1)
da...@fries.net <da...@fries.net> #23
Android studio 3.3.2 Control+F10 is no longer listed for Apply Changes, I can manually add it, but why remove the shortcut? I went through each Keymap default, it isn't on any of them, I thought the bug reports were to continue to have Control+F10 be the default (where it was the default) and work.
fu...@gmail.com <fu...@gmail.com> #24
在3.3.2 版本上没有解决这个问题 , 在win10上输入Crtl+F10 还是没有任何反应 , 希望早点解决
[Deleted User] <[Deleted User]> #25
where's the god damn shortcut! haha you guys butchered it, you better release the stuff im seeing in 3.5 soon then! cause this aint workin!
Description
AI-182.5107.16.33.5199772, JRE 1.8.0_152-release-1248-b01x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1536x864, 2048x1152
Android Gradle Plugin: 3.3.0
Gradle: 4.10.1
NDK: from local.properties: 18.1.5063045; latest from SDK: 18.1.5063045;
LLDB: LLDB 3.1 (revision: 3.1.4508709)
CMake: from local.properties: (not specified); latest from SDK: 3.6.0-rc2; from PATH: (not found);
Source: user_sentiment_feedback
IMPORTANT: Please read