gpt4 book ai didi

android - Rhodes:无法检测到 NDK 工具链路径(损坏的 NDK 安装?)

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:56:27 26 4
gpt4 key购买 nike

我已经安装了rhodes和android SDK和NDK

操作系统:Linux Mint 16 X64,Ruby:ruby 2.1.1p76(2014-02-24 修订版 45161)[x86_64-linux],SDK:Android.SDK.Release.v23.0.2.Linux,NDK:android-ndk32 -r10-linux-x86_64 或 android-ndk-r7b

和build.yml内容:

#sdk: "/home/abolfazl/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rhodes-3.5.1.12"
sdkversion: 3.5.0
name: testapp
version: 1.0
vendor: rhomobile
build: debug
bbver: 4.6
applog: rholog.txt
iphone:
configuration: Release
sdk: iphonesimulator5.0
provisionprofile:
codesignidentity:
entitlements:
BundleIdentifier: com.rhomobile.testapp
BundleURLScheme: testapp
wp:
productid: '0ed4fa10-0f72-0132-4dc5-3870f4a0dbeb'
symbian:
uid: '0xee1f6bcc'
android:
version: 4.2.2

extensions: ["json", "another-extension"]

SDK 管理器:

sdk_manager

当我运行 rake run:android:

cd /home/abolfazl/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rhodes-3.5.1.12 $app_config['extensions'] : ["json", "another-extension"] $app_config['capabilities'] : [] $vendor = rhomobile $app_package_name = com.rhomobile.testapp rake aborted! Can't detect NDK toolchain path (corrupted NDK installation?)

Tasks: TOP => run:android => run:android:emulator => config:android:emulator => config:android (See full trace by running task with --trace)

最佳答案

rhodes gem v3.5 曾在 github 上更新过一段时间以适应更新的 NDK 中的变化(v3.5 是在 NDK 的第 7 版左右发布的)。

较新的 rhodes(最新是 v5)直接支持新的 NDK。

还有一点就是rhodes还需要Ruby v1.9.3,看来你是在Ruby v2.1下用的。

关于android - Rhodes:无法检测到 NDK 工具链路径(损坏的 NDK 安装?),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25551874/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com