Skip to content

5. Issues while developing

yoh-there edited this page Dec 28, 2020 · 17 revisions

Not finding the upstream repository

If, when issuing a pull, you can only choose your own repository and not the upstream one (fesch/CanZE), exit Studio, open a command prompt, change to the folder where the root of your project is (i.e. ~/AndroidStudioProjects/CanZE on linux) and issue the following command:

git remote add upstream https://github.com/fesch/CanZE.git

You should now have the possibility to choose upstream (fesch/CanZE) as a remote to pull from. Notice the refresh button next to the remote drop down box, you might need to click it before the upstream shows up.

Spurious build or IntelliSense errors

These are usually caused by a loss of synchronization between the source and intermediate or cache files. Try one or more of the following

  • File > Sync Project with Gradle Files
  • Build > Clean project, then Build > Make project
  • File > Invalidate Caches / Restart