Category "android"

How can I fix java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE?

On my flutter project, using fvm, I migrated the project from flutter 2.0.6 to flutter 2.5.2. After fixing all null safesty issues. I get the following error wh

Javadoc and Android studio : Cannot find symbol

I am currently working an Android app (on Android Studio, using mainly Java). I want to generate javadoc (using the Tools -> Generate menu). Following this o

I get the error "Invalid item ID firebaseappcheckinterop-16.0.0-beta01" during build

The question is as the title suggests. The environment is Xamarin.Forms in Visual Studio 2019 on Windows. The error is not occurring in another project, and I t

Android 12 - PROVISIONING_SUCCESSFUL intent never received

We are migrating our Device policy app to Android 12 last API. during our test we notice that the intent PROVISIONING_SUCCESSFUL was never received so the relat

Firebase data message to specific android app versions

i have an android app and i want to send a firebase data message to inform the users of a new app version available in the play store. I am sending a data messa

Reading a Config File in Android from a Golang Bind Service

I have a Golang program from which I have created a package using gomobile bind. It creates two files abcd.jar and abcd.aar. I have copied these 2 files to the

How to save encrypted password in sqlite database in android studio

I am creating an application with a login username and password and I want to store the password in encrypted form in SQLite I do not how how to achieve this ta

Weird Problem Trying to compile Android Emulator

Script to replicate git clone https://android.googlesource.com/platform/external/qemu cd qemu ./android-configure.sh Gives me: Auto-config: --ui=sdl2 Auto-conf

incompatible types: View cannot be converted to LinearLayout

When I want to make Apk file I get 8 errors, I hope someone helps me to fix it Task :app:compileReleaseJavaWithJavac FAILED C:\Codes\code\app\src\main\ja

SHA1 SHA256 command

So I created an android app from the while running the "keytool" command from the "Authenticating your client" site for firebase on the project folder, I get th

getting a payment failed unexpected error in razorpay in react native ios and android

I am integrating a razorpay payment gateway in my react native app . whenever I'm trying to open a razorpay checkout UI its first open a pop up with a loader an

Symbol ExoPlayerFactory not found

I am going insane trying to figure this out. It makes no sense at all. I have added the required implementation in my build.gradle file and synced it up just fi

How to update element value in JsonObject?

I have a json file with parameters name and hit. [{ "name": "pavan", "hit": true }] I would like to update name and hit to [{ "name": "sai",

How to prevent AlertDialog box getting dismissed when clicked outside the dialog box?

I have an AlertDialog box that I am using to get input from the user. But when the user clicks outside the dialog, it is getting dismissed irrespective of wheth

Resource linking fails on lStar with error

I'm working on a android Native application. My Android builds began to fail without any changes. FAILURE: Build failed with an exception. * What went wrong: E

Android studio - Generate signed APKs broke

I just updated my Android studio to the version 2021.1.1 Canary 12. After struggling to make it work, I had to also upgrade my Gradle and Gradle plugin to 7.0.2

Can I change topLevelDestinationIds from AppBarConfiguration?

I have CountriesFragment and this fragment is launching first (start destination) I hid the back button using this code NavigationUI.setupWithNavController(mate

Unable to Capture Fingerprint using morpho fingerprint scanner device in android application

Device detail: Morpho fingerprint scanner device Method Type : CAPTURE URL : http://127.0.0.1:11100/capture Headers content-type : text/xml Accept : text/xml B

ViewPager2 default position

I'm creating a slideshow with ViewPager2. For example, the slideshow has 3 items and I want to show the second item when the activity opens. I use setCurrentIte

IntelliJ IDEA and Android Studio create ADB conflict: Could not connect to remote process

I use the latest release of IDEA (now 2021.2.2) to develop the backend (and running tests) and the latest of Android Studio (now 2020.3.1) for the mobile app. W