w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Android Studio staying on Gradle build using tasks

The real problem is that previous version of Android Studio misconfigured the IDEA file (e.g. MyProject.iml). It added an extra <component name="FacetManager"> XML element that shouldn't be present.

In the case above, the solution is to edit MyProject.iml and remove the <component name="FacetManager"> part as shown here:

<module external.system.id="GRADLE" type="JAVA_MODULE"
version="4">
  <component name="FacetManager">
    ...remove this element and everything inside such as <facet>
elements...
  </component>
  <component name="NewModuleRootManager"
inherit-compiler-output="true">
    ...keep this part...
  </component>
</module>

See also Gradle: FAILURE: Could not determine which tasks to execute.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.