Category "android-studio"

Changing audio source for media player (Android Studio)

I am trying to create a button that plays a sound at random from the list of sounds on click. The code I have randomises the first sound, but the subsequent cli

Getting TypeError: this.InnerNativeModule.configureProps is not a function in expo on mac

I am running an android app that is created using react native expo. It is running fine on windows machine android studio emulator Recently I switched to mac an

A problem was found with the configuration of task ':app:processDebugManifest' in first project

[I just Installed Everything for flutter...and run the first default app...but this problem is showing] Like picture below: FAILURE: Build failed with an except

Exception in thread "main" java.util.zip.ZipException: error in opening zip file When testing the application

In Android Studio the application was running on Real device, it was exported in ABK format .. But after a while, this error appears I read about gradle but did

Kotlin Android Studio: org.junit.ComparisonFailure with NBSP

I have this code @Test fun price_twelve_cupcakes() { val viewModel = OrderViewModel() viewModel.setQuantity(12) viewModel.price.observeForever {}

getting build error after updating ads dependencies to latest version

I am getting this build error while I am trying to run my application from the Android studio. Execution failed for task ':app:checkDebugDuplicateClasses'. >

After fixing "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8" Android studio emulator still doesn't work

I got an error "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8" I change it in IDE settings and JAVA_HOME environment variabl

Error "Minimum supported Gradle version is 7.0.2. Current version is 6.8." in Android Studio

An error occurred after I downloaded version 6.8 and the latest version of Gradle. A problem occurred evaluating project ':launcher'. < Failed to apply plug

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