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.
android-studio
90,688
questions
0
votes
0
answers
7
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 ...
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 ...
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 ...
2
votes
2
answers
28
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 ...
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 '...
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 ...
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 ...
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 ...
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 ...
-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 ...
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'...
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 ...
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 ...
-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 ...
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 .................................................
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....
0
votes
0
answers
40
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
...
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 ...
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....
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....
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.
* ...
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: ...
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 ...
-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 ...
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 ...
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
...
-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 ...
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, ...
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 ...
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 ...