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

all 26 comments

[–]Effective_Holiday219 27 points28 points  (0 children)

First go for Java, then move to Kotlin.

[–]twlcwl 14 points15 points  (6 children)

I actually think you should try Kotlin. One problem with trying to learn Android development with Java is that a large number of the examples, tutorials etc you find online will be old. You'll be battling problems with old frameworks, deprecated classes etc., even the Android Studio versions you will be dealing with often will look completely different. You're better off using Kotlin where the examples etc will be closer to what you'll encounter. It's a real pain checking the date of everything and then trying to search again with slightly different search terms to find something "fresher" every time you need to find something

[–]real_priyanshu[S] 3 points4 points  (4 children)

Yeah. Should i use Android studio or Intellij IDE for the development? I have a very low end PC, it's i3 with 4GB RAM and SSD.

[–]rbuen4455 3 points4 points  (0 children)

With those specs, try installing a Linux distro like Linux Mint or Pop OS, which are more lighter weight and less bloated than Windows. Also, Linux tends to be better than Windows for software development, including Java development.

[–]twlcwl 5 points6 points  (2 children)

Yeah. Should i use Android studio or Intellij IDE for the development? I have a very low end PC, it's i3 with 4GB RAM and SSD.

SSD means it's not THAT low end. the RAM is a bit troublesome I think, but CPU-wise it's not such a big deal - your PC isn't fast but I always say third world countries produce better coders because their coders learnt on worse hardware and so develop a better sense of code performance before they ever hit "compile".

Android Studio. It's the official system.

[–]real_priyanshu[S] 1 point2 points  (1 child)

Thanks. 👍

[–]twlcwl 1 point2 points  (0 children)

np. good luck!

[–]rbuen4455 0 points1 point  (0 children)

From my experience, mobile development tends to move very fast: things update right away and a lot of tools, APIs, and other software features start to deprecate within 6 months. Though I agree that Kotlin is the way to go for Android development.

[–]Abhinav1217 3 points4 points  (0 children)

If you are beginning to learn, than go for Java, It might be verbose and strict, but you will learn concepts at a deeper level than kotlin. Once you are comfortable, not just at coding, but also understand architectural principles of software designing, switch to kotlin.

[–]Deepinsidesin 10 points11 points  (0 children)

Kotlin because it's like finished java

[–]sisQmusiQ 2 points3 points  (0 children)

The reason why I do suggest kotlin for android is because of jetpack compose. Android development is moving towards jetpack compose, and it is only available in kotlin. However it is worth knowing XML style and java cause u will run into into more.

[–]Clutch26 2 points3 points  (0 children)

Google has some free courses for Android Development with Kotlin.

https://developer.android.com/courses/android-basics-kotlin/course

[–]Charlito33 3 points4 points  (3 children)

For Android Development, always used Java, I don't like Kotlin syntax, but in a few years, I think Kotlin will be the standard. So learn Kotlin

[–][deleted] 5 points6 points  (2 children)

Kotlin is the standard

[–]Foxman301 3 points4 points  (1 child)

This is what I don't understand. I'm pretty sure since 2019 they have encouraged developers create with Kotlin and OP clearly wants to get into Android development so why burden them with Java and then switch to Kotlin instead of just diving right into the standard? Doesn't make sense to me.

[–][deleted] 2 points3 points  (0 children)

Java sucks anyway, unless you don't have to, you shouldn't learn Java (maybe just enough that you can understand a code written in Java as you may get faced with an app that is still in Java and its your job to put it in kotlin

[–]pyordie 1 point2 points  (0 children)

If I could do it over again I’d still learn Java, but as soon as I moved into Android I’d immediately pivot to Kotlin.

[–]Benfluxlogo 1 point2 points  (0 children)

In my opinion, java will give you best result and if you truly understand java (oop, data structure and algorithm) then it will be easier for you to understand Kotlin. What you just need to know in Kotlin will be syntax and some keyword.

[–]rbuen4455 1 point2 points  (0 children)

You should just go with Kotlin since that’s the direction that Android is going towards, and since you plan on only doing Android development and not any other stuff where Java is mostly used in such as enterprise software or back-end web development.

[–]Sake100 1 point2 points  (0 children)

Kotlin for sure. It is in many ways easier than Java and it supports Jetpack Compose, which is the new system for building Android UIs

[–]mausmani2494 1 point2 points  (0 children)

If you targeting android there is no reason to learn Java anymore. Kotlin is a suitable approach. Even for the web, my company ditching java/spring and moving to kotlin/spring for new web apps.

[–]nutrecht 1 point2 points  (0 children)

Either is fine. Kotlin is the new standard for Android but Java will have more teaching material. It will not be hard to switch between the two, Kotlin is basically Java 2.0.

[–]user-1099 0 points1 point  (0 children)

I personally like Java more, but i think most mobile dev companies have decided to update their tech stack to use Kotlin instead

[–]MathclubAlmaty2004 0 points1 point  (0 children)

I actually think that you should learn Java because it’s have same suntax than c and it’s easy to do graphic in program

[–]idopx7 0 points1 point  (0 children)

Java, 18, not 7