Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [android-studio]

Use for questions about using Android Studio, an official IDE by Google targeted at Android app development. Do NOT use for questions about programming for Android in general; instead, use the [android] tag.

0 votes
1 answer
8 views

Ionic 7 default app showing blank screen and errors when running on emulator

I'm using Ionic version 7.2.0, npm version 10.8.2, angular 18.1.1, node 20.16.0, Capacitor version 6.1.1, phone api 27, windows 11 64 bits, jdk-17 (I had to install and uninstall several java versions ...
gabriel's user avatar
  • 149
0 votes
0 answers
3 views

While making a build on react native app on my mac iOS system i am getting this error

Please guide me with the error Failed to upload the project tarball to EAS Build Reason: EPERM: operation not permitted, scandir '/Users/agrahyah/.Trash' Error: build command failed. I have used this ...
Aneesh Assary's user avatar
0 votes
0 answers
9 views

How to install Android SDK extension from Android 15 Beta?

I want to test new functionality, that included in Android 15 Beta This functionality marked in documentation like that: Added in API level 35 Also in S Extensions 13 I want to install this Extension ...
sergiy tykhonov's user avatar
2 votes
2 answers
29 views

ERROR: Composable Functions Must Be Called Within a Composable Context

"@Composable invocations can only happen from the context of a @Composable function" I'm new to jetpack compose and constantly getting this error "@Composable invocations can only ...
user25472147's user avatar
0 votes
0 answers
7 views

Build graddle failed when running android studio on ubuntu 22 from app launcher

I was installing Android Studio Koala | 2024.1.1.12 on Ubuntu 22.04.4 lts. When i open android studio from application launcher, build graddle always failed Could not install Gradle distribution from '...
Ferri Adi Prasetya's user avatar
0 votes
1 answer
15 views

"Missing keystore" in Android Studio Debug mode although there is a debug.keystore in the ".android" folder

Greetings to everyone, I'm trying to make some tests to use App Links on my app, but I've encountered an issue regarding the debug.keystore during my tests. Because of this, I've being unable to run ...
Roxac's user avatar
  • 7
0 votes
0 answers
19 views

Priority Mode in Android with java

I've been researching how the Game Booster in Samsung devices feature in Android achieves its priority mode, but so far, I only found information about the Do Not Disturb mode, which is not what I'm ...
Raphael Moral Piazera's user avatar
0 votes
0 answers
12 views

How do I export Splash Screen from Android Studio to the App on Google Play Store?

I'm a first time user of android apps development, and I'm stuck with an issue related to a splash screen. I got this warning: "The crawler detected a blank loading screen or a custom splash ...
MarioT's user avatar
  • 1
0 votes
1 answer
13 views

permission for saving pdf Android studio

i created a simple app that generated a pdf with 2 pages now i need to share the pdf and also save it in the device from what i already know it requires permissions to do that. i am new to this and ...
Jaimin Vashi's user avatar
-1 votes
0 answers
8 views

Android TextView.setText(R.string.text_from_string.xml_file); does not show font colors which were used to decorate strings and in string.xml file

I put some strings in string.xml file as follows. <string name="text1749">The <font color="#DE0010">book</font> was written by Mr. Martin Vikramasinghe.\n<font ...
Isuru Thiwanka's user avatar
0 votes
0 answers
10 views

gridlayout breaks when test a lower inc screen

gridlayout breaks when test a lower inc screen, I am developing an application for my project but I couldn't find a way to fix it. I want the UI to stay the same when I lower the inches, but I couldn'...
Tufancan Demirkılıç's user avatar
0 votes
0 answers
11 views

AndroidStudio - App Link Verification is failing even when the assetlinks.json is present

As per the documentation we have published the assetlinks.json into our server at app-deeplink.domain.com/.well-known/assetlinks.json. But when verifying the same with App Link Assistant in Android ...
Karthik Sankar's user avatar
0 votes
1 answer
15 views

Cannot Add Debug Points After Upgrading to Android Studio?

I recently upgraded to Android Studio Koala and now I'm unable to add debug points. When I try to add a breakpoint, it appears in the Bookmarks tab but does not show up in the line where I set it. Has ...
Anandh Krishnan's user avatar
-3 votes
0 answers
27 views

Java Request Only working for HTTPS and not HTTP [closed]

I tried calling a GET request in java using a local link on Andriod Studio but it is giving me android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) error. However, when ...
Abhinav Akula's user avatar
0 votes
1 answer
12 views

Error while running flutter project in Android Studio

I'm starting in Flutter, I want to start the emulator but I get this error, any suggestions on how to solve it?,I'm working with Android studio Arctic Fox .................................................
Tony Casilla Coaquira's user avatar
0 votes
1 answer
15 views

Execution of Gradle Tasks and find out why are they executed

I'm currently doing a Udemy Course to learn Kotlin and I've a Question about Gradle and Tasks. I've tried HILT and had to add kapt to my Project (empty project with jetpack-compose). My app/build....
John Doe's user avatar
  • 135
