Skip to content

5. Issues while developing

yoh-there edited this page Oct 22, 2015 · 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 add remote 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.

Astar tablet

The popular 7" astar tablet is not playing nice with Android Studio. On a Windows PC it failed to install drivers when connected, so Studio didn't notice it being connected at all. On Ubuntu it was seen but despite it running stock Android 4.4.2., Studio reported it running API level 1, and thus refused to give it a go.

gson dependency not found

In Android Studio

  • Ctrl - Alt - Shft - S
  • In the left bar choose under "Modules" the item "App"
  • Open the "Dependancies"
  • Click the Plus sign (+) on the far right and choose Library dependancy
  • Search for gson, wait for it to pop up and click OK