90,267 questions
Advice
0
votes
0
replies
22
views
How can I retrieve MAX and AVG CPU Usage from the Android Studio Profiler Trace?
I want the maximum and the average cpu usage (in %) and memory usage from my app. I have a system trace in the Android Studio Profiler. I can see the cpu usage trace and the memory trace, I'd prefer ...
-8
votes
0
answers
61
views
Kotlin Multiplatform (KMP) [closed]
How can I debug my KMP app to my physical iPhone? I have no Mac.
Advice
1
vote
2
replies
150
views
How can i develop a fullstack android app within 6 hours?
So we have this codefest competition, a 6 hour hackathon and there is a machine problem to follow, our development time is only 6 hours. Now currently we're using viewBinding, sqlite openhelper, java, ...
3
votes
0
answers
105
views
TextAlign.Justify only works on the emulator, not on a physical device
why are all the lines (not just the last line of the paragraph) aligned to the left on a real device, while on a virtual device they are aligned to the width of the screen except for the last one (as ...
0
votes
1
answer
42
views
Execution failed for task ':vision-camera-code-scanner:compileDebugJavaWithJavac'
buildscript {
ext {
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "27.1.12297006&...
0
votes
1
answer
241
views
Flutter deploying to Android studio creating prolog error
I am trying to deploy my first flutter app to an android emulator in vscode/intelij/android studio. All give me the same error. I have been searching and can't find a solution. Deploying to a medium ...
0
votes
1
answer
63
views
How can I run a Flutter application in a Flatpaked Chromium browser in Android Studio?
I have the following setup
Android Studio, installed via my system packet manager (Pacman on Arch Linux)
Ungoogled Chromium, installed via Flatpak
Now I want to launch a Flutter App from Android ...
2
votes
0
answers
54
views
C72 Chainway reader and uhf-uart-demo sdk
I am currently working with the UHF UART Demo SDK on the Chainway C72 reader. My company has asked me to add HF reading functionality as well, but I believe this SDK only supports UHF operations.
I ...
2
votes
0
answers
61
views
Android Studio Device Emulators Disconnecting, Says They're "Not Online"
For the last couple of days, whenever I try to run an emulator on Android Studio, I keep getting the same error: "The emulator process for AVD Medium_Phone has terminated."
Every time, I've ...
-1
votes
0
answers
48
views
gradle upgrade in Android Studio breaks build
In Android Studio I upgraded gradle plugin from 7.00 to 8.3.2 using Upgrade Assistant.
The upgrade was successful but the build started failing with error:
Could not find com.google.vr:sdk-audio:1.30....
-1
votes
1
answer
49
views
git add . fails with Gradle fileContent.lock failed to insert into database and permission denied
I initialized Git in the root of an Android Studio project on Windows.
Commands:
git init
git branch -M main
git status
git add .
But git add . failed with this errors:
error: read error while ...
2
votes
2
answers
791
views
Using kotlin.sourceSets DSL to add Kotlin sources is not allowed with built-in Kotlin
I'm trying to update gradle dependencies and use android.sourceSets DSL. I can't seem to find what is wrong with my configuration. How do I correct the gradle files so that I don't use the kotlin....
0
votes
1
answer
96
views
Can you debug your app with a second user?
On various devices you can create additional users. On my device I encounter a strange storage issue: An app I develop cannot access it's external files dirs (while it works on another device). So I ...
0
votes
0
answers
49
views
AAPT2 TLS Handshake Failure After Upgrading to Android SDK 35, AGP 8.2.2, and JDK 17 on Windows
I recently upgraded my old Android project (previously targetSdkVersion 28 and compileSdkVersion 28) to API 35.
Here’s what I changed:
1: Installed JDK 17 (Temurin 17.0.18)
2: Installed Android Studio ...
Advice
0
votes
3
replies
80
views
Looking for mobile app design platform like old school Visual Studio 2010
About a decade ago I used and became proficient in using Visual Studio 2010 for development of large Windows Forms Applications. I recently was asked to develop a small smartphone app and am looking ...
0
votes
0
answers
61
views
How to run Ktor server and Compose Android app at the same time in Android Studio (Gradle keeps syncing)
I'm working on a Kotlin Multiplatform (KMP) project that contains:
A Ktor server
An Android app using Jetpack Compose
Problem
When I try to run both the Ktor server and the Android app from Android ...
0
votes
1
answer
50
views
Android Studio (Panda) refactor rename package breaks imports and project compilation in multi-module project with KSP/Hilt
I am experiencing a very frustrating issue when renaming packages in a large multi-module Android project.
Environment:
Android Studio Panda 1 | 2025.3.1 Patch 1
Gradle 9.x
Kotlin 2.x
KSP
Hilt
...
5
votes
1
answer
86
views
App crashes with "Activity class not found" error
Previously I could compile and run the official DessertClicker example app without any issues. I'm not sure what changed, but neither my old copy of that project, nor a newly checked out version work ...
0
votes
1
answer
95
views
After Android studio upgrade, not able to see list of devices in 'Select device' list
I was using an older version (Flamingo 2022) of Android studio. Due to a plugin dependency I upgraded it to Otter (2025), below issue persisted and downgraded to Android Studio Ladybug | 2024.2.1 RC 1 ...
5
votes
2
answers
381
views
"Suspicious receiver type; this does not apply to the current receiver of type ApplicationExtension" after upgrading to AGP 9
In build.gradle.kts (app),
Suspicious receiver type; this does not apply to the current receiver
of type ApplicationExtension. This will apply to a receiver of type
Project, found in one of the ...
-1
votes
1
answer
47
views
Commit-view in Android Studio is showing all files twice
Since a while the Commit-view inside Android Studio always shows me all modified files of my project TWICE:
once under a tree C:\Users\mmo\AndroidStudioProjects\MyProject\x\y\z and a second time under ...
0
votes
1
answer
58
views
PathNotFoundException: Cannot open file, path = '/some/file.txt'
My Android Studio keeps reporting 'Analysis server has terminated'. I've tried Invalidate Caches and 'Flutter clean', and even reinstalling Android Studio, all to no avail. My operating system is Mac. ...
0
votes
0
answers
68
views
View screenshots taken during an Espresso test in Android Studio
I have a few Espresso UI tests for my Android app. During the tests, there are some moments where I take screenshots, which will be evaluated after the test, qualitatively.
I found the androidx.test....
0
votes
1
answer
167
views
Create multi-module structure for a CMP project in Android Studio
I create a structure for a CMP project. I have a core and feature. I create the core first which is ok. But for the feature structure I have something different and the feature doesn't look like a ...
Advice
0
votes
0
replies
23
views
How do I set the indent guides in Android Studio IDE in Windows environment to be the same as in Mac UI?
Windows UI
This is my Windows UI picture
MacOS UI
This is a picture of the UI of mac os
I want to add horizontal lines in mac os to my ide
My Android Studio version is
Android Studio Otter 2 Feature ...
0
votes
1
answer
88
views
Android Studio: defect SSLContext prevents downloading of dependencies
On Windows 11, when creating a new app project in Android Studio 2025.2.3 I first ended up with the error
Plugin [id: 'com.android.application', version: '9.0.0', apply: false] was not found in any ...
19
votes
2
answers
1k
views
Android Studio 2025.2.3 - Freezing issue when switching branches
Recently, in the latest stable feature drop version of Android Studio. When switching branches using the plugin within the IDE, the application freezes strangely. Problems occur during synchronisation....
0
votes
0
answers
54
views
Android apk with KMP module published in local Maven has system fonts included
For some inapparent reason since adding a Compose screen and KMP written module for shared business logic the size of the apk becomes huge and it does include all system fonts from Android itself. ...
1
vote
0
answers
118
views
How to configure IDEA to look in different source sets depending on the build option?
This is a Java/Kotlin project. I want to be able to write code with one abstraction in the main and different implementations in multiple source sets. And then run it as a Java application.
There are ...
0
votes
1
answer
225
views
native lib 16kb alignment -- libsc-native-lib.so under arm64-va
I have been grappling with this odd and obscure lib for apk 16kb page size alignment -- libsc-native-lib.so
No, it is not a third party lib but all comes (' believe) with NDK / Android studio sdk.
...
3
votes
1
answer
2k
views
Google APIs ARM 64 v8a System Image: Not in GZIP format
Not in GZIP format. error
Trying to install android studio to my brand new macbook air m4 and receiving this error while trying to install API 28
Preparing "Install Google APIs ARM 64 v8a System ...
0
votes
0
answers
66
views
build.gradle for a multi-module application
I'm a beginner. I study through video tutorials.
We are writing a multi-module Android application. To use the same dependencies in different modules, a separate folder build.src is created in the ...
3
votes
0
answers
100
views
Project Files Vanishing
UPDATE: FFS turns out I had to grant Android Studio access to the Desktop folder in settings. Fixed 🤦♂️
So, for context, I've just started using Android Studio, and I'm using it for code from an ...
1
vote
1
answer
165
views
Git - Staged Changes not showing in Android Studio
I started working on a clean local version of the master branch and created a directory and a file (special_files_release/f). This file was created with touch so it had 0 bytes. I then renamed the ...
1
vote
0
answers
73
views
Visual Studio Code debugger not catching breakpoint in first Flutter template app (running on Google Chrome))
I am trying to figure it out why while debugging in Visual Studio Code the first template Flutter app the debugger is not catching the instruction:
_counter++;
or
_counter--;
Here, I am attaching ...
1
vote
0
answers
97
views
Invalid character escape '\U' when trying to build NDK example in Android Studio
I've made a fresh install of Android Studio Otter 2 Feature Drop on Windows 10 and then installed the NDK and CMake using the SDK manager in Android Studio. However, I'm not able to build any of the ...
1
vote
0
answers
54
views
Trying to open Devtools in React Native app closes the app in Android Emulator
I have a simple React Native code. Everything works fine, but I have some problem with DevTools.
This is a my app screen.
Whenever I do press Ctrl + M or run adb shell input keyevent 82 this command ...
0
votes
2
answers
128
views
How to move a folder package to another package without changing import manually?
I'm going to move a folder with Kotlin files into another folder. I don't want change the import file manually, as there are many. How to do it?
Here is my current step, seems not right:
Select the ...
0
votes
0
answers
93
views
How can one teach AndroidStudio that a .jar file on disk has changed?
I am developing two projects in parallel in AndroidStudio. One is a library yielding a .jar file that is used by the second project. When I do an update of the library (like changing a method's ...
0
votes
0
answers
87
views
New project on Android Studio 2025.2.1 have project files keep disappearing
Starting Android Studio 2025.2.1 on all new project, project files keep disappearing when I change window (alt+tab, reduce, hide...) and coming back.
I've recorded a brief video:
https://filebin.net/...
1
vote
0
answers
112
views
Writing polish diacritics in Gemini prompt window on Android Studio
I have installed Android Studio on Windows 11. I have set the keyboard layout Polish Programmers. In Android Studio, I have problems with two polish diacritics:
when I type 'ą' (AltGr+A) - all prompt ...
1
vote
0
answers
95
views
Gradle 9.2.1: Artifact was signed but it wasn't found in any key server
On two separate machines (though on the same network) I am getting the following issue when trying to sync Gradle in Android Studio:
Multiple build operations failed.
Dependency verification ...
2
votes
0
answers
324
views
Android Studio “Agent” (Gemini Assistant) showing weird symbols in code blocks
Android Studio’s Agent (Gemini) panel is showing incorrect font rendering inside JSON/code blocks.
The text displays strange accented characters, but when I copy-paste it into any other editor, it ...
1
vote
0
answers
180
views
show recomposition counts disabled for ConstraintLayout having composeview - Android Studio Ladybug
I'm facing issue "show recomposition counts" is disabled (No source information found).
I have a ConstraintLayout having multiple ComposeViews and using - Android Studio Ladybug
Things I ...
-1
votes
1
answer
53
views
Only Virtual Device Manager topbar visible on android studio [closed]
Only topbar visible
Android studio virtual device manager was working fine until today when I clicked on "Virtual Device Manager" and nothing opened. I hovered over android studio icon on ...
3
votes
1
answer
331
views
Android Studio fails to start with error "Archived non-system classes are disabled"
I've downloaded the latest version of Android Studio (android-studio-2025.2.2.7-linux), I've also installed the latest jdk (jdk-25). When I run ./studio.sh I get the following error:
[0.008s][warning][...
4
votes
0
answers
319
views
React Native Android: java.lang.String cannot be cast to java.lang.Boolean when using a prop
I’m developing a React Native app and I get the following error only on Android:
java.lang.String cannot be cast to java.lang.Boolean
setProperty SourceFile:642
updateProperties SourceFile:35
...
0
votes
1
answer
106
views
can't connect my phone to debug my Android app in Android Studio on my Chromebook
I'm having trouble debugging an Android app on a physical device using Android Studio on my Chromebook.
My Setup:
Device: HP Dragonfly Chromebook Plus (i7 13th Gen, 32GB RAM, SSD, 13" Touch).
OS: ...
0
votes
0
answers
69
views
Cannot import Place.Field.NAME, LAT_LNG, ADDRESS in Google Places SDK 5.x
I am using the new Google Places SDK in my Android app.
places = "5.1.1"
places = { module = "com.google.android.libraries.places:places", version.ref = "places" }
...
6
votes
4
answers
5k
views
An error occurred while preparing SDK package NDK (Side by side) 29.0.14206865: Not in GZIP format
An error occurred while preparing SDK package NDK (Side by side) 29.0.14206865: Not in GZIP format. While trying to test my application on an Android phone in Flutter, I encountered this error:
...