90,391 questions
0
votes
0
answers
13
views
Gstreamer in Android
I´m very very new in Gstreamer and I need to play a RTSP with h265 for Android
I am trying to build tutorials but unfortunately not able to build
also tried to create new project by myself but getting ...
0
votes
1
answer
43
views
Flutter and Android Studio: "Lost connection to device" (emulator) after a random number of minutes (Windows Home 11)
I have this issue where the connection to device is lost after a random number of minutes, there is no error or anything, this is what the terminal shows:
flutter run --flavor staging -t lib/...
-2
votes
0
answers
65
views
Android webview does not load content when app runs with android studio
i wrote a simple webview app in android. with the following code base.
Mainactivity
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
...
0
votes
0
answers
47
views
React Native – Error spawn Unknown system error -8 when running npx react-native run-android on macOS
I am trying to run my React Native Android project on macOS using:
npx react-native run-android
But the build fails with this error: error Failed to install the app. Command failed with Unknown ...
0
votes
0
answers
31
views
WebView not allowed in privileged process — any safe alternative for system/priv apps?
I’m developing a system privileged app (installed under /system/priv-app) and I need to display a webpage inside the app UI.
However, when I try to use a WebView, the app crashes with:
java.lang....
0
votes
0
answers
58
views
Could not find aapt2-8.13.0-13719691-windows.jar in android studio 2025.2.1
I have install new android studio 2025.2.1 (Otter), when i build project, encountered with this error:
Could not find aapt2-8.13.0-13719691-windows.jar
(com.android.tools.build:aapt2:8.13.0-13719691)....
0
votes
0
answers
48
views
Android LocationManager doesn't set speed to 0 when the device stops moving
I have a simple app that displays the user’s current speed, and I’m using FusedLocationProviderClient for this. When I start the app and begin moving, everything works fine the speed updates correctly....
0
votes
0
answers
41
views
Android AccessibiltyService : How can I enabling perform action on a sealed instance [closed]
I am using AccessibilityService in AndroidStudio for an app which is going to access an another app. In a view there is not available actions of "ACTION_CLICK". Its sealed and I am getting ...
0
votes
0
answers
86
views
Google Play warning about 16-KB page size — libgmm-jni.so not supported. How to fix?
Google Play is warning that my app does not support 16-KB page size. My app currently supports only 4-KB pages.
When I checked my AAB using the APK Analyzer, I found that the file libgmm-jni.so does ...
0
votes
0
answers
49
views
Getting errors running flutter clean even though no process is locking these folders
Everytime I run flutter clean I get this error :
C:\Users\salil\OneDrive\Documents\MEGA\Practicals\Flutter\myfirstflutter>flutter clean
Failed to remove C:\Users\salil\OneDrive\Documents\MEGA\...
0
votes
0
answers
49
views
Unable to view screen mirroring on android studio with samsung device
I am using Android Studio's latest version, but when I connect my Samsung device with android os 15, then i'm unable to view the screen(via the screen mirroring feature) on Android Studio. What I am ...
0
votes
1
answer
46
views
processDebugResources\R.jar: The process cannot access the file because it is being used by another process
I see some error every compilation: compile_and_runtime_not_namespaced_r_class_jar\debug\processDebugResources\R.jar: The process cannot access the file because it is being used by another process
0
votes
0
answers
21
views
Image is slightly tilted after exporting the image from Insta 360 Camera
When I export an image using my code, the resulting image in online view appears slightly tilted. However, when I export the same image using the official Insta360 app (from the Play Store), the image ...
0
votes
0
answers
17
views
Android WebView: Mobile slide menu opens partially and with transparent background
I’m building an Android application using WebView, and the website loads fine except for one problem:
The mobile slide menu (sidebar) does not open correctly inside WebView.
On a normal mobile browser ...
1
vote
0
answers
37
views
Android Studio keeps on loading files in Android File Structure Tab
Everything works when viewing the file strucuture in Android Studio's Project window by selecting the "Project Files" view. However, when I switch to the "Android" view it shows &...
-4
votes
1
answer
72
views
Android Studio SDK folders are broken — need full SDK or download source [closed]
I think I messed up my Android SDK setup while trying to fix some build tools and platform issues.
Now Android Studio can’t find some SDK components like build-tools, platforms, and tools.
I’ve ...
3
votes
1
answer
182
views
Error: Plugin [id: 'com.android.application', version: '8.13.0'] was not found in any of the following sources
I'm getting this error when I try to sync my Android project in Android Studio:
Plugin [id: 'com.android.application', version: '8.13.0', apply: false] was not found in any of the following sources:
...
0
votes
0
answers
56
views
Android Studio automatically installs androidvirtualdevice(phone)files to my C drive. How can I make it install my virtual device files to my D drive?
While trying to improve my mobile application testing skills with Appium, I encountered a problem. Even though I installed Android Studio and the SDK files on the D:\ drive, which has free space, the ...
0
votes
1
answer
54
views
Gradle says that existing distribution doesn't exist
Just trying to run (By that green 'play' button in upper panel) my android app via android studio and on build stage gradle throws up this error message:
The specified Gradle distribution 'https://...
-1
votes
1
answer
140
views
Android Studio quits building with unexpected Exception
Android Studio Version: Android Studio Otter | 2025.2.1
Build #AI-252.25557.131.2521.14344949, built on October 29, 2025
When I build a release build with Android Studio, it stops with no error, only ...
1
vote
0
answers
69
views
Android emulator not running from Play button in both IntelliJ and Android Studio on Linux, but it does from command line, and logcat show nothing
PROBLEM
Hi, I have IntelliJ Ultimate 2025.2.4, and Android Studio 2025.2.1. When I create a new default project in either one > download all the sources it needs > sync gradle > then click ...
1
vote
1
answer
64
views
GetLocation code developed under older Android Studio won't work on the latest Android Studio
I recently downloaded and updated my Android Studio to the latest and the greatest hoping that it will solve some of my issues. It turns out my old codes developed under the previous version of ...
0
votes
2
answers
50
views
There are two style in Android studio logcat
Why there are two different logcat style in Android studio
I check any setting and filter text but cannot find the reasons.
How to remove the year and package name in logcat?
Why there are two ...
2
votes
1
answer
201
views
Gradle version catalog (libs.versions.toml) not resolving in Kotlin Multiplatform Android project after IDE update
I'm working on a Kotlin Multiplatform project with separate android-ui and desktop-ui modules. After updating to Otter 2025.1.7, I noticed two issues:
My libs.versions.toml file stopped resolving ...
2
votes
1
answer
66
views
Sorting the file structure list (Ctrl+F12)
Pressing Ctrl+F12 displays the file structure with a list of all fields and methods. Is it possible to change the sorting of this list so that the fields are displayed first and then the methods?
The ...
-5
votes
1
answer
85
views
How to fix "Increase the maximum number of file handles available" [duplicate]
In my case, this issue comes from "Windows --> Registry Editor," and I will explain how you can fix
0
votes
0
answers
29
views
how to add custom environment variables to use in build.gradle in Androidd Studio
I have build.gradle setup with signingConfigs as below:
SystemConfig90 {
storeFile file(System.getenv("KEYSTORE_PATH_90"))
//storeFile file('/Users/bhaskarrajaryal/...
4
votes
1
answer
71
views
How to disable Jetpack Compose preview functions for code search in Android Studio
I’m using Android Studio with Jetpack Compose, and I often use the “Find in Files” feature (Cmd + Shift + F / Ctrl + Shift + F / clicking in a function/class to see the usages) to search for code ...
3
votes
0
answers
118
views
Select configuration element in the tree to edit its settings
I am getting below error message in Android Studio Narwhal after update
Build, Execution, Deployment
Build Tools
-- Gradle
I am getting below message in settings window
Select configuration ...
1
vote
0
answers
89
views
What is dartaotruntime and why does it query some endpoint?
I am reading dartaotruntime documentation and it doesn't mention connecting to network at all: https://dart.dev/tools/dartaotruntime
I wonder if someone knows why would the latest flutter's ...
0
votes
0
answers
85
views
Why does BottomNavigationView briefly switch to HomeFragment before returning to SettingsFragment after theme change?
I'm facing a weird UI flicker issue in my Android app when using BottomNavigationView and switching between light/dark modes.
Here’s the scenario:
I have a single MainActivity that hosts multiple ...
1
vote
1
answer
102
views
Android Studio not launching or working after upgrading from Windows 10 to Windows 11
I recently upgraded my computer from Windows 10 to Windows 11, and since then, Android Studio no longer works.
When I try to open it: Nothing happens at all - no error message, no IDE window.
I’ve ...
2
votes
0
answers
144
views
Imported target "react-native-nitro-modules::NitroModules" includes Error
Getting error in Android Studiio after installing below packages:
"react-native-iap": "^14.4.23",
"react-native-nitro-modules": "^0.29.6",
Error
CMake Error ...
1
vote
0
answers
36
views
Android (Java) usinf RecyclerView: 'ViewHolder' cannot be safely cast to 'RowViewHolder'?
Using AndroidStudio I had asked Google's Gemini to convert me a piece of code of my Android Java application from using a ScrollView to using a RecyclerView instead for more efficient scrolling ...
0
votes
0
answers
61
views
while running a program in Android studio i am getting java.lang.nullpointerexception [duplicate]
while running a program in Android studio i am getting java.lang.nullpointerexception. xml, java and androidmanifest files all are error free but i am still getting this error tried several things ...
1
vote
1
answer
106
views
GoRouter doesn’t redirect - after logout stays on protected page
Problem: I’m using GoRouter with a GoRouterRefreshStream that listens to my AuthCubit.stream (Cubit emits states like Authenticated, UnAuthenticated, etc.).
Everything works fine when logging in or ...
1
vote
0
answers
32
views
How to enable "dual clock" on Android Studio
I'm trying to profile my app on the latest Android Studio (2025.1.4). I tried profiling my app, but, when I tried to switch from "Wall Clock Time" to "Thread Time" it said, "...
3
votes
0
answers
260
views
Is there a parameter in Android Studio for the Geminin Agent timeout
I have been trying out Gemini Agent. One problem I get very often is that I ask it for a code change, it thinks and responds with t's understanding of my request (usually it's pretty close to what I ...
0
votes
1
answer
93
views
How to debug code generator files (that runs with `build_runner`) in flutter dart and android studio?
I am crating a custom code generator with the source_gen package.
I want to add break points in the generator class and debug my code when I running dart run build_runner build command.
Is there any ...
2
votes
1
answer
176
views
Android Waiting for Target Device to Come Online in IntelliJ and Android Studio
PROBLEM
Hi, I'm getting an endless loop of "Waiting for all target devices to come online", or the emulator just shows the Android intro but never loads.
The JVM version of the program runs ...
0
votes
0
answers
27
views
Android MediaRecorder creates .m4a file with no audio
I'm using Android Studio trying to record audio in an Android foreground service using MediaRecorder. The file is created successfully, but when I play it, it contains no audio. Here's the relevant ...
0
votes
1
answer
433
views
Unable to load class 'org.gradle.api.artifacts.SelfResolvingDependency'
In Android Studio, I have opened a project that was created in 2023. I've updated the project's Gradle version to 9.0 and Gradle plugin version to 8.13.0. I'm getting this error
Unable to load class ...
3
votes
1
answer
70
views
Unresolved reference: implementation' in build.gradle.kts file when adding dependencies
I'm new to Android and I'm following this tutorial(https://developer.android.com/develop/connectivity/cronet/start#java)
It says to add this dependency in my build.gradle.kts file, it looks like this:
...
1
vote
0
answers
60
views
Android studio throws an error Error code: 'UNKNOWN', message='Unknown failure: 'cmd: Can't find service: package
enter image description hereI've got a problem with Android Studio. When I run the project it gives me the error "Error running 'app'
The application could not be installed. Installation failed ...
0
votes
0
answers
146
views
Jetpack Compose: PdfViewerFragment (androidx.pdf:pdf-viewer) not displaying PDF inside AndroidView
I am trying to display a PDF document with PdfViewerFragment from the library
androidx.pdf:pdf-viewer:1.0.0-alpha10 inside a Jetpack Compose UI.
I’m using AndroidView to host the fragment.
The problem:...
0
votes
0
answers
93
views
Could not parse the Android Application Module's Gradle config after changing compileSdk and buildToolsVersion
I am encountering the following error in Android Studio: Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync.
I have tried several things to fix ...
0
votes
0
answers
193
views
Error with gradle when running gamemaker project for android
This is the error i always get when i try to run my program with android studio:
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by net....
3
votes
2
answers
3k
views
Google Play requires all apps targeting Android 15+ to support 16 KB memory page sizes: libraries located under base/lib/arm64-v8a and base/lib/x86_64
To gather knowledge about:
To ensure your app works correctly on the latest versions of Android, Google Play requires all apps targeting Android 15+ to support 16 KB memory page sizes.
From Nov 1, ...
0
votes
0
answers
42
views
Google Maps iOS imports not recognized in Android Studio after switching from CocoaPods to Swift Package Manager in KMP project
I am building a KMP app, and I was using CocoaPods to integrate Google Maps into an iOS app. I have now switched to the Swift Package Manager, code is working in Xcode, the build succeeds, and it ...
2
votes
1
answer
38
views
How to ignore unused resources from libraries when linting Android dependencies?
I have a main app and a bunch of library modules. I recently added the checkDependencies = true line to my android lint block in build.gradle, since we were never running lint on libraries and tech ...