Questions tagged [android-studio-arctic-fox]

Android Studio Arctic Fox is a major release that includes a variety of new features and improvements.

New version numbering Updated version numbering for Android Studio We have changed the version numbering system for Android Studio to more closely align with IntelliJ IDEA, the IDE that Android Studio is based on.

In the previous numbering system, this release would have been numbered as Android Studio 4.3 or version 4.3.0.1. With the new numbering system, it is now Android Studio - Arctic Fox | 2020.3.1, or version 2020.3.1.

Ref Link : https://developer.android.com/studio/releases/

82 questions
55
votes
3 answers

It will always be more efficient to use more specific change events if you can. Rely on notifyDataSetChanged as a last resort. RecycleView

after update android studio to arctic fox, I get this warning. But I dont know what is the efficient way to notify data change. in my code I'm filling the adapter from network call and then I notifydatasetchange, but the compiler gave me this: It…
43
votes
6 answers

After updating to Android Studio Arctic Fox, I cannot use any custom theme

After updating to Android Studio Arctic Fox, I cannot choose any of my installed themes. Invalid cache and restart didn't help ;) Also reinstalling themes still not solving this problem. I updated AS 4.2 to Arctic Fox using Toolbox on the stable…
36
votes
9 answers

Can't import module in Android Studio Arctic Fox

Next/Finish button does not become enabled even after selecting the right module path. It does not show any error. Android studio version is 2020.3.1 (Latest as of 3 August, 2021).
ZeroOneZeroR
  • 667
  • 1
  • 7
  • 12
32
votes
4 answers

Unable to launch Kotlin REPL: CommandLineWrapper is ill-suited for launching apps

I'm trying to use the Kotlin REPL within Android Studio. However, when I open it, I get the following output: "E:\Program Files\Android\Arctic Fox\android-studio\jre\bin\java.exe" -Dkotlin.repl.ideMode=true -Dfile.encoding=UTF-8 -classpath…
27
votes
4 answers

LiveData Vs StateFlow: Should we switch from Live data to State Flow?

I have come across articles that recommend switching to StateFlow. Like the one here. Also in the new Android studio, StateFlow support is automatically included in the functionality of data binding, including the coroutines dependencies. Live data…
19
votes
4 answers

cannot load api descriptions from ../android-sdk/platform-tools/api/api-versions.xml java.io.IOException: Stream closed

After I update android studio to v2020.3.1 (Arctic Fox). I can't run my project because I always get this error message. cannot load api descriptions from ../Android/android-sdk/platform-tools/api/api-versions.xml java.io.IOException: Stream…
if_alan
  • 320
  • 2
  • 8
18
votes
4 answers

Jetpack Compose preview stopped working in Arctic Fox with Patch 1

With the first patch for AS Arctic Fox Jetpack Compose previews stopped working. I'm getting this error for all previews - even older ones, which worked fine a while back: android.content.res.Resources$NotFoundException: Could not resolve resource…
18
votes
2 answers

Android Studio Artic Fox - Java and Kotlin JVM Target - 8 vs 11

Android Studio built-in JRE is 11 version. And Artic Fox allows to use Java 11 for compiling projects: compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } But we also have Kotlin…
10
votes
3 answers

Android Emulator does not start after Arctic Fox upgrade, libvulkan.so: failed

Trying to start an emulator in Android Studio gives me the following error: The emulator process for AVD Pixel_4_API_30_-_GooglePlay has terminated. I get the following errors logged in Android Studio logs: 2021-08-11 13:38:19,827 [ 290921] INFO…
slhck
  • 36,575
  • 28
  • 148
  • 201
10
votes
1 answer

How to avoid fixing extracted methods code snippet at top or bottom of Android Studio

After updating Android Studio to Arctic Fox | 2020.3.1 version, The IDE fixes extracted methods code snippet at top or bottom of screen depending on scrolling direction. As you can see in the image below, it's annoying because it fills a large part…
Alireza Noorali
  • 3,129
  • 2
  • 33
  • 80
9
votes
0 answers

Unable to update Android Studio Arctic Fox mac book pro m1

some conflicts below do not have a solution, so the patch cannot be applied. contents/jre/contents/home/frameworks/javaNativeFoundation.framework/Version/A/._JavaNativFoundation.tbd
9
votes
1 answer

Failed to instantiate one or more classes: java.lang.ClassNotFoundException: androidx.databinding.DataBinderMapperImpl

I've created a multi-module project. I've created a custom view using data binding in one of its library modules. Problem: The custom view is not showing in the layout editor but it's OK on the device. This is the error shown in the layout editor…
9
votes
2 answers

How to set Java JDK path in Android Studio Arctic Fox, Bumblebee, etc.?

How can I set the new path for Java JDK? I tried to change the environment variables but it did not work. IDE: Android Studio Arctic Fox | 2020.3.1 Beta 4 IDE: Android Studio Bumblebee | 2021.1.1
8
votes
0 answers

Unable to detect a live inspection service. To enable live inspections, restart the device

Anybody who has had same problem with android studio and found a solution please share solution. Android Studio Version: Android Studio Arctic Fox | 2020.3.1 Patch 2 Build #AI-203.7717.56.2031.7678000, built on August 27, 2021 Runtime version:…
8
votes
5 answers

Android XML Preview Unclear After Update to Arctic Fox

After updated to Arctic Fox version, the xml layout previewer looks fuzzy, unclear, see below: How to fix it?
Sam Chen
  • 7,597
  • 2
  • 40
  • 73
1
2 3 4 5 6