4 ms·
What do you think can be improved in Android? Unlike iOS, Android is actually running in diverse hardware. All iOS devices are Arm, where as Android will run
by jayd16 8y ago
What do you think can be improved in Android? Unlike iOS, Android is actually running in diverse hardware. All iOS devices are Arm, where as Android will run on x86. That alone makes it more of a hassle.
- MBCook 8y agoIs it? I was under the impression x86 had basically failed and everything was ARM. Or is MIPS or something else reasonably popular?
- kllrnohj 8y agoMIPS support has been officially dropped but x86 is still very alive - mostly due to the emulator these days, though, but some Android TV hardware was using it for a while, too.
- flohofwoe 8y agoThe command line C/C++ toolchain is fine, at least now where this is basically reduced to clang and libc++. The problem is basically everything else: - The ever changing build systems. And every new "improvement" is actually worse than before (I think currently it is some weird mix of cmake and Gradle, unless they changed that yet again). - Creating a complete APK from the native DLL outside Gradle and Android Studio is arcane magic. But both Android Studio and Gradle are extremely frustrating tools to use. - The Java / C interop requires way to much boilerplate. - Debugging native code is still hit and miss (it's improved with using Android Studio as a standalone debugger, but still too much work to setup). - The Android SDK only works with an outdated JDK/JRE version, if the system has the latest Java version, it spews very obscure error messages during the install process, and nothing works afterward (if it needs a specific JDK version, why doesn't it embed the right version). The Android NDK team should have a look at the emscripten SDK, which solves a much more exotic problem than combining C and Java. Emscripten has a compiler wrapper (emcc) which is called like the command line C compiler, but creates a complete HTML+WASM+JS "program". A lot of problems with the NDK and build system could be solved if it would provide a compiler wrapper like emcc which produces a complete APK (and not just a .so file) instead of relying on some obscure magic to do that (and all the command line tools which can do this outside gradle are "technically" deprecated). ...hrmpf, and now that I recalled all the problems with Android development I'm grumpy again, thanks ;)