Custom Font Rendering Incorrectly in Android Studio - android-studio

Trying to use a custom font with Android Studios (Inconsolata), but Android Studio is just rendering it as a bunch of As. Is there any fix to this?

This is a known issue with several possible workarounds. One option is to configure Android Studio to run under JDK 7 or JDK 8 by editing Info.plist and changing the JVMVersion, as described in the last comment to the issue.

Updating to the latest version of Android Studio fixed this issue.

Related

How to configure an iOS Application for Kotlin Multiplatform in Android Studio?

I want to add a Run/Debug Configuration for an iOS Application for a Kotlin Multiplatform Mobile application in Android Studio 4.1.2. However, there seems to be a problem with the configuration for iOS.
In the screenshot below you can see the problem. In the dialog "Run/Debug Configuration" Android Studio complains about
Error: Please specify Xcode project location in xcodeproj property of gradle.properties
Using the "Fix" button does not solve the problem. Android Studio just adds an additional xcodeproj to gradle.properties and the complains about a duplicate parameter.
I also tried different paths (relative and absolute) for xcodeproj. No luck.
If I remember correctly, it used to work out of the box. A new Kotlin Multiplatform Mobile project was automatically configured for Android and iOS. I'm not sure what changed. Probably something was updated.
Is this a bug with the KMM plugin? Or is there something I can do on my system to fix this?
don't do that with Android Studio.
Just open Xcode, click on 'open another project...', locate to the iosApp folder that named it when creating your project on Android Studio.
after that, just click run and have fun.
If the project doesn't run right away even on opening it from Xcode and shows the shared framework is missing, Then try generating the shared framework for iOS platform using terminal. Navigate to the project folder and execute
Command: ./gradlew packForXcode
Now the shared framework should have a xcode-frameworks product and you should be able to build and run the project through Xcode.
I fixed it by downgrading the Kotlin version from 1.4.30 to 1.4.21. You can check this thread here. To downgrade, download the version you want from the plugin store and choose the install plugin from disk as in the picture below
Upgrading Android Studio version to 4.2.1, KMM plugin version to 0.2.6, creating new KMM project with KMM plugin, the problem can be fixed automatically.
If you don't wanna use Xcode:
Look like there is some IDE issues in this versions, one option would be to downgrade the Kotlin version.
What worked for me was to download the latest Canary Android Studio and setup my KMM project there.
Hopefully soon this will be stable for the next versions
Same as here: https://stackoverflow.com/a/66941077/3117650
Look like there is some IDE issues in this versions, one option would be to downgrade the Kotlin version.
What worked for me was to download the latest Canary Android Studio and setup my KMM project there.
Hopefully soon this will be stable for the next versions

Android Studio - Cannot resolve symbol themes, colorprimary,

I am seeing in Android Studio 3.1.2 an error for AppCompat themes and colors attributes like attr/colorPrimary.
But only in Android Studio. Compile and run does work.
For example:
My app.gradle:
supportLibVersion is 27.1.1!
This helped in the similar problem. Maybe this help you:
Close the project from the File menu. Then open the project again as existing Android Studio project.
I posted my answer on link mentioned by V.March. Basicly Invalidate Caches / Restart solved my problem

Intellij Idea 2017.3 (and Android studio 3.1) project tool window doesn't show visibility icons anymore

After upgrading to Intellij Idea 2017.3 and to Android Studio 3.1 canary 6 I noticed the project tool window doesn't show the little lock icons next to files anymore.
This is very useful to have a bird's eye view on the visibility of each file (public, package protected...).
Is there a setting to bring them back?
Marco, please check this comment on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-172513#comment=27-2150075

Is there a workaround to enable genymotion plugin in Android Studio 3.0?

After installing the fresh Android Studio 3.0 stable, I encountered that Genymotion plugin doesn't work properly (the icon doesn't appear). To use genymotion I have to manually start Genymotion from my OS. Did someone resolved this issue?
P.S. I understand that the Genymotion team maybe didn't solve yet this issue for Android Studio 3.0, but maybe is there an workaround?
Works for me and several other colleagues, did you follow the doc: https://www.genymotion.com/plugins/
especially "To see Genymotion plugin icon, display the toolbar by clicking View > Toolbar."

Where did i get list of all versions of Android Studio?

I am stuck in my Android Studio and not able to open it. So i want to install new Android Studio with a lower version than previous. So, where did i get it?
Here, on the below link you are able to get all the versions of Android Studio.
https://android-studio.en.uptodown.com/windows/old
Go and get your suitable version of Android Studio.
Here you have old versions:
https://developer.android.com/studio/archive.html
Not all versions are available.

Resources