Android Studio Showing squares instead of text - android-studio

I have a HP Pro tower pre-installed with FreeLnx. Every application renders text correctly. However, each time I launch Android Studio it just shows a bunch of squares instead of text characters thus making it impossible to use the application. The debian version is squeeze and GNOME 2.30.2. Any help will be much appreciated.

I simply changed my system font to FreeSans after which I launched Android Studio poof everything started working all fine.

Related

Android Studio emulator rotates weird

I've just begun (today) learning how to code for Android. I have my first basic app up and running, but when I rotate the emulator, it goes into this really weird view. I don't know how to explain it, so I'll just attach a screenshot:
As you can see, half of the screen is rotated one direction, and half of the screen is rotated another direction. Only one side of the screen can be interacted with -- the other side is "dead" and doesn't respond to anything.
Looks like it's a bug with Android Studio 4.1 + Big Sur:
https://developer.android.com/studio/known-issues
The suggested fixes both work (copying here for posterity):
Go to the Apple Menu, select System Preferences > General. In the
Prefer tabs when opening documents option, select "never". Then
restart Android Studio.
Upgrade to Android Studio 4.2, currently available in the Beta channel.

Some of fonts from pc not visible in android studio editor's setting

My operating system is windows. So in my PC there is one font called 'Ayuthaya.ttf' (that's not windows default font).
I want to use this font in android studio. But in font list from android studio settings I can't find that font.
But in IntelliJ's settings the font is visible. So how can I fix it?
This might be a little too late but in case someone encounters a similar problem.
If you are running Windows Build 1809 then a possible solution would be:
Delete your currently installed font.
Select the font or fonts (regular, light, etc...).
Right-click & select "Install for all users".
Restart Android Studio.
This happens because since build 1809 fonts are installed to:
C:\Users\\AppData\Local\Microsoft\Windows\Fonts
while before build 1809 they were installed to:
C:\Windows\Fonts
Okay so I've actually had this issue in the past, this kind of issue usually happens when you change the default font on Windows. For example, I changed my default windows font to "San Francisco" by Apple and it literally made everything on Android Studio unreadable.
To fix the issue, just change the default font on Windows. If you're having trouble changing the font then I can provide you with a script to change the font.

Pen Width font turning to White automatically (Jaspersoft Studio 6.4 Arch Linux Gnome)

Im having some glitching issues while using JasperSoft Studio. (using the latest version from the AUR).Im using GNOME.
Steps to reproduce :
Add Text Field. Select it.
Go to Properties -> Borders -> Click on a border on the square.
The Pen Width (1.0 by default) appears for an instant and then "disappears" (Its still there as I can select it but i think the font color becomes white)
This can be temprorarily resolved by going to preferences and toggling the theme from classic -> GTK or vice versa. The resolution exists only for the current report and does not remain for other opened reports. Really annoying bug.
Ive tried Adwaita and GTK other themes etc...but no use. The bug persists.
I have a version 6.1.1 of Jaspersoft Studio on another machine running the latest UBUNTU GNOME and it works near perfectly.I tried running this version of Jasper on arch using various settings but it stops working as soon as I open a JRXML file. Nothing is clickable and I have to kill the process. I am guessing its a GTK issue.
I dont want to go back to using Ubuntu as I love the Arch experience. Can someone help me to run the AUR version of Arch without this glitch.
And if you think 6.1.1 should run fine on Arch...can someone help me overcome the GTK issue (Ive already tried export SWT_GTK3=0; but it doesnt work)
Thanks.
Try editing the runjss.sh script (probably in /opt/jaspersoftstudio) and add the line
export SWT_GTK3=0
Then try running JSS via that script and see if it helps.
I haven't had the same issue as you but I've been having a lot of Gnome-related problems and I'm using the same combination as your - Arch (Manjaro) and Gnome with JasperSoft Studio 6.4.3. Works perfectly since I added that line.
You can also edit the .desktop file to exec runjss instead of the default exec line.

Android Studio IDE issue (font/encoding: abcd -> cdef)

Installed Android Studio maybe week ago. All was great.
Then yesterday have tried to open it. Something strange happened: all english letters are shifted right in alphabet (abcd -> cdef).
Loaded IDE start
It reminds me of encoding problems (I use ukrainian windows, but another apps (Latin / Cyrillic) are working without problems).
Have checked Language and Regional settings, but everything is fine with it (as I think). Tried to change IDE encoding to UTF-8 too - nothing changed.
Encoding error detector site(online-decoder) gives me nothing... Searching on abcd to cdef and other encoding problems too... Have not found anything similar, but maybe i have tried to search in wrong direction. At least now i have "encrypted" IDE, and can spend some time to get familiar with this "language" :D
How to solve this?
System:
- Win7 64 bit.
- Android Studio 2.3.1
I think that it can be because i have changed system font and maybe something gone wrong. Will try to change it back to original.
EDIT: After changing system font back to original All is OK. But anyway that is strange that most of the apps supports ISOCPEUR, and Android Studio doesn't.

Android Studio 1.4.1 visual glitch

When I was using the Android Studio (1.4.1), after a while I ran into some visual glitches. I then fixed these by moving the window to my secondary monitor. This then happened again, after about 5 minutes.
I was wondering if this was documented, and if there is a known way to fix it.
Android Studio is having a strange "cascading display" glitch?
Try this:
Android Studio\bin\idea.properties
Add
sun.java2d.d3d=false
It seems that Java and DirectX are colliding on 2D issues.
You will have the same problem with many java apps on that graphic card.
It seems that the DirectX and Java have a collision on specific system settings.
To solve this:
In windows:
1. open Environment Variables
2. add a new variable
3. name it _JAVA_OPTIONS
4. add the following value -Dsun.java2d.d3d=false -Dsun.java2d.noddraw=true

Resources