0
How to synchronize android studio
Hello guys. I have a Laptop and a PC and I am using both of them for coding android apps. I always have the problem that the code that I have written on my PC isn't on my laptop and the other way around. Is there any way to synchronize the two? Thanks in advance.
12 ответов
+ 3
Kuchenesser, see if this link has what you are looking for:
https://www.technewstoday.com/how-to-sync-files-between-computers/
+ 3
I don't think you have to rename the newest version. However, I've never tried it. I'm not as well versed with GitHub as I should be either.
+ 2
I've never looked.
If there isn't, I'm sure there's interest there and could earn you a bit of positive rep if you were to create it 😉
+ 2
I saw that you can sign in with your Google account and have cloud functionality. I haven't tried it yet, but if this works, that would be a solution for my problem(and for everyone else who wants to synchronize android studio code between two PCs).
+ 1
In theory, you could push your code each time to github and then pull it onto the other device....
You might have to copy the files out of Android Studio to do it.
+ 1
I've just looked at my Android Studio and under the tab VCS, there are "Share project on Github"/"Create Github Repository" options... among others.
Might be worthwhile checking out.
+ 1
I tried it and it uploaded my code to Github. But as far as I know, the code doesn't get automatically uploaded and I always have to rename the newest version. Or am I wrong?
+ 1
I meant that if I have uploaded one file and want to upload a new file later, I have to rename the file I want to upload now because one with the same name I would like to upload already exists.
+ 1
But you can replace the older version and GitHub is supposed to keep a record of the changes, right?
+ 1
Ah yes that's right
0
Is there also no option to synchronize via GitHub? like in Intellij.
0
Oh yeah that would be a solution. But is it possible to automate that?