gpt4 book ai didi

android-ndk - 构建 Android NDK 时出现以下错误

转载 作者:行者123 更新时间:2023-12-04 23:28:47 27 4
gpt4 key购买 nike

构建 Android-ndk 时出现以下错误 请帮助我。

Cygwin.bat

@echo off

set IS_UNIX=
set DEV_ROOT=C:/iliu-Android-NDK-Fibonacci-a546a1a
set JAVA_HOME=C:/Program Files/Java/jre6/bin
set CLASSPATH=C:/iliu-Android-NDK-Fibonacci-a546a1a/obj
set PATH=D:/new_eclipse/android-sdk-windows/android-sdk-windows/tools;D:/new_eclipse/android-sdk-windows/android-sdk-windows/android-ndk-r7
set ANDROID_NDK_ROOT=/cygdrive/d/new_eclipse/android-sdk-windows/android-sdk-windows/android-ndk-r7
set NDK_PROJECT_PATH=/cygdrive/C/iliu-Android-NDK-Fibonacci-a546a1a


C:
chdir C:/cygwin/bin

bash --login -i



**Error:**


$ ./ndk-build
Android NDK: Could not find application project directory !
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
/cygdrive/d/new_eclipse/android-sdk-windows/android-sdk-windows/android-ndk-r7/build/core/build-local.mk:102: *** Android NDK: Aborting . Stop.

构建 Android-ndk 时出现以下错误
请帮我。

最佳答案

你必须从你的项目目录中调用 ndk-build,所以在伪代码中,

cd $MyProject
$NDK/ndk-build

关于android-ndk - 构建 Android NDK 时出现以下错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8226672/

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