Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
mm...@google.com <mm...@google.com> #2
this does what you want:
adb shell ls '"hello world"'
why two sets of quotes? because there are two shells. your local one, and the remote one. if you want the remote shell to pass a single argument to ls, you need to pay the local shell a pair of quotes so that it passes a single argument to the remote shell, and then another pair of quotes to the remote shell.
if you find this confusing, just "adb shell" lets you talk directly to the remote shell.
adb shell ls '"hello world"'
why two sets of quotes? because there are two shells. your local one, and the remote one. if you want the remote shell to pass a single argument to ls, you need to pay the local shell a pair of quotes so that it passes a single argument to the remote shell, and then another pair of quotes to the remote shell.
if you find this confusing, just "adb shell" lets you talk directly to the remote shell.
Description
AI-191.8026.42.35.5900203, JRE 1.8.0_202-release-1483-b03x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 1920x1080
AS: 3.5.1; Android Gradle Plugin: 3.5.1; Gradle: 5.4.1; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
You can make it so that multiple action lines stick to your cursor at the same time, and you cannot release them in the usual way of just releasing the left mouse button, instead you have to click on the individual anchor nodes on the navigation destinations.
How to repeat:
1. Open the navigation graph in design view and make sure there are some destinations present.
2. RIGHT click on one of the destination action nodes.
3. Release the mouse button and the line is now stuck to the cursor, you cannot remove it by clicking either of the mouse buttons or trying to interact with any of the other destinations (can't create the action).
4. You can then repeat these steps as many times as you want and end up with many lines stuck to your cursor.
5. Changing to a different tab within android studio removes all the lines.
6. The same bug can be achieved by LEFT clicking and dragging an action line as normal, but then RIGHT clicking on the canvas while the LEFT button is still held down.
I found this bug because I came across a similar issue when I was creating my own canvas/drawing application for a university project, and I thought I would check to see if it was a problem here as well :) In my case I just made it so the lines weren't created when the right mouse button is pressed (I presume you are not handling each mouse click individually and are instead just saying: if the node is CLICKED (using any button by default?) then make the line etc.