How to avoid running another android studio when creating a new project? - android-studio

Whenever I'm creating a new project on the file my android studio opens another android studio, ending up 2 android studio running at the same time. I've already configure the system setting under the appearance and behavior to current window but nothing happens

Related

Android studio running tasks indicator is not visible

In my android studio while rebuilding project or running the code, I am not able to visible the loading indicator at the bottom of screen. I am attaching the screenshots for what i can't able to see on my android studio screen.
I want that indicator while rebuilding or running the code in android studio

(Vscode) Automatically attach debugger to android process to run Android Studio app

Recently I have found that running android studio apps in vscode android environment is much faster than in Android Studio IDE. Basically all I have to do is open Android Studio and Vscode at the same time and run apps on Vscode (with android extension installed and android environment activated).
However, every time I run the app, I have to click on the 'attach debugger to android process' button beforehand for the app to be launched.
Is there anyway I can automate the 'attach debugger' process so that all I have to do is click the Run button on Vscode only?
I have searched for similar questions yet no solution was found. Most were related to Visual Studio or just manually clicking the 'attach debugger' button (which I find a bit annoying).
Could you show me the way to do attach debugger to android process automatically?

Android Studio shows C++ file icon on every file

After updating Android Studio to version 4.1 every file icon in the project is shown as a C++ icon. Is there any way to repair this? This is how it looks:
You can see every file, no matter what extension, has icon. I created new projects and checked the old ones but the effect is the same everywhere.
In my case, the error disappeared after updating Android Studio to version 2020.3.1.

How to stop Android Studio from trying to install Android SDK updates?

I have linked my Android Studio project's Android SDK Directory to our software team's standard Android SDK directory (I can't change it, so please save the effort of typing "I can't understand why you don't simply use the normal path from Android Studio :-) ).
I have disabled automatic updates in Android Studio (see screenshot). Then closed and re-opened the project.
Yet, every time I try to build, it tries to install an update to Android SDK and fails.
How can I stop Android Studio from trying to install unwanted updates?

How to develop MobileFirst shell component using Android Studio

I am trying to understand on how to build a shell component native code on Android with MFP 7.1 using Android Studio instead of ADT.
I got the MyProject/components/ShellComponent/android/native folder created after build the component, but there is no option to Run As > Android Studio project. I wanted to add Java classes to run under src. The ADT version uses a separate project tree, but with Android Studio, there is no separate tree.
I also tried to open native folder as an Android Studio project and it shows an empty project.
I ran the ShellDevelopment sample on Android Studio and it works fine.
Open the project in Eclipse -> Right Click on Android environment -> Run As -> Android Studio Project. When Android Studio is opened DON'T MIGRATE PROJECT TO GRADLE!
Anyway it is not recommended! if you want to make changes - use Eclipse to make these changes.

Resources