![]() ![]() So I downloaded gradle-3.1.2.jar, put it in /libs/ and change build. At first I got this error: No cached version of :gradle:3.1.2 available for offline mode.ĭisable Gradle 'offline mode' and sync project You can find the version number of the current build in tools/buildSrc/base/ use Android Studio 3.1.2 with Gradle 4.4 on Ubuntu 16.04 and have to force Gradle to do off-line work, because when I use it normally (on-line), it takes to long to sync and fails. ![]() You may need to change the version of the plugin as the version number used in the development branch is typically different from what was released. To test your own Gradle projects, using your modified Android Gradle plugin, modify the adle file to point to your local repository (where the above publishLocal target installed your build).įor example, if you ran the repo init command above in /my/aosp/work, then the repository will be in /my/aosp/work/out/repo. Connect the Intellij remote debugger to port 5006.Import this project into Android Studio or another. Run the test in IDEA (Run, not debug, unless you want to debug both the test and the plugin at the same time) When you do this, Unity generates a Gradle project in the folder you specify, and doesnt build an.Add the environment variable DEBUG_INNER_TEST=1 to the run configuration.To debug the Android Gradle Plugin being run from integration tests: To debug unit tests simply use the debug action in Intellij IDEA. ![]() out/repo/, and it is also done as part of running the integration tests. ![]() The above command publishes the plugin to a local Maven repository located in. To build AGP for use in other projects, use the “Execute Gradle Task” action to run :publishAndroidGradleLocal (or :publishLocal if you also need the databinding libraries) All of the projects are built together in a multi-module Gradle project setup. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |