android NDK install and config in ubuntu
16lz
2021-12-04
下载适合你的NDK 从下面的网址
(https://developer.android.com/ndk/downloads/index.html#download “android 官网下载地址”)
下载之后把文件拖到想要安装的目录 directory ,添加执行权,并且运行
cd directorychmod a+x android-ndk-r10c-darwin-x86_64.bin ./android-ndk-r10c-darwin-x86_64.bin
配置 环境变量
sudo gedit /etc/profile# add the next commands to the last lineexport ANDROID_NDK=you ndk pathexport PATH=$ANDROID_NDK:$PATH
confirm you config
sudo source /etc/profilecd you ndk path/samples/hello-jnindk-build
If you have successfully installed and configured the NDK, the screen on your target device looks as shown in Figure 1.
配置成功!
更多相关文章
- Ubuntu搭建Eclipse+JDK+SDK的Android
- Android文档资源大放送 感兴趣的话可以网盘下载(个人收集)
- windows下载android源代码
- Android(安卓)搭建环境配置
- windows下载android源代码
- Android(安卓)SDK中国在线更新镜像服务器 解决GOOGLE更新无法下
- android ndk环境配置
- pandaboard ES学习之旅——5 Android(安卓)Linux内核源代码下载
- Android开发前奏