90,230 questions
-5
votes
0
answers
25
views
Android Studio - Scratch stuck in "Compiling scratch file" when using module classpath
Whenever I try to run a Kotlin scratch with "Use classpath of module" checked, it gets stuck forever in "Compiling scratch file". No errors are displayed. Could it be related to ...
0
votes
1
answer
80
views
Invalid or unsupported command "update"
Following https://developer.android.com/tools/agents/android-cli I run:
curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh | bash
android update
android init
Problem: At the ...
0
votes
2
answers
238
views
Markdown with Mermaid/PlantUML preview not working in Android Studio?
I have sample markdown as below:
## Markdown with Mermaid and Plant UML in IntelliJ IDEA and Android Studio
### Markdown with Mermaid
```mermaid
sequenceDiagram
Alice->>Bob: Hello John, how ...
2
votes
0
answers
140
views
Gradle ignores JAVA_HOME and uses Android Studio JBR instead
I'm facing an issue where Gradle does not use JAVA_HOME and instead falls back to Android Studio's bundled JDK (JBR).
enter image description here
Environment
Gradle: 9.4.1
Kotlin: 2.3.0
macOS (...
-1
votes
1
answer
76
views
Android Studio Panda 3 synthetic code shown in editor. How to disable?
In Android Studio Panda 3, synthetic code is shown in the editor, which is not present there if I use the @Serializable annotation. How can I prevent editor from showing such code?
The class without ...
Advice
0
votes
0
replies
26
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 ...
Advice
1
vote
2
replies
183
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
120
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
43
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
307
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
132
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
68
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
89
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
1
answer
63
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 ...
4
votes
2
answers
1k
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....