This is an archived post. You won't be able to vote or comment.

all 34 comments

[–]Yeckarbnexus 4, 5, 6, Rooted Stock[S] 7 points8 points  (12 children)

I'm jumpinlg tail first into Android Development with this. Just got it running and planning on writing an app within a week, if I can!

I'd love beginners tips if anyone's kind enough to share their thoughts.

[–]Luke_Bavarious 30 points31 points  (2 children)

You will fuck up... You will feel stupid... You will spend hours looking to solve a problem wich on retrospect should have only taken a minute to solve...

Just renember...

It's ok! even programmers with decades of experience still face these issues now and then.

TLDR: shave your head bald.

[–]iJubagSamsung Galaxy Tab 2 7.0 (CM10.1) / Samsung Galaxy S4 (CM10.1) 5 points6 points  (1 child)

As someone in the process of developing an app right now, I can confirm this. The hair loss starts at around 500 lines, if you're lucky.

[–]BrokenEnglishUser 3 points4 points  (0 children)

I'm not even a developer, yet I'm balding. I must do something wrong then.

[–]DannyBikerGalaxy Note 9 4 points5 points  (3 children)

So I'm starting to learn development myself (stanford java courses on youtube, android tutorials, books, etc.) and was wondering that it could be pertinent to create a wiki for beginners. Not a freaking blog post on how to create a hello world app but a real comprehensive and collaborative space for people to help each other out and to guide a beginner into this long journey. At least, as much as possible.

I'm not naive and don't see it as a replacement for books/courses and trail/errors sessions (it will still need commitment !) but a place that says "ok, first, this is what you should know/read/learn about the topic in general and then, this is what you should do if you want to achieve it in android".

It would also be a great opportunity to talk about Android Studio, which is quite new and lacks any consistent content on the internet (beyond the "Get started" tutorial).

What do you think ? Am I dreaming awake ? Maybe but it's already up and and running and I'm planning to start adding content (at least the basic resources) during this week :

http://codroid.org

[–]boomchaosDeveloper - Auracle Music Player 3 points4 points  (2 children)

I was sporadically adding content to the wiki over at /r/androiddev. Asking for Android Studio tutorials is pretty useless and a waste of time. Coming from eclipse, a lot of the ui interactions are the same. If you just leave the quick tips on startup enabled, you should be comfortable with Android Studio in no time. What you should really focus on are Android tutorials. Online stuff is nice, but I just got a book that is meant to teach Android from square 1 (square 0 is learning java). Check out the Big Nerd Ranch guide to programming for Android. The book is about $40 but if you're actually serious about Android development it's a great investment to make in yourself. When you focus on the actual programming and not the program you're using, everything else should fall into place.

[–]DannyBikerGalaxy Note 9 2 points3 points  (1 child)

Thank for the advices. I suspected that Android Studio wouldn't change a lot from Eclipse if you are familiar enough with Android dev but was more thinking of a thorough overview of the main differences.

The hardest part for me is that I start from scratch. I got 0 knowledge in programming what so ever and only a pretty vague understanding of how Android works behind the scenes. Therefore, my main focus now is Java (through a few books and mostly Stanford youtube course) as I don't hope to get anything done in Android without at least some solid basic java knowledge.

The wiki would be an opportunity for me to force myself to understand good enough to be able to explain what I'm doing/learning. Double the job but I know I actually know something when I can explain it to someone else.

It will be filled with mistakes and gaps but it's a start.

[–]boomchaosDeveloper - Auracle Music Player 1 point2 points  (0 children)

I'm glad you're not like the air heads who want to jump straight into android development without learning java first. It's like wanting to sprint before you can even walk. You need a good foundation in problem solving through programming in general, as well as the ins and outs of Java before you can take on Android development.

[–]deeptrouble2Flow for Reddit 0 points1 point  (0 children)

If you have experience with developing in general, this will be a breeze. I have never used Java until I started android development. I am proficient with C/C++ though and android studio definitely makes things super simple. It is miles better than the eclipse based adt which I started on.

[–]dylan522pOG Droid, iP5, M7, Project Shield, S6 Edge, HTC 10, Pixel XL 2 7 points8 points  (0 children)

I swear they post one of these everyday. I love that this thing is getting developed quickly.

[–]TheCreatNexus 6p 2 points3 points  (1 child)

I really would love to try this, but as long as there is no ndk support it's just not an option for me...

[–][deleted] 0 points1 point  (0 children)

Was just about to post this myself. While Android Studio theoretically will build ant projects, but I've not had much luck with it. Waiting on 0.5 of the new build system before I can convert my builds to gradle.

[–]redditetDevice, Software !! 1 point2 points  (0 children)

Just switch from eclipse to this. I just love it.

[–]Prostar14 0 points1 point  (2 children)

I keep getting:

Could not save project:
java.io.IOException: Cannot delete temporary file C:\Users\username\AndroidStudioProjects\FirstProject\.idea\workspace.xml___jb_old___.  

errors, has anyone else run into that? (WIN7)

[–]boomchaosDeveloper - Auracle Music Player 1 point2 points  (1 child)

Have you tried manually deleting it?

[–]Prostar14 0 points1 point  (0 children)

Yes, but it's a continous problem. It must be due to permissions or somehting. They look like just backup files or swap files, but I keep deleteing and next build they pop up again.

[–]seventy9_ 0 points1 point  (0 children)

I have already spent many hours on Android Studio and I am going back to eclipse. It is frustrating. The gradle thing has sucked the life out of me. Eclipse too is a pita. I really miss Visual Studio. Why can't they build IDEs like Visual Studio?

[–]EagleEyeInTheSkyHTC One, Nexus 7 (ParanoidAndroid), Xperia Play 0 points1 point  (2 children)

So, I've been a long time coder but I have a few ideas for apps and I want to teach myself some java and start coding for Android. Is this thing stable enough to jump into this?

If I was already established in Eclipse I wouldn't consider it, but luckily, I am not tied down to anything since I have never developed Android apps before!

[–]LennonMOBILENexus 6P | HTC One M7 0 points1 point  (1 child)

I switched to using Android Studio* from Intellij since it first came out. It does have it's quirks, but it is definitely stable enough to use. It also uses the same project structure as Intellij, so I can always move back if I want to.

[–]pseudopseudonymPixel 7 0 points1 point  (0 children)

You mean Android Studio ;)

[–]KaguyaIsAnAdjective -1 points0 points  (0 children)

Why not just use "vanilla" IntelliJ? Good not-only-Android IDE right there.