Flutter: Gradle build failed to produce an .apk file. It’s likely that this file was generated under \build, but the tool couldn’t find it

in my case I have a multi flavor app like this: update 04/15/2021: { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 “version”: “0.2.0”, “configurations”: [ { “name”: “YOUR_PROJECT_NAME”, “program”: “lib/main.dart”, “request”: “launch”, “type”: “dart”, “args”: [ “–flavor”, “ADD_YOUR_FLAVOR_NAME_HERE” //development or … Read more

unsigned APK can not be installed

I did not know that even with the “Allow Installation of non-Marked application”, I still needed to sign the application. I self-signed my application, following this link self-sign and release application, It only took 5 minutes, then I emailed the signed-APK file to myself and downloaded it to SD-card and then installed it without any … Read more

Android Studio: how to generate signed APK using Gradle?

There are three ways to generate your build as per the buildType. (In your case, it’s release but it can be named anything you want.) Go to Gradle Task in right panel of Android Studio and search for assembleRelease or assemble(#your_defined_buildtype) under Module Tasks Go to Build Variant in Left Panel and select the build … Read more

API to automatically upload apk to Google Play? [closed]

As of today there is a new official publishing API That allows you to upload to any channel (ie. alpha, beta…) or update title and description and more. From the docs: Uploading new versions of an app Releasing apps, by assigning APKs to various Tracks (alpha, beta, staged rollout, or production) Creating and modifying Google … Read more

How to test an Android Library Project

Quoting the documentation: “There are two recommended ways of setting up testing on code and resources in a library project: You can set up a test project that instruments an application project that depends on the library project. You can then add tests to the project for library-specific features. You can set up a standard … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)