【问题标题】:setting up android on ubuntu在 ubuntu 上设置安卓
【发布时间】:2014-01-10 10:30:16
【问题描述】:

我已按照this 中给出的所有步骤进行操作 和this

当我跑步时:

./distribute.sh -m "kivy"

我收到此错误:

Entering in ARM enviromnent
Unable to find compiler (arm-linux-androideabi-gcc) !!
1. Ensure that SDK/NDK paths are correct
2. Ensure that you've the Android API 14 SDK Platform (via android tool)

【问题讨论】:

    标签: android ubuntu kivy android-sdk-tools


    【解决方案1】:

    此错误与设置 android sdk 和 ndk 的路径有关。链接文档的相关部分是:

    export ANDROIDSDK=/path/to/android-sdk
    export ANDROIDNDK=/path/to/android-ndk
    export ANDROIDNDKVER=rX
    export ANDROIDAPI=X
    
    # example
    export ANDROIDSDK="/home/tito/code/android/android-sdk-linux_86"
    export ANDROIDNDK="/home/tito/code/android/android-ndk-r7"
    export ANDROIDNDKVER=r7
    export ANDROIDAPI=14
    

    你确定你做对了吗?检查您正在使用的终端中echo $ANDROIDSDKecho $ANDROIDNDK 的输出是什么。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-05-28
      • 2017-01-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-25
      • 1970-01-01
      • 2011-07-10
      相关资源
      最近更新 更多