Mac下配置ndkadb

    xiaoxiao2021-03-25  135

    1、配置ndk

    <1>下载ndk

          http://tools.android-studio.org/

    <2>配置

        # chmod 777 /etc/profile

       #  gedit /etc/profile 

       //添加配置

     NDK=/Users/xxx/eclipse/android-ndk-r10e

     export PATH=$NDK:$PATH

     # source /etc/profile

    <3>验证

     # ndk-build -v

    2、配置adb

     <1>在/etc/profile加入:

       export PATH=/Users/xxx/android-sdks/platform-tools:/Users/xxx/android-sdks/tools:$PATH

     <2>设置生效

      # source /etc/profile

    转载请注明原文地址: https://ju.6miu.com/read-10076.html

    最新回复(0)