Questions tagged [android-studio-4.0]

For questions related to the usage and features that are specific to version 4.0 of Android Studio - the official IDE targeted at Android development. When using this tag also include the more generic [android-studio] tag. Do NOT use this tag for questions about programming for Android in general; instead use the [android] tag.

135 questions
81
votes
17 answers

Minimum supported Gradle version is 6.1.1. Current version is 5.6.4

I'm facing this issue after updating to android studio 4.0 while Having older gradle version: After that I have download the latest gradle version 6.4.1, after the complete download it give error of Unable to find method …
Aqib
  • 843
  • 1
  • 5
  • 5
68
votes
6 answers

Unresolved class name proguard-rules Android Studio 4.0

When I update to Android Studio 4.0 proguard-rules it shows warning Unresolved class name. Below is example but I sure it still waring the exist class in my project. -keep class com.squareup.haha.** { *; } -keep class com.squareup.leakcanary.** { *;…
Công Hải
  • 4,961
  • 3
  • 14
  • 20
56
votes
11 answers

Android Studio 4.0 Layout Inspector isn't working

I can't see any updates in Layout Inspector in the new Android studio (4.0). My app is targeting API 29, and build tools version is buildToolsVersion '29.0.3'. I'm running emulator Pixel_2_api_29 and my device MI A3 OS version 10. And this is all I…
orelzion
  • 2,452
  • 4
  • 30
  • 46
55
votes
3 answers

Shortcuts not working after updating to Android studio 4, in Mac?

After updating to Android Studio 4 from AS 3.5, as a Mac user I found out none of the default shortcuts work properly, i.e cmd+shift+F does not open search everywhere dialog anymore?
bastami82
  • 5,955
  • 7
  • 33
  • 44
45
votes
6 answers

Android Studio 4.0 shortcuts changed

This week I updated to Android Studio 4.0, and one of the first things I noticed was that some of my favorite shortcuts like CMD+W has changed to CMD+F4 (which the touchbar wont actually show the F keys anymore), and also CMD+O changed to CMD+N. Is…
Tyler
  • 19,113
  • 19
  • 94
  • 151
26
votes
4 answers

How to terminate Database Inspector in Android Studio

I am using Database Inspector in Android Studio 4.1 Canary 10 (Build #AI-201.7223.91.41.6507185) and as this is a new feature, I am encountering many bugs. And there are a lot of event log popups as follows: Database Inspector: Error reading Sqlite…
Ashu
  • 2,970
  • 1
  • 19
  • 31
25
votes
6 answers

Plugin incompatible with the new build found: Firebase Services

I am not able to update to Android Studio 4.0 When I check for updates, it is showing me the below message. "Plugin incompatible with the new build found: Firebase Services."
Ashish Satpute
  • 755
  • 1
  • 8
  • 9
21
votes
3 answers

Android Studio 4 incorrect vector drawable preview

After update to Android Studio 4.0, all my vector icons display wrong on the preview screen. But they look normal after running an application on the device. It concerns all vector icons: imported on the previous version of the Android Studio,…
Oleg Nestyuk
  • 476
  • 2
  • 14
21
votes
7 answers

Error when building project with NDK support after updating to Android Studio 4.0 from 3.6

After updating Android Studio to 4.0 project build finishes with error More than one file was found with OS independent path 'lib/armeabi-v7a/libdlib.so'. If you are using jniLibs and CMake IMPORTED targets, see…
Roman Nazarevych
  • 7,513
  • 4
  • 62
  • 67
19
votes
8 answers

Host name may not be empty

After upgrading my Android Studio, I got this error whenever I wanted to generate a signed Apk (without any detail of where the problem is). There was no problem when I just built Apk. The Host name may not be empty
Mona Baharlou
  • 1,401
  • 1
  • 13
  • 26
15
votes
3 answers

Android studio new update version 4.0 says Kotlin is incompatible with this new build

I got the new update (4.0) of android studio and the update wizard says that kotlin and firebase services are incompatible with this update. Can i use the kotlin and firebase services after the update? or is it safe to download this update…
Vivek Singh
  • 1,142
  • 14
  • 32
14
votes
7 answers

Could not identify launch activity: Default Activity not found after upgrading to Android Studio 4.0

I've been having this problem since upgrading to Android Studio 4.0 on macOS. When I try to start my app from Android Studio, I get the following error: Could not identify launch activity: Default Activity not found Error while Launching…
user2970752
  • 201
  • 1
  • 2
  • 5
12
votes
2 answers

After updating Android Studio from 3.6 to 4.0, close project not works

The same question as this one. I have two android projects on two windows, when I close one project by clicking [x] icon on my mac, the project closed but the window exists with a blank screen. My Android Studio Version info: Android Studio…
DysaniazzZ
  • 825
  • 15
  • 29
12
votes
1 answer

What does 'No renderer supporting SKP version 68 found. Rotation disabled.' mean and how do I resolve it?

I've upgraded to Android Studio 4.0 and am attempting to use the new 3D view of the Layout Inspector, but am unable to 'rotate it'. At the top of the tool window, there's a message reading "No renderer supporting SKP version 68 found. Rotation…
scottt
  • 8,301
  • 1
  • 31
  • 41
11
votes
2 answers

ConstraintLayout 2.0 rendering problems

After updating to ConstraintLayout 2.0 I realized that even the simplest layouts can not be previewed properly in Android Studio, both on OS X and Ubuntu. First, my setup looks like this: I'm using "androidx.constraintlayout:constraintlayout:2.0.0",…
aga
  • 27,954
  • 13
  • 86
  • 121
1
2 3
8 9