90,281 questions
-4
votes
0
answers
35
views
I have a problem with my android studio, when im trying to run this happens [closed]
when i start to running it, the error occurs. Error running 'app' Android phone is already running as process 12656
2
votes
0
answers
73
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 ...
-2
votes
1
answer
73
views
Android Studio not remembering last variant [closed]
I have an Android app with over 2 dozen variants. When I quit Android Studio and relaunch it, it used to remember the last variant I was working on and load that right away. This is no longer ...
0
votes
1
answer
37
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
231
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
45
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
47
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
52
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
47
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
46
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
583
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
93
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 ...
-2
votes
0
answers
79
views
Getting the wireless network list with Android Studio [duplicate]
we are developing APKs with Android Studio, and we want to list nearby Wi-Fi networks when a button is clicked within this APK. How can we do this? In other words, we want a window to open displaying ...
-1
votes
0
answers
106
views
How to exclude packages from build
I want to use a part of my Java project as a module for Android app.
My settings.gradle include:
rootProject.name = "APref"
include ':AndroidPref'
include ':JPref'
project(':JPref')....
0
votes
0
answers
48
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 ...