what is this eye icon in Android Studio - android

Whenever I start the program a little eye icon appears in the upper right corner above the scroll bar. It can't be clicked. I assume it's Google uploading my usage data. How can I disable that?

I think that icon just means IntelliJ (or Android Studio) is analyzing the file. AFAIK nothing related with usage data uploading.
After a short while it should turn green if everything is correct, yellow if you have warnings and red if you have errors.

Related

Android Studio USB Debugging Phone Display Error

I started using the USB debugging mode on Android Studio and when i run my project the display on the phone is completely wrong. The ide displays the correct way i want it to look but when i open the app on the phone the app's displayed contents are all thrown into the top of the screen. Why is it doing this? Sorry for huge picture btw.
It seems that you are using ConstraintLayout, but you haven't set any vertical constraints for your views. Therefore, when you run the app, all the views are jumping to the top. Click on the red exclamation mark, it will show you the same thing. Go to the code view, it will also show you the same error.
You should use minimum 2 constraints from top or bottom nd start or end
It will help you views to attach each other

Visual Studio how to disable VS Output Window's auto scrolling to bottom during Android/Xamarin debug run?

I am losing my mind ...wondering how could the following behaviour be the shipped default user experience in Visual Studio where all technologies involved are Microsoft-made:
use microsoft visual studio (2019)
use microsoft Xamarin.Forms to make an app
run the app in debug mode to see updates in the VS Output window
every new line that comes in through logcat from my phone to VS, force auto-scrolls Visual Studio's builtin Output window to the bottom and there's no way to stop it?!
I have to either: 1. stop running the app and read the output. Or 2. futilely wrestle with the damn scrollbar and fight Visual Studio to try to maintain the output window's scroll on a specific position enough moments to read anything.
How did this get past any internal QA for Xamarin? Did they ever try to, you know, make an app? Am I blind? Is there an easy way to stop auto scrolling? Why isn't it enabled by default? The default behavior should be: if the scrollbar is all the way to the bottom, then auto-scroll, sure. But if the scrollbar has been moved by the user, then stop auto-scrolling for the love of god! (this is common sense in many other software)
Also, there's no button on the Output window that locks the scrolling.
This is a hack not a solution, but it works:
Just Ctrl+F anything in the Output window. As long as and while this is active / has found something, the auto-scrolling will be locked/stopped. (and you can still use the scrollbar manually)
So the functionality IS already in VS. Just MS didn't bother to add a scroll lock button for it, or have a manual scrolling override. Microsoft has this lovely track record of insistently not using their own products in a way that actual human beings (read: not imaginary simple target personas) will definitely need to use them.
Release a Microsoft dev environment that can't have a pausable (readable) Output window? Microsoft: Sure, why not? We don't see the problem here. Why would you ever want to read the output of your application? What an edge case!
Try placing the caret (in the Output window) somewhere other than at the bottom.
If I click somewhere in the output other than at the very end, Visual Studio will stop scrolling to the bottom.
I haven't tried it with an Android/Xamarin project, but I assume the output window behaves the same for all project types.
Place your cursor in output window then
autoscroll on Ctrl+End
autoscroll off Ctrl+Home

Android Studio Shortcut For Showing Linter Hint?

When the Android Studio linter warns you about an error (either highlighting it in yellow or underlining in red) you can read about the error by hovering your mouse over the highlight. You can then expand the explanation with ⌘+F1 (on a Mac). Is there a shortcut like ⌘+F1 but for making the linter hint show up in the first place? I'd really like to avoid having one hand jump to the mouse (and hover there for a second, waiting) and jump back every time Android Studio wants to say something.
You can see warning message in the Status bar of Android Studio. See below
Actually, it turns out ⌘+F1 makes the smaller version of the hint pop up, as well. I guess I should've tried that first.

vuforia unity project on android phone shows triangle broken screen

I currently have a simple Vuforia and Unity project for android where I have a postcard as a target, and then you can cycle through a set of pictures while you are looking at the target by swiping left and right on the screen. However when I run the demo on my android phone(Samsung Galaxy S6 Edge), the demo divides the screen into two separate triangles where one is completely black, and the other triangle changes color based on where the camera for the phone is facing. I've attached a still image of the problem where it shows white for one triangle, black for the other, and my image target is the postcard placed on the table broken demo image.
Any help would be greatly appreciated, this error has been going on for some time. If I need to post anything else please feel free to let me know.
Thanks!
we faced this problem too. Here is the solution-
Go to Build Settings > player Settings , On the right hand side a window will change, go to Other Settings and Auto Graphics API untick, and Open GLES3 remove it by pressing negative sign
Hope it works

Android Studio Android DDMS display issue

I'm using Android Studio 0.7 and while i normally find it quite pleasant to work with, its logcat support is intermittent at best. Now i've somehow gotten myself into a bit of an interface conundrum. Something i did inadvertently with the Android DDMS window at the bottom has meant that "Devices" and "logcat", which are normally in a two-paned window together (e.g. "Devices | logcat"), have become separate. As a result i can no longer view the filter box and the logcat output without switching panes, which as you can imagine is a real PAIN! (pun unintended but welcomed)
Here are some screenshots - at the top you see two shots of the two panes in their current separated form in v0.7, and below you see what it normally looks like (from v0.8). It's like i've somehow lost the whole header for the individual panes...
I've looked at all the buttons nearby, looked through all the settings, and googled as best i can, and i just can't figure it out. Can anybody help me? At the moment i can only hope that google fixes their developer L preview so i can actually start using 0.8 but who knows how long that will be....
In Intellij IDEA 13.1.5 for Mac, press Fn in keyboard, drag 'Devices' window to 'logcat' window, done!
Click and drag the part I highlighted in Red. When it becomes a separate box, just close it by clicking on the X on the top right.

Categories

Resources