Category "android-studio"

FragmentFirstBinding Error with First Fragment XML Changes

I'm in Bumblebee v.2021.1.1. I don't have any database elements in my project. I do have defaults in the first fragment: import com.my.app.databinding.FragmentF

Failed to transform moshi-1.13.0.jar (failed for task biometric_storage:kaptGenerateStubsDebugKotlin)

I pulled a team's project that is made in Flutter from Git and for some reason when building the app (pressing the green arrow in Android Studio and running mai

Flutter: Unable to load asset

I cant Upload image as a background to a container, i have added the image in assets folder and added it to pubspec.yaml and showing me that error : I/flutter

How to perform a touch and hold gesture using AccessibilityService?

Path clickPath = new Path(); clickPath.moveTo(x, y); GestureDescription.StrokeDescription clickStroke = new GestureDescription.StrokeDescription(clickPath, 0, 1

System Dark mode setting problem (More Dark mode options)

Hello‚ I had a problem with the night mode in my program. Switching from the phone system to night mode did not change the black text to white. It was jus

In Gradle, how to print out a message in the console / Event Log?

I'm trying to verify that my source and target paths are properly setup when I execute a deploy command. See the example below: (copied from: http://eppz.eu/blo

Multi-line block select using the keyboard in IntelliJ IDEA on a Mac OS X

I've recently switched from Eclipse to IntelliJ IDEA 13. I use the VI keybindings. One non-vi thing I am used to doing in Eclipse is using Shift + ↑ / Sh

Run Button Grayed out: Android Studio

Why is the run button always grayed out in android studio after I get some errors. I need to restart/reboot my android studio every time to run it again. I am s

Android AVD - The emulator process for AVD <emulator_name> has terminated

I searched here on StackOverflow and found many similar questions with many different answers, but none of them worked for me. So,I was using the emulators from

Android API 32 Sources not Found

I am currently using Android Studio Arctic Fox and was trying to dig into the source code of several key Java classes in the Android API 32, however, it states

Flutter App won't build appbundle/APK or run on Android after android studio 3.5

Basically my app run and build on iOS but doesn't on Android anymore after I updated Android studio to 3.5 version and i really need to be able to post a releas

How to simply set the default alarm tone to a custom tone

My app currently uses the default alarm ringtone for certain events, which is realized using the following two lines of code in onCreate(): Uri notification = R

android:exported needs to be explicitly specified after add SonarQube in build.gradle

I created a simple Hello World project in Android Studio as an example in Jenkins pipeline, it works but I want add SonarQube analysis, so I add follow lines in

How can I add only the new items of the JSON API without duplicating the existed items?

I want to make an auto refreshing system for my android application. I use a JSON API in order to get the posts. Here is what I did: handler.postDelayed( runnab

Emulators can't load "libGLES_emulation" driver

I am in the process of setting up FirebaseUI using Google's guide but I suddenly got an error I can't seem to find a solution for. I'm pretty sure it has to do

Android Studio and apksigner won't sign app with v1 signature

I have an app with minSdkVersion = 24 but when I use Android Studio signing dialog, the apk never gets signed by v1 (the store I use enforces to include v1 sign

FCM notification not retrieve when app is closed

I am retrieving the notification from firebase cloud messaging into my android app. but the problem is when my app is opened or in running state in that case on

Android studio mouse sometime not working?

I am using Android studio 2.1.1 Build #AI-143.2821654 build on April 28, 2016. JRE: 1.8.0_77-b03 x86_64 OS X El Capitan 10.11.3 I have met Android studio mou

flutter in android studio says cannot find declaration to go to......i am using the latest version of it v1.7.8+hotfix.4

i can't find defination of any of the flutter function or class if i want to see the defination or implementation of FAB(floating action button) it says cannot

Error when setting compileSdkVersion to Sv2 (Android 12L) - Unsupported value: Sv2. Format must be one of

I am trying to follow the setup guide for Android 12L here. But I get the following error when I sync gradle on the project: Unsupported value: Sv2. Format must