Studio fails to open project when gradle uses source distribution

If you change the gradle.properties like so

distributionUrl=https://services.gradle.org/distributions/gradle-4.8-all.zip

Then the studio cannot open the project. Adding the ‘all’ distribution is helpful with Intellij and it then supports the gradle DSL in the editor.

It appears the studio inspects the distribution url to determine the version - should be a better way ?

Hi,

Thanks for reporting the problem.
Issue was created. Will be fixed in one of the next maintenance Studio releases.

Hi,

Please note that for now project cannot be properly imported using Intellij Idea. We support only our own project file generation mechanism that is required for entity enhancing, debug and running tests.

Native Gradle import in Intellij will be supported since 7.0.