Questions tagged [android-studio-4.1]

82 questions
7
votes
1 answer

Dialogs are displayed as tabs in Android Studio IDE then the IDE becomes unresponsive

I am having a problem with Android Studio 4.1 where particular things that should show up as dialogs(like tip of the day or an update dialog) are displayed as fullscreen tabs and then Android Studio becomes unresponsive, CPU usage goes through the…
Tsepo Nkalai
  • 1,492
  • 11
  • 18
7
votes
3 answers

Android studio 4.1 emulator crash

I just upgraded my android studio to 4.1 version: And tried to run some project on this emulator: And for some reason, this specific emulator is crashing my android studio, I have noticed that I am getting an error: After reading about the…
7
votes
1 answer

Where can I put my custom template in Android Studio 4.1

In elder version of Android studio, I put it in ../plugins/android/lib/templates/other folder. But when I update to version 4.1, my folder is cleared. I've tried initializing a new one but it didn't work.
Man1s
  • 192
  • 1
  • 7
7
votes
2 answers

Android Studio 4.1 ANDROID_AAPT_IGNORE

When I switch to Android Studio 4.1 with this changes https://github.com/MikeOrtiz/TouchImageView/pull/267/files classpath 'com.android.tools.build:gradle:4.1.0-alpha10' I run…
hannes ach
  • 16,247
  • 7
  • 61
  • 84
6
votes
8 answers

viewBinding is not working with error (Android studio 4)

I make android application with kotlin by Android studio 4 (4.11). findViewById is deprecated in Androd Studio 4 ,then I use viewBinding. https://developer.android.com/topic/libraries/view-binding But viewBinding is not working with…
satossy
  • 61
  • 1
  • 1
  • 2
6
votes
2 answers

How can I see what method I'm in, in Android Studio?

It used to be (up through Android Studio 4.1, IIRC) that when editing a file, you could see the name of the method (and/or class, etc.) that the cursor is in, displayed in the status bar near the line / column number. This was very helpful when the…
LarsH
  • 27,481
  • 8
  • 94
  • 152
6
votes
1 answer

Gradle build tools 4.1.0 failing sync in Android Studio when there is a lintCheck dependency

We have an Android multi module project with custom lint checks and we've been trying to move to Android gradle build tools 4.1.0, but Android Studio 4.1.0 gradle sync keeps failing. Say we have two modules (plus some irrelevant "library"…
gdrehmer
  • 136
  • 5
6
votes
0 answers

Android Studio 4.1 Beta Start Failed?

I previously downloaded Android Studio 4.1 Beta 5 and it was working just fine, but when I launch it today, this error is showing: Internal error. Please refer to https://code.google.com/p/android/issues java.util.concurrent.CompletionException:…
afhamu
  • 930
  • 11
  • 17
5
votes
3 answers

Android studio 4.1 is not showing errors into IDE

Recently I have updated android studio with Android Studio 4.1, but after updating, the studio isn't showing errors in IDE with red underline or red bar right side. Every time I run the app it throws a single error after compilation. So it's very…
Priyanka
  • 3,369
  • 1
  • 10
  • 33
4
votes
2 answers

"Nothing to show" when I tried to insert a new Vector Asset in Android Studio

"Nothing to show" error - vector asset Hey, all. So, recently I updated my Android Studio Version to 4.1 (the latest version). I wanted to add a vector asset just like the usual but..somehow..the preview of the icons did not show up. I can't choose…
4
votes
1 answer

Android Studio 4.1 ADB Server Issue

I'm facing a problem with the ADB server. It's sometimes freezing on the "Loading Devices..." state. I'm always run this command and fix it. adb kill-server & adb start-server There is any solution or any people facing this problem.
3
votes
1 answer

Plugin Error: Plugin "Json2Dart" is incompatible (supported only in IntelliJ IDEA)

I am developing a flutter app using android studio 4.1.2 but this plugin Error pops up everytime and i could find a solution for it. what do you think i should do.
3
votes
1 answer

Android Studio 4.2 Canary wireless debugging is not working

I have installed Android Studio 4.2 Canary, but wireless debugging is not working at all (https://9to5google.com/2020/06/10/android-11-beta-1-wireless-debugging-jetpack-compose/). I enabled it in developer options in mobile, even tried to connect to…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
2
votes
1 answer

How to fix Flutter doctor error at Android Studio

I am trying to fix error from the flutter doctor -v command and i have no idea what the error is now. It recognizes Android Studio and even though the flutter and dart plugins are installed, it says they can be installed. Is it not finding them? The…
2
votes
1 answer

How to switch fragment orientation on Navigation Graph in Android Studio

I added two fragments to a Navigation map in Android Studio and they appeared landscape. I would like to switch them to portrait view to save view space. Can some help?