android中SDK和NDK的区别 [英] Difference between SDK and NDK in android

查看:22
本文介绍了android中SDK和NDK的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我作为 Android 应用程序开发人员工作了 2 年.我通常将 android SDK 用于所有 Android 应用程序开发.现在我有一个项目,它是一个 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的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