0

Let say there are two developers: john and james.
john's sdk is in C:/user/john/android/sdk
james's sdk is in C:/user/james/android/sdk

Each time syncing to git with the whole project.
Then if last time john do the sync, james fetch and open project with warning "sdk location not found, change to james/android/sdk.
Android studio automatically change that and would not cause error.
But it's annoying.

Anyway to solve?
Thanks.

user3042713
  • 175
  • 2
  • 12

1 Answers1

1

Take a look a this answer: What should be in my .gitignore for an Android Studio project? Look for this part: # Local configuration file (sdk path, etc)

Basically you need to set up a git ignore file.

Community
  • 1
  • 1
amosli
  • 41
  • 4