Difference between SDK and NDK in android

一曲冷凌霜 提交于 2019-12-31 07:34:24

问题


Since 2 Years I am working as Android Application Developer. I generally use android SDK for all the Android Apps Development. Now I have a project which is an Android App in which I have to use SDK as well as NDK for App development (As per Client requirement). But as I don't have any experience with NDK I don't know what is it. In some Blogs I have read that NDK development is based on c++.

Is it true that to work with NDK one must have the complete knowledge of c++ ?

Please Help !!


回答1:


Use of NDK means you have to write portion of code in C/C++ just to achieve the speed. If it is client requirement then you have no option. But keep in mind that you should use NDK only when you feel you need better performance. And of course you must have some understanding of c/c++ to use NDK.



来源:https://stackoverflow.com/questions/38634510/difference-between-sdk-and-ndk-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!