Fixed
Status Update
Comments
vi...@google.com <vi...@google.com>
xo...@google.com <xo...@google.com> #3
Thank you for the report. I have committed a fix for this into our current development branch, which should eventually be released as Android Studio 4.1 - it's possible that this fix will also be made available in earlier releases.
As a workaround, you should be able to have Android Studio recognize your project as a Gradle project by providing an empty build.gradle file at the toplevel - it should have no effect on the build, but will simply trigger Android Studio's Gradle project detection.
As a workaround, you should be able to have Android Studio recognize your project as a Gradle project by providing an empty build.gradle file at the toplevel - it should have no effect on the build, but will simply trigger Android Studio's Gradle project detection.
xo...@google.com <xo...@google.com> #4
I also committed a fix for this into the branch that will become Android Studio 4.0. Given the simple workaround for earlier versions, I think it is unlikely that this change will go into Android Studio 3.6, so I think there's nothing more to do: I'm marking this bug as fixed. Thank you!
Description
rootProject.buildFileName = buildFilePath
I think a proper way to determine a gradle project is to
1. Check for settings.gradle.kts
2. Build the buildSrc Folder
3. Then, Sync it with Studio
This works perfectly with the command line..
The usecase is that I have multiple gradle scripts and all of them are defined in the folder called scripts.
Sample Project:
Build: AI-191.8026.42.35.6010548, 201911150702,
AI-191.8026.42.35.6010548, JRE 1.8.0_202-release-1483-b49-5587405x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.15.2, screens 1024x640, 1600x900; Retina
AS: 3.5.3; Android Gradle Plugin: (plugin information not found); Gradle: (gradle version information not found); NDK: from local.properties: (not specified), latest from SDK: 20.1.5948944; LLDB: LLDB 3.1 (revision: 3.1.4508709); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: (not found)
IMPORTANT: Please read