问题描述
自2年以来,我一直担任Android应用程序开发人员.我通常将android SDK用于所有Android Apps开发.现在,我有一个项目,这是一个Android应用程序,在其中我必须使用SDK以及NDK进行应用程序开发(根据客户要求).但是由于我对NDK没有任何经验,所以我不知道它是什么.在某些博客中,我读到NDK开发基于c ++.
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++.
是真的,要使用NDK一定要具备c ++的全部知识?
请帮助!!
推荐答案
使用NDK意味着您仅为了提高速度就必须用C/C ++编写部分代码.如果这是客户要求,那么您别无选择.但是请记住,仅当您认为需要更好的性能时才应使用NDK.当然,您必须对c/c ++有所了解才能使用NDK.
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.
这篇关于Android中SDK和NDK之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!