When I run my Android app in Eclipse I can see the emulator on the toolbar but the window appears to be off the screen. Clicking on the icon in the toolbar makes it flash in or out from the right but I cannot see it.
I have had this problem before but I cannot remember how I resolved it.
You could try this.
or
(Windows 7 only)
Hover over the window icon in the task bar so that the preview appears, right click on the preview and select "move." You should then be able to move the window with the arrow keys. You may have to hold down the arrow key for what seems to be a very long time.
As dell116 said:
Hover over the window icon in the task bar so that the preview
appears, right click on the preview and select "move." You should then
be able to move the window with the arrow keys.
But as soon as you have used one of the arrow keys, then move the mouse, and... voilĂ , the window turns up in front of us, just following the mouse movements. Place the window where you want and click the mouse's left button to release it.
None of the tricks here worked for me. What I had to do was in Windows right click background (desktop) select screen resolution. From there change the resolution to a smaller resolution. The window provided me with the window bar that was cut off, simply drag like normal. After I got it where I got it where I wanted it, I just changed the resolution back.
You can also right click on taskbar->properties change Taskbar location on screen to something else, Apply, and then you can set it back this will put your windows on screen.
Another one is right clicking on the taskbar->Cascade windows - this will put every window together in cascading order which is annoying but it does guarantee all windows will go on the screen.
In Windows 10,I faced the same problem. My solution is like that;
Start Android Studio
Select the Android Studio from ALT+TAB Menu(If'nothing happens,just relax :) )
Now press ALT + Space combination
Click Maximize
Now you may use the ide :)))
I faced the exact same problem. I tried the solutions suggested by Daniel and dell116. At first it did not work as the "Move" option seems to be disabled. However, during my final attempt it worked. I found out that you can only use this method only when the OS is starting up (i.e. when it is showing the android logo).
Good news is that after doing this once, it will stay in the desired position for future runs.
Related
There is two circle on screen every time i long click on screen. i have no idea what is this?
is it possible to disable this?
Zoom Icon on the virtual device menu
I had the same problem when the green circles appear and won't go away I just pressed the zoom button on the Virtual device menu the appears next to the device so you just need to enter the zoom mode then exit and the glitch is gone
As a workaround : Setting->General->send keyboard shortcuts to -> vritual device solved the issue
This is the multi-touch functionality.
Use F1 to see the setting in emulator
For me it seems the problem is with Desktop app.
I am using Linux Mint and after clicking on Ctrl-Alt-F1 the stacked multi-touch was gone.
Sometimes the program runs into an infinite loop, or the LogCat contents are too lengthy for the Logcat to display them all. In that case, we need to terminate execution in the middle of it. How can we do that?
I can't no more see the red square I once used to see in the console window when coding Java.
It's not about debugging because what would a breakpoint do in the case of an infinite loop?
Another question is that my logcat won't dock to the right side of the window in eclipse. Instead when I try to drag the Logcat window to the right side (where the "outline" window and "restore" button is present- I want to dock is beside them), the mouse pointer starts showing this sign: How do I dock the Logcat button on the right side (It is docked to the left in the above picture) ?
1. To stop app in the middle of execution:
- go to Devices window or open it:
- - from Debug perspective: Window -> Show View -> Devices
- - from other perspectives: Window -> Show View -> Other... -> type "Devices" or just find
- select process you want to stop (it should be launched from the same instance of Eclipse)
- press stop button on the toolbar
Note. "Red button" isn't visible when Eclipse doesn't know what to stop. It happens when you simply start your app (not for debugging) or debug several apps at the same time (in this case you should explicitly choose process in the Debug window to activate "red button").
2. There is usually no problem to dock logcat to any side of the hosting window - just drag it to the middle of required window side.
Update
Sometimes Eclipse UI behaves strange as a result of accumulation of minor configuration changes (including during updating etc). You may try to move <YourWorkspace>\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi file to some backup location and start Eclipse.
It may require to reconfigure some of your settings. If you are not satisfied just move original workbench.xmi back.
Weird thing is I can't see your screenshot. something wrong with my browser or something else.
I have added my screenshot, you'll see a red button on the tool bar. Go to Window->Show Toolbar if your toolbar is not visible.
Changed my comp, and now I am able to see your screenshot.
As for your Want-Logcat-to-Right problem, Try Window->Reset Perspective it should give you the same layout as my screenshot above and when you minimize it, it would hide to the right of the window like the screenshot below
Yesterday I upgraded from Lion to Mountain Lion and today my productivity went down. I cannot perform "cmd + click" on a method or variable to go its declaration because the popup shown in eclipse contains a horizontal scrollbar which overflows the last option.
Does anyone have a solution how to fix this?
UPDATE: Just to be clear- neither "When Scrolling", nor "Automatically based on mouse or trackpad" options remove the problem for me. Only "Always" does work, but its consequences to the whole system UX are not acceptable
Try doing this. In Mountain Lion, go to Preferences -> General and for Show scroll bars choose Always like so :
That should prevent the scroll bar from covering the last option and allow you to click it. Does this help ?
Update
I just checked that this indeed works. In fact for me it's only the When Scrolling option that creates a problem. With either of the remaining settings, things are peachy :
Unfortunately, I can't post a screen shot since the cmd + click popup disappears as soon as I press the shortcut key for taking a screenshot (Cmd + Shift + 4).
Update 2
I just made this quick screen cast to show the relation between the Mountain Lion Preferences and how it effects eclipse. Take a look at it here.
If you press F3 while the cursor is on a variable or method then Eclipse will 'open declaration'. Fix the problem by removing the mouse-based workflow?
When I flip into that alternate reality known as Debug time (the Debug Perspective of Eclipse becomes active), I want LogCat to always be there; it's not, and I have to open it manually/explicitly each time. Can I "train it" to always be there when Debug time rolls around?
In the lower left corner, there should be an icon that shows show view as a fast view when you hover over it, click it then LogCat and dock it where you want. That works on my Galileo version's Debog perspective. If that's what you're doing and it still doesn't stay, try running eclipse in as administrator.
I had the same problem. The answer , for me, was that all the items in the icon view at the bottom of the window occupy the same window. On the left side of the row of icons is one that looks like a couple of windows. Click on that and it restores the window to be fixed.
Hope this helps
Cliff
I am somewhat new to android and I am setting up my view perspectives (that i am fairly anal about). I want to have logcat showing on my normal editing perspective.
But I go into Window>Show View>Other Views.. select android and logcat. And the window does not show up. Sometimes it grayed out.
If I switch to the DDMS perspective it shows up just fine.
What am I doing wrong?
thanks!
Try the following in eclipse.
Windows->close all Perspective
Windows->Open perspective->Java EE
Window->show view->other->Android->LogCat
to solve the problem reset the setting by following this print screen on right corner java->reset will reset the settings
than run your app and console and logcat will apear
First of all check if adb logcat is working as in some cases logging is disabled with kernel options by default (on the device).
I had a similar issue but it had to do with my page not updating. I had a shortcut bar with Logcat(Depreciated) and when I added Logcat View it would not update the shortcut bar. I had to move the bar and then it updated the icons.
TL;DR - Try moving shortcut bars around