Category "android-studio"

no ad config with error code 3 in test ads

I have integrated AdMob into my android app and I am using test id to show ads. but whenever I run the app it always goes to onAdFailedToLoad method and I am ge

Running Python scripts in Java class activity in Android Studio with Chaquopy

I am trying to utilize some python scripts in an Android Application (Java). I have configured Chaquopy following the instructions on their website. https://ch

Pair new device over wifi not working in android studio bumblebee

when I try pair device with this, QR code and Pairing code not work and stuck in searching for device... I have phone with android 11 & 12 and Wifi debuggin

Breakpoints not working with Flutter in Android Studio

I can set breakpoints, but when I run in Debug mode the breakpoint's icon change with this: I think that the problem is the new version of Flutter plugin in An

Always make the prefix text in text input layout visible like the hint

I am having a prefix text in a Text Input Layout but it only shows when i click inside the Text Input Edit Text which is inside the Text Input Layout that has m

Android Studio: Installation failed due to: 'device 'xxxxxxxx' not found'

I'm struggling with an issue connecting Android Studio to my Google Pixel 2. When I plug my phone into my laptop, Android Studio now recognizes the physical de

ImageButton to show image of ImageView onClick

I want an ImageButton to change its image when clicked on it. But the image that it changes to has to be the image from an ImageView. Is this possible? EDIT: in

How to display .svg Image URL in JetPack Compose? [duplicate]

I have svg image Url, I want to display the image in Jetpack Compose.

HAXM can't be installed

When I tried to install HAXM it stopped and prompted me The system requirements are not satisfied. I have checked the log file for errors. I found that the vmx

Android studio can not recognize manifest file

My Android Studio Chipmunk can not recognize AndroidManifest.xml files in all projects. Other .xml files are correctly recognized. AndroidManifest is recognized

Saving an AnimationDrawable object to a file

I am very new to android development and trying to make an application that will convert a video to GIf using MediaMetadataRetriever and AnimationDrawable. I am

Unable to make field private final java.lang.String java.io.File.path accessible

Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @786f3609

Unable to import any library in Android Studio after updating it to Chipmunk

I have recently updated my Android Studio to Chipmunk and I am unable to import any library in it. Here is my build.gradle project level file. App level build

Why can't I set app:helperTextTextColor="@color/red"?

I'm currently watching a tutorial on how to create the "Required*" helper text on a textInputLayout. In the video he is able to set the text color to red using

Image asset not overwriting existing icons, but disappearing

In Android Studio when we create a new image asset, it says the icons will overwrite what is already there, but when we hit finish, the icons disappear on the c

Error when running app on virtual machine in Android Studio

I am fairly new to android studio so please excuse my incompetence. Two days ago I deleted android studio and re-downloaded it and now the emulator refuses to w

Unable to start API 29 emulator (Android 10)

As the title says, I have tried to create an Android 10 emulator, when trying to start the emulator nothing happens, only the phone appears on the screen but th

App crashes when I try to use a progressBar Widget

I have a ConsentForm Activity. Upon pressing the consent Btn (Yes) a dialog where the user has to enter their email pops up. When they enter a valid email and p

android.useAndroidX property is not enabled, why it should be?

I am having an issue with androiDx libraries, so when I am adding shimmer library into my projects or glide photo library or when i update the google play servi

Could not connect to remote process. Aborting debug session. Attach Debugger OK button is grayed out

When I try to debug the app, the emulator sticks on "Waiting for debugger". Meanwhile, in the debug tab, it can be seen that AS is "waiting for application to c