The only thing I know works is Android Studio 3.1 or lower, with the version of the gradle experimental plugin OF points to. Configuration details are here: Notes on steps I took to successfully get a 64-bit APK published to the Google App Store
Every Android project needs a Gradle for generating an apk from the .java and .xml files in the project. Simply put, a gradle takes all the source files (java and XML) and applies appropriate tools, e.g., converts the java files into dex files and compresses all of them into a single file known as apk that is actually used. There are two types of build.gradle scripts
Located in the project/module directory of the project this Gradle script is where all the dependencies are defined and where the SDK versions are declared. This script has many functions in the project which include additional build types and override settings in the main/app manifest or top-level build.gradle file. It is implemented as:
In your module (app-level) Gradle file(usually //build.gradle.kts or//build.gradle),add the dependencies for theFirebase productsthat you want to use in your app. We recommend using theFirebase Android BoM to controllibrary versioning.
first, you need to be close android studio thenfind them ."gradle" folder then enter the "wrapper" then enter the "dists" after entering the "dists" folder you look like "gradle-X.X-all" then you move or delete "gradle-X.X-all" all file from "dists" folder then reopen android studio and enjoy it.
You can add distributionSha256Sum to gradle/wrapper/gradle-wrapper.properties aswell. You get the value for your target version of Gradle from the Gradle Web site.So, for example, for the Gradle 7.5 binary-only ZIP, you will find that the checksumis cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2. So the matchingdistributionSha256Sum line for the above distributionUrl line is:
If you have Android Studio update your gradle-wrapper.properties file topoint to a new Gradle version, it does not add distributionSha256Sum if you do not have it already. Similarly, if you have distributionSha256Sum in thegradle-wrapper.properties file already, when Android Studio changesdistributionUrl, it doesnot change the associated distributionSha256Sum. You will get the error shownabove and will need to change distributionSha256Sum manually.
I have the correct sdk locations and i have accepted the liscense the project does start to build but there is an error when packaging apk. Below I have left the error and my settings that i am using. The integration of android studio was super buggy and i had to do a lot of research just to even get it to work. i am trying to get a bundle abb file for google play store.
Access to the Mapbox repository requires a valid username and password. In the previous section, you added the password to your gradle.properties file (see section Configure credentials). The username field should always be "mapbox".
f5d0e4f075