6 ms·
How about support for NDK (C++ development) ? Does the Android Studio ships with support for C++ editing ?
by AlexeyBrin 12y ago
How about support for NDK (C++ development) ? Does the Android Studio ships with support for C++ editing ?
- tomjen3 12y agoUnfortunately this is not seem to be the case, but the people who make IDE upon which Andrew studio is based do have an experimental C++ development IDE so you'll be able to use the same shortcuts as in android studio. It's not even close to free though, Ormoc though it will be once it is out of Beta. I can't remember what it is called, but you will be able to find it on jet brains homepage.
- deleted 12y ago[deleted]
- pjmlp 12y agoNothing at all. Apparently Google is waiting that JetBrains eventually releases CLion. It is anyone's guess when it will achieve parity with CDT.
- abaron 12y agoThis isn't entirely true... I'm using some, albeit trivial, NDK support by adding: android { ndk { moduleName "<some_module_name" stl "stlport_static" ldLibs "log" cFlags "--std=c++11" } } To my gradle file. I've set up a pretty simplistic JNI directory structure though. I can provide more info if this isn't enough as it's been awhile since I've set up a project from scratch.
- pjmlp 12y agoThat is very little. As you say, rather trivial. I want native code debugging, refactoring, static code analysis (Codan like), code navigation.
- abaron 12y agoAndroid Studio can support highlighting C++ syntax and compiling. It can follow functions, header declarations, etc. It can also do some level of intelli-sense and give compilation errors/warnings based on clang (I think).