Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBoris Vukobrat
4,248 PointsRunning Git project
This stage was hardest to me so far, due to many uncertainties around VCSs and Git, and Android in general on the other side.
So now I would like to run picasso. I am not sure if there was VCS menu before in Android Studio, but I am sure in the project explorer > right-click context menu, wasn't Git, GitHub and Maven menus. Toolbar is also much different. And finally there is no run command, maybe because picasso is not Gradle built. How to import in AS a Git project that is not Gradle built?
I tried in Eclipse, then. It imported just picasso-sample, not other modules. Also, for some unknown reason, Eclipse changed project and package name. Refactored to original. Then it needs v4.support library and some other com.squareup imports.
So what do we do now? Adding support library is explained in http://developer.android.com/, I think I can manage that. But how to add com.squareup imports? Why Eclipse didn't import all modules? Those classes are in other modules I guess, so I can simple import them manually as java files? Or jar. Isn't there more efficient way?
k, long post but I think this implements important Android big picture and development in general. Even master Ben struggled with some of this stuff :). And while we importing v4.support library Lollipop popped up :))
1 Answer
Harry James
14,780 PointsI actually really don't like the built-in VCS tools and instead, I use GitHub as standalone software. It's got a simple GUI, easy to use and, you can see everything that's happening!
I recommend you give it a go and see what it's like. You can download it for Windows and Mac if you'd like to try it out.
To get started, just press the plus and enter the path to your project. Be sure to include the .gitignore for Android! Then, you're sorted! You may get some files that don't get ignored. If you do, you can simply add them to the .gitignore file (Though, chances are, you won't need to do this).
Hope it helps!
Boris Vukobrat
4,248 PointsBoris Vukobrat
4,248 PointsHarry thanks. I use Git Bash console. There are many options which could generally be overloading for beginners. I am rather new to git so I chose console. GitHub software is one of the prime options.
But the main issue that interests me now is how to run/implement .git project. I guess, beside SDK support libraries, dealing with .jar or .java files remain.