参考文章:

android — NDK生成so文件:http://blog.csdn.net/laczff21/article/details/7542236

Mac OS X下NDK环境的搭建



  1. Download the appropriate package from this page.
  2. Open a terminal window.
  3. Go to the directory to which you downloaded the package.
  4. Runchmod a+xon the downloaded package.
  5. Execute the package. For example:
    ndk$ chmod a+x android-ndk-r10c-darwin-x86_64.binndk$ ./android-ndk-r10c-darwin-x86_64.bin

6.NDK路径添加到.bash_profile

export PATH=${PATH}:/Users/james/Documents/adt-bundle-mac/sdk/platform-tools/:/Users/james/Documents/android-ndk:/Users/james/Documents/android-ndk/ndk-build


7.参考:http://blog.csdn.net/laczff21/article/details/7542236

更多相关文章

  1. Android Bluetooth 文件接收路径修改方法
  2. Eclipse搭建Android开发环境
  3. android开发环境搭建之我见myeclipse8.5 jdk1.6
  4. android获取各种系统路径的方法
  5. eclipse上Android NDK开发环境搭建
  6. vue+cordova移动端Android开发环境配置
  7. android自学笔记《二》——开发环境的搭建
  8. 安卓环境搭建
  9. Mac OS下配置 ADB环境变量

随机推荐

  1. android开发 drawable中XML
  2. 自己写的一个在线汇率转换工具-MoneyDroi
  3. Android(安卓)display架构分析(八)
  4. 详解 Android(安卓)的 Activity 组件
  5. Android(安卓)中文 API (19) —— TwoLineL
  6. Android反射机制实例
  7. eclipse android插件
  8. android获得手机屏幕大小
  9. Android(安卓)Studio配置google protobuf
  10. Android使用SQLite数据库的示例