Category "android"

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.

Activity result contracts with Ucrop: cannot get crop result into app

I have an activity that is supposed to get an image from gallery and preview it before allowing the user to upload it to a database. I am using UCrop as my imag

Programmatically register/deregister intent-filter for an activity

Assume that I have app X, with Activity A which is launched by some intent filer F defined in X's manifest file. Is it possible for X to programmatically dereg

Parameter type must not include a type variable or wildcard

in my android app I use Retrofit 2: public enum OperationType { @SerializedName("payment") PAYMENT, @SerializedName("payout") PAYOUT, @Seri

How to fix the 0x3009 (EGL_BAD_MATCH) issue while invoking eglCreatePbufferSurface?

I use the createOffscreenSurface from grafika: /** * Creates an off-screen surface. */ public void createOffscreenSurface(int width, int height) { if (mE

Content Description in Multi Language

how I can add support of multi-language for content description. I am developing a kiosk app where I want to take confirmation from users for the language they

Fast update Android notification

I write simple audio player for Android. I wrote basic functional and now I want create notification for control audio player. I use Android classes Service and

Android: Cannot find element id/name in google form android

I am trying to integrate google form with android using this link But when I created a google form as mentioned in the tutorial I was not able to find the name