
To use your own adle file when building the APK from Unity, import your adle file to Assets/Plugins/Android/adle. See Android Studio’s documentation on configuring your build for more information about building an output package (APK). Import this project into Android Studio to make additional modifications or to get full control of the build process. When you click Build Unity generates a Gradle project in the specified directory rather than building the APK. To export a Gradle project, follow the instructions above, but tick the Export Project option in the Build window before you click Build. Gradle build settings Exporting the Gradle project

However, due to the differences between Gradle and the default Unity Android build system, some existing projects may be hard to convert to Gradle. Most notably in Unity, it reduces the method reference count in DEX (Dalvik Executable format) files, meaning that you are less likely to come across DEX limit problems.

This automation means that many common build errors are less likely to occur. How to fix this any hint will be helpful.Gradle is an Android build system which automates a number of build processes. I tried all the method given here ,I restarted my laptop also but then also I am getting the same error. In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes. Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.Stop Gradle build processes (requires restart) Stopping all Gradle daemons may solve this problem. The state of a Gradle build process (daemon) may be corrupt.

Re-download dependencies and sync project (requires network)
