Skip to content

Fixing the error when cloning the repository

Tyler Sizse requested to merge issue_clone into main

Branch Name

issue_clone

Steps to successfully clone before this MR gets merged

  • Open Android Studio
  • Close the NEST project if it is open
  • Close Android Studio
  • Delete the NEST project folder
  • Open git bash and clone the repository into your project folder
  • Navigate to and open .idea/gradle.xml file.
  • Paste and overwrite the file with the following code:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="GradleMigrationSettings" migrationVersion="1" />
  <component name="GradleSettings">
    <option name="linkedExternalProjectsSettings">
      <GradleProjectSettings>
        <option name="testRunner" value="PLATFORM" />
        <option name="distributionType" value="DEFAULT_WRAPPED" />
        <option name="externalProjectPath" value="$PROJECT_DIR$" />
        <option name="gradleJvm" value="11" />
        <option name="modules">
          <set>
            <option value="$PROJECT_DIR$" />
            <option value="$PROJECT_DIR$/app" />
          </set>
        </option>
        <option name="resolveModulePerSourceSet" value="false" />
      </GradleProjectSettings>
    </option>
  </component>
</project>
  • Save the file
  • Open Android Studio
  • Open the NEST project

The project should now successfully build with no errors. This works for me 100% of the time.

Steps to successfully clone after this MR gets merged

  • Open Android Studio
  • Close the NEST project if it is open
  • Close Android Studio
  • Delete the NEST project folder
  • Open git bash and clone the repository into your project folder
  • Open Android Studio
  • Open the NEST project

The project should now successfully build.

Edited by Tyler Sizse

Merge request reports