0 votes
0 answers
41 views

Difficulties upgrading old project to Android 14

I am experiencing tremendous difficulties upgrading a project to Android 14. A little background into the project. The project currently cannot be upgraded past Java 15 , API Level 33 and Gradle 7.0.2 ...
Julian Silvestri's user avatar
0 votes
0 answers
12 views

Gradle Error while running flutter project in Android Studio java

I am completely new to flutter. Yesterday I installed flutter, added path variables and it works straight from cmd. I also created a project using cmd and opened it in Android Studio. Import of Dart ...
Tony Casilla Coaquira's user avatar
0 votes
0 answers
9 views

Issue of default scripting plugin getting disabled

Hey I'm getting and error like this when i'm trying to run my app in android studio warning: default scripting plugin is disabled: The provided plugin org.jetbrains.kotlin.scripting.compiler.plugin....
Mathew's user avatar
  • 1
0 votes
0 answers
32 views

Android Studio 2024.1.1 - Gradle Project sync failed

I try to use Android Studio but there is a problem since i downloaded it, the sync fail. I always got the same Error messages : "Could not move temporary workspace" "java.nio.file....
Guillaume's user avatar
0 votes
0 answers
19 views

Error on build Flutter project with IntelliJ/Android Studio

I'm having a problem running the newly created flutter project. When creating a project following: New > Project Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. * ...
Tiago Paza's user avatar
0 votes
0 answers
22 views

Tryind to run android emulator from vs (error Failed to install the app)

It does run the emulator but not my app. I can just see the android phone and use it but my app doesn't come This is the error I get: error Failed to install the app. Command failed with exit code 1: ...
Okyanus's user avatar
0 votes
0 answers
18 views

In Android Studio's Compose Animation Preview screen, how can I save the initial and target preview values of an animation?

Android Studio's Compose Animation Preview lets you visualize how an animation will look in a timeline. I'm using animateFloatAsState in this example and my usage will go from -1.0f to 1.0f. The thing ...
JaviCasa's user avatar
  • 728
-1 votes
0 answers
20 views

My Fragment Result Listener won't update the text

I am trying to get my app to display different text each time a button is pressed. The first time I press any button it works fine, but afterwords it reverts my textviews on the fragment to the ...
Allan Sharad's user avatar
0 votes
0 answers
18 views

I am unable to find the "Open for Editing in Android Studio" option despite having both .iml files in my project

"Open for Editing in android studio" not appearing in the top right corner as usual option is not appearing in (tools -> flutter) too Both .iml files are present in the project Unable to ...
MuddasirX's user avatar
0 votes
0 answers
13 views

Android Emulator loses internet connection when connected to FortiClient VPN

Body: I'm facing an issue where my Android emulator loses internet connection whenever I connect to my company's internal network using FortiClient VPN. Details: VPN Client: FortiClient VPN ...
Vahid Garousi's user avatar
-1 votes
0 answers
20 views

Enter is opening a scratch file in android studio

I am working on a dart file in android studio and suddenly my enter button is not working I select the coma, alphabet the enter button open a scratch file and when we don't select anything then enter ...
Abdullah Naeem's user avatar
0 votes
0 answers
14 views

Gradle download issues

I recently downloaded android studio koala to begin app development but gradle download/sync times out repeatedly when trying to build/download gradle file 8.0-bin. I have disabled anti-virus, ...
Juggernaut 's user avatar
0 votes
0 answers
9 views

How to use Switch GM3 in Android with XML, not Compose

I see here is new design for Android Switch https://developer.android.com/develop/ui/compose/components/switch I like this, but how to use? Relative article we need Compose for this? Can I use this ...
Dyno Cris's user avatar
  • 2,176
0 votes
1 answer
16 views

Dinamically Change the Image from a imageview that is in a recyclerview from the adapter

this stuff is beating me for hours. I want to change the image on a imageview that is inside a recyclerview from the adapter. The name of the image is coming from firebase (in the field Time from the ...
Alexandre Leitão's user avatar
0 votes
1 answer
58 views

Unresolved reference: R and BuildConfig in React Native Android Project with Kotlin

I'm currently working on a React Native project with Kotlin and I'm facing some issues during the build process in Android Studio. Specifically, I'm encountering Unresolved reference: R and Unresolved ...
pratik bhattarai's user avatar
0 votes
0 answers
45 views

Metadata.bin file not found on initial gradle sync with Android Studio Koala - 2024.1.1

I recently updated Android Studio from Chipmunk version - 2021.2.1 to Koala version - 2024.1.1. Now, when I open my projects, the gradle synchronization starts and always ends with: C:\Users\[MY_USER]\...
LucaCA's user avatar
  • 1
-1 votes
0 answers
51 views

Android Studio Koala Debugger Empty Variable Values

I just upgraded the Android Studio from Jellyfish to Koala. When the debugger reaches the breakpoint. I expanded all variables and got no values on them. Here is some information about my environment: ...
Khofidin Ofid's user avatar
-1 votes
1 answer
21 views

com.amazonaws.services.s3.model.AmazonS3Exception: SignatureDoesNotMatch Error When Uploading Files to S3 from Android App

I'm encountering a SignatureDoesNotMatch error when trying to upload a file to Amazon S3 using the AWS SDK for Java as I'm developing an android app with a feature that allows users to upload their ...
Sarimm Chaudhry's user avatar
0 votes
0 answers
7 views

Android studio insert mongodb realm

This is my code at android studio val myDoc = Document().apply { append("name", "futureTech") append("video", "youtube") ...
蔡宜樺's user avatar
0 votes
0 answers
29 views

App works from signed APK but fails when installed from Play Store

The signed APK and the APK split from the signed app bundle work fine, but installing the app from the Play Store shows an error. I tried it on my IDEMIA screen device; when building the signed APK, ...
Ebrahim Joy's user avatar
0 votes
0 answers
75 views

Room database dependencies in Android Studio Koala

I want to add libraries to be able to work on room databases, but I don't know which one to insert. I am working on Android Studio Koala SDK 34 and Gradle KTS, I use Java as language. Can someone help ...
ciro 's user avatar
0 votes
0 answers
17 views

Task 'ijDownloadSources91ee8444-467' not found in root project 'projectABC' after clicking "Download Sources"

i got this error on macbook arm when click "dowload source". I often click on some Android file to read its code. However, they often require downloading via the "Download Sources"...
Nguyễn Mạnh Cường's user avatar
-3 votes
0 answers
20 views

Android Studio activity_main design view is scuffed

I am using Android Studio (3.1.4 for Windows 64-bit), and have an issue whenever I start a new project.As you can see the design view does not give off the font size accurately here It's probably ...
Theukrytyzubr's user avatar
0 votes
0 answers
31 views

Android Studio : The application could not be installed. Device went into offline mode after running MainActivity

I have been installing a debug app on my physical Android phone, but today it suddenly stopped working and showed this error: "The application could not be installed". There is no error log ...
NhVNgn's user avatar
  • 1
0 votes
1 answer
14 views

java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked

I got this error when I use JUnit5 for Unit testing: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. at android.os.Looper.getMainLooper(Looper.java) at androidx.arch....
Mona Baharlou's user avatar
0 votes
0 answers
17 views

Dependencies add [closed]

I am nit able to add dependencies in android studio kotlin app project I tried youtube tutorial bit it didn't work and i expect someone to guide me with correct steps I have tried steps of he girl of ...
Suhani Jain's user avatar
0 votes
0 answers
25 views

Duplicating Last Item of First Page and not getiing last item in RecycleView

i am making app from Laravel Api, i am stuck into problem that i am fetching the list of posts but when i scroll down to get second page i am not getting last post instead getting last post of first ...
my apps's user avatar
0 votes
0 answers
30 views

Android studio is not Starting up and i want to know the reason behing it

it shows "Internal error. Please refer to https://issuetracker.google.com/issues/new?component=192708" and then " com.intellij.ide.plugins.EssentialPluginMissingException: Missing ...
Relaxed Hue's user avatar
0 votes
0 answers
16 views

Review PR in Android Studio and cmd+click around, it is unclear which version of the file is presented

I'm trying to use the PR review option in AS for the first time. I click on a PR #217 and look at one of the files. [![enter image description here][1]][1] I then cmd+click on a param to see usages ...
Alon's user avatar
  • 693
0 votes
0 answers
20 views

Getting error " application installation failed " in android studio while using it with kotlin

I have just started with kotlin in android studio, and i am constantly getting encountered by error "The Device already has newer version of this application. In order to proceed, you will have ...
Srujan Deshmukh's user avatar
0 votes
0 answers
23 views

Android Studio error: ENOENT (No such file or directory) for file that exists

I am working on an app that has a "report" object. The idea is to be able to export the report to a .txt file as a JSON to external storage (public), and it should also be able to read .txt ...
Siddhant Samarth's user avatar
0 votes
1 answer
22 views

Adding Bottom Navigation to Existing Project Built with Activities (Android)

Several years ago I built an application using a few different Activities to handle different screens throughout my app (I was a complete beginner at Android app development). As time progressed, so ...
user3221892's user avatar
0 votes
0 answers
20 views

getting different boolean values while connecting to sql server

DatabaseConnection.kt import java.sql.Connection import java.sql.DriverManager import java.sql.PreparedStatement import java.sql.ResultSet class DatabaseConnection { fun validateUser(username: ...
lokesh peddamalla's user avatar
1 vote
0 answers
41 views

I'm unable to accessing Codeium chat, Connection Error, Missing chat language server URL?

When I open Codeium Chat window on Android Studio, a Codeium chat window opens and fails to connect, This is the error: Connection Error Missing chat language server URL. Please ensure that you are ...
Muhammad Ali Laqa's user avatar

15 30 50 per page
1
2 3 4 5
1814