Android Espresso, Wake up device before test. How to use a custom manifest for test?

I've been writing tests with androids new espresso framework and find that it works well. One annoying thing (not particular to espresso) is that I have to make sure my screen is awake and...

Debug Signing Config on Gradle Product Flavors

I've got a project where I have several device-specific product flavors, and each flavor needs to be signed with a different config: productFlavors { nexus7 { signingConfig...

How do I detect if I am in release or debug mode?

How can I detect in my code that I am in Release mode or Debug mode?

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

I want to compile an open source android project (Netguard) using gradel (gradlew clean build) But I encountered this Error: A problem occurred configuring project ':app'. > Exception thrown while...

Trying to load data from google storage bucket results in a apiclient.errors.HttpError: <HttpError 403... returned "Forbidden">

so right now im trying to write a python script which loads a few files from our google storage. I'm using Windows, have installed the Google Cloud SDK and set everything up with gsutil so i can...

Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error. See log for more details

Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error. See log for more details build:gradle(Module:app) buildscript { repositories { maven { url...

build gradle fail with "no signature of method .... is applicable for argument types: (java.lang.String) values"

I have 4 gradle build files: when I build in android studio I am constantly having the error: No signature of method: org.gradle.model.ModelMap.getDefaultProguardFile() is applicable for argument...

Android Studio: Connection to the Internet denied error

Whenever I try to open a project or Create a new project in Android Studio, I encounter a Gradle Project Sync error. Android Studio is displaying an error which states "Connection to The Internet...

Could not find androidx.navigation:safe-args-gradle-plugin:1.0.0-alpha01

I want to use Navigation Architecture Components. But I got a problem with importing safeargs Sync message: Could not find androidx.navigation:safe-args-gradle-plugin:1.0.0-alpha01. Searched in...

In a PWA the virtual keyboard overlaps html elements, in a mobile chrome browser it doesn't

I've build my web app into a progressive web app (PWA). Everything works great except when i click on a input for typing something in the pwa the keyboard hides elements which are position fixed...

Could not find method kapt() for arguments

I'm facing a problem for over 3 days now and I can't solve. since I started to use Kotlin for Android,I stopped using "annotationProcessor" and started using "kapt", all things were working great...

react-native run-android, Could not resolve all artifacts for configuration ':classpath'

I followed the intructions of React Native Getting Started, in the "Building Projects with Native Code" tab, for Windows and Android. This is the content of the...

Firebase Crashlytics Android NDK: empty symbols on crash reports

I have a project in Android Studio that consist on Android Java Services that uses some native libraries through JNI calls. Basically, I have 2 libraries I compile and another library that is...

Unity IL2CPP Error : section name section has wrong type: 2621440

I'm trying to build my game to android 64 bit with Unity 2018.3.3, but IL2CPP crashes ! every thing works fine when I build with Mono but it only give 32 bit apk ! When I build an Empty Project...

Using sendevent in python to usb connected phone slow due to su access

Using python ppadb to automate clicks. Input tap worked fine but was slow, so I rooted my device (android 10, pixel 2) to use sendevent /dev/input/event#. I used adb shell getevent to listen to...

How to fix Command PhaseScriptExecution failed with a nonzero exit code on flutter run in macOS?

I am working on a flutter app. I recently shifted to macOS and since then haven't been able to run the app. Other apps are running fine so I think the error is in within the code of this app. And...

This App Bundle contains native code, and you've not uploaded debug symbols

This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug FAILURE: Build failed...

How do I fix this error while running expo build android?

Hello, I need some help. So what's the case is I am trying to build an android apk from my expo react app. But when I try to do so, it fails. This is the output that is being shown when trying to...

Flutter : error: package io.flutter.embedding.engine.plugins does not exist

How to Fix This Error I try to (Flutter Run)Debug my Code & Test App in flutter showing this error... before this i have Gradle Build error i fix it after that showing Minimum supported Gradle...

Unity 2020.2.6 Android build aptOptions noCompress property definition error

today I tried to build my game for Android with Unity 2020.2.6f1 and it gave the error below; UnityException: Error mainTemplate.gradle file is using the old aaptOptions noCompress property...

Flutter Web - No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app)

I understand there are many very similar questions to this; but none of their solutions work for me. I've tried them all. PS: I expect the problem is something to do with my index.html Problem: I...

Failed to load IDynamiteLoader from GmsCore: Application package com.google.android.gms not found

In My flutter app google Ad is not loading in android app but works in ios. I am using both AdMob and Firebase Database and i am using Macbook pro M1 and anroid emulator is downloaded...

<package> uses or overrides a deprecated API

I was trying to upgrade my project to some of the latest versions, I'm unable to get to null-safety since some of the dependencies in the project haven't been updated. I've resorted to sdk version...

Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'build.gradle'

I want to add jitpack.io as a repository in my gradle file. This is my gradle root file: buildscript { repositories { google() mavenCentral() } dependencies { ...

A lot of errors after upgrade to flutter 2.5.0

I have updated Flutter to 2.5.0 in my project and getting a lot of errors, for example: Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ ...

Ionic 6. Google maps not being displayed after updating to cordova 10.0.0

As soon as updated cordova to version 10.0.0. My map view is just blank. No error is being thrown. I am sharing the Ionic info and dependency list below. I have tried creating a new API ke and...

Firebase Cloud Messaging of Unity causes crashes on Android at application launch (once)

In July 2021, Google has instructed Unity developers to Migrate from UPM packages to Asset packages, Since I upgraded my unity game project and used Asset packages instead of UPM, I am seeing...

Firebase Crashlytics/Analytics not working with flutter

I saw a couple of duplicate questions in this similar topic. But those are either unanswered or outdated. I've been trying to figure out what I'm missing for more than a week now and I couldn't...

Build failing after upgrade cordova-android 10

When I upgraded [email protected] to [email protected] I've got a build problem when I run cordova build android --release --buildconfig=build.json Problems: * What went wrong: Some...

Cordova Android build error: ":app:processReleaseGoogleServices' (type 'GoogleServicesTask')"

Current Behavior When trying to build my Ionic Cordova app for Android I get the following error: Build command: ionic cordova build android --prod --release Task...