Category "android"

IllegalStateException: Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first

I've been getting this fatal error today after changing some gradle dependences. Even though I tried to revert the gradle dependences back to the original I'm s

GIFs not animating in the Android version of my React Native app

I am struggling to get my GIFs to animate on the Android version of my RN application. The iOS version is animating the looping GIFs as expected but I only see

Remove Title from DatePickerDialog

For some reason, I have two titles in my DatePickerDialog. How can I get rid of the white title at the top? This is the code I use to create the Dialog: dat

Store data and "Cannot create an instance of class ViewModel" - Hilt - Room - JetpackCompose

I try to store some days from ScheduleScreen screen. Lib uses in theme topic. While I was doing this, I had two questions: why i got this error Cannot create an

Cannot resolve method SubscribeOn - RxJava

I am very new to RxJava, I am trying to make Retrofit calls using RxJava. When I write this code on SubscribeOn it says 'Cannot resolve method SubscribeOn(io.re

Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio

I am developing an Android App in Android Studio. Not quite sure what went wrong. I was successfully building a few days ago. Any help would b

Access graphics from drawable folder of a dynamic feature module from main module

I'm getting my feet wet with dynamic module split API delivery in order to break up my game app into Instant and Installable versions. I've been following the C

Gradle build failed to produce an .apk file while connecting AppCenter to GitHub

I want to build a flutter app through AppCenter by connecting to github, but getting this error: Gradle build failed to produce an .apk file. It's likely that

Gradle build failed to produce an .apk file while connecting AppCenter to GitHub

I want to build a flutter app through AppCenter by connecting to github, but getting this error: Gradle build failed to produce an .apk file. It's likely that

Multiple projects react-native android build error

Here are the android/build.gradle files contents of two different project. PROJECT 1 ext { buildToolsVersion = "29.0.3" minSdkVersion = 21

Android clear backstack after reselecting Bottom Navigation tab

Using the newest Navigation Component with the BottomNavigationView, the NavController now saves and restores the states of tabs by default: As part of this ch

YUV buffer size not matching image size

I am currently using Android Camera2 API and decoding the frames through an ImageReader in a YUV_420_888 format. I managed to get everything working, all looks

Using different folders with play asset delivery

I am trying to implement Play Asset Delivery for my Android app. The basic implementation (of on-demand delivery) is done. My folder structure looks something l

SetChecked() does not work

Hey guys on my Adapter ViewHolder.bind I have to check if some value is true, then check my checkbox. The problem is I cant use setCheck(tru) cause in kotlin do

PagerSnapHelper smooth scroll to the top

I have a screen with a RecyclerView with vertical orientation. I have derived PagerSnapHelper to allow smooth-scrolling vertically, one item at a time. The prob

React-native-gesture-handler swipeable is not working on Android

Here is my code. App.js import Swipeable from 'react-native-gesture-handler/Swipeable'; const RightActions = () => { return ( <TouchableOpacity o

Trying to connect to Firebase but crashes when adding button

I'm trying to set an app to just enter something on the textEdit and change it in real time in the Firebase database. The app works just fine if I just do myRef

Problem with adding repositories in build.gradle(project)

// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() ma

Cannot run emulator in a container on a windows host

I want to run an emulator in a docker container, so i searched for it and found many docker-android-emulator images on the internet but most of them have writte

How to avoid full page reloading when keyboard pops up?

Check out this video for problem demo https://youtu.be/GsdWcTEbUbg As there is a large number of code, I will try to summarize the structure of the code here.