I cannot run my code on any emulator in Android studio... I have been despritely trying to solve this issue. the section is greyed out at the top and when I press play nothing happens. Any suggestions? Btw I have tried almost everything i've seen on the internet for this issue, I assume it has to do with [Run > edit configurations]
click here for reference image
Next time on opening studio click on the dropdown devic menu on the left side of "main.dart" then click on your emulator. If your emulator doesn't show up then click "refresh" and then click on yur AVD in the drop down.
After that click on the green play button then wait for a while for it to compile.
Hope this helps you, if you still don't understand drop a comment I'll send images.
Related
using latest version of vs code, i cant see the debug toolbar.
Version: 1.66.2
i've tried changing it in the settings from floating to docked to hidden and back to floating, restarted the program and i still cant see it.
You should press this combination of key : CTRL+Shift+Y
I think ive sorted it. the toolbar only appears if debugging is in process. it disappears when it has stopped. I thought it stayed there all the time.
For whoever still struggles with the problem, the problem for me was that the "Run and Debug" menu was unchecked for some reason.
Right-click on the menu bar and check it.
Right Click on Menu bar
I'm sure there was a place for selecting device...if connected, it show phone like SM960 , or iPhone .
but suddenly, I can't see this also I can't run code from play button on vscode. (start without debugging)
what happened?
Close the VSCode and again open VSCode as Admin. Than it will show the connected Devices.
The vscode flutter pluggin must be used with vscode oppened as admin.
Make sure to use
ctrl+ shift +p
to select device
It is Easy Just right click on The vs code Bottom Bar. You will Get a list of Item then Click on Flutter devices,
I am not seeing the small gear icon beside the play button in debug menu bar . I played around in settings and set true for all options under Debug, but still I cant see that gear button.How do I make that available in visual studio code 1.10.2
I was following some steps from here where i need to click that gear icon.
VS Code can be used with single files, or with a directory as a workspace. Within the Debug view, if you only have single files, you'll only get the green "play arrow", and VS Code will try it's best to debug the file.
To get the gear icon, you'll need to open the workspace directory of the file(s) you want to debug (and this is where you want to be).
That gear icon is for editing a launch.json Launch Configuration, which you don't have one yet, so there's nothing to show (yet).
If you hit the play icon/green arrow, you'll open the Command Palette menu which will give you a selection of mostly complete launch.json templates for the language and/or toolchain you picked in the Command Palette menu.
I had the same issue.
Firstly ensure you have a proper configuration in launch.json.
Then open Debug menu and choose Start Debugging (or just press F5).
It's caused that Debug button/menu appeared.
Select Start Debugging (F5)
Choose Unity Debugger
Click Create launch.json file
This should create a launch.json file for you and you will then see the gear icon.
I am not sure what I did but while playing around in visual studio code the gear icon appeared. If someone has a clue as to why it would have appeared , please share. Heres the screenshot
It says app is already running, but I see no big red button to stop it. I'm assuming it the 'Terminate' button. Its greyed out.
EDIT:
screenshot after I reopened eclipse and hit big green arrow(RUN)
And after it ran:
no red button while it was running.
Its a while since I used eclipse, but I believe you can right click on the elements in the debug window and choose terminate from there.
There is a screen shot in my answer to a similar question which might help
Try right clicking on the debug launches name in the debug view and selecting 'Terminate and Disconnect'.
Is that available for selection in your state (it should be).
When I open linux eclipse IDE from windows using xterm(Reflection, MobaXterm), I found few problems:
When I right-click on a project, the menu appears for a millisecond, and disappears with a click action on about.
Sometimes the menu appears on right click, but if that menu has more items, usually it should scroll down/up, but the scroll button staying behind windows tast bar.
Can anyone help me on this?
Thanks in advance!
I have the same issue too. It seems that the right-click menu disapears behind the Eclipse main window and behind the Windows taskbar...
Here is the workaround I use currently: in MobaXterm 5.0, just go to "settings" --> "X11" and choose "Windowed mode with Fvwm": this will open an X11 window.
When you run Eclipse using this tip, it correctly displays the right-click menu.
I hope this helps!
I googled but didn't find a solution.
For the first one, you can right click and hold it, move the mouse to the target menu entry, then release it.
In this way you can avoid a wrong click.