C++ android studio | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C++ android studio

I learned C++ and set android studio on it but I don't know how to deal with C++ on Android studio, if any one know a tutorial for it please tell me or even advice me :)

18th Jul 2017, 12:59 PM
Yahia Osama
Yahia Osama - avatar
5 Answers
+ 4
no Android didn't support c++. you should learn kotlin or java for Android development
18th Jul 2017, 1:46 PM
Sumit
Sumit - avatar
+ 4
there is no disadvantage that you learned c+++ you can still make program's for Windows with c++.
18th Jul 2017, 1:47 PM
Sumit
Sumit - avatar
+ 2
Just to add to and maybe also slightly correct Sumit's point; Java has what is called the Java Native Interface (JNI) where you can integrate your C and/or C++ code into your standard Java code. This native code is able to create objects, define methods and pretty much access and manipulate your Java code and vice-versa. But as Sumit alluded to, go for Java or Kotlin, they probably will suffice for whatever you want to do. Typically native code is used only for performance tweaks, so unless you're planning on making a big Android game, you should probably stick to one of those two.
18th Jul 2017, 3:07 PM
Garikai
Garikai - avatar
+ 1
can't I make android app with using c++ only?
18th Jul 2017, 1:20 PM
Yahia Osama
Yahia Osama - avatar
0
you need to have Java for Android studio
18th Jul 2017, 1:04 PM
Nushan Kodikara
Nushan Kodikara - avatar