gpt4 book ai didi

android - 设置 OpenFrameworks Eclipse ADT 时出错?

转载 作者:行者123 更新时间:2023-11-30 02:10:18 25 4
gpt4 key购买 nike

当我尝试使用 ADT 插件在 Eclipse 中使用 Android 设置 OF 时出现错误。我遵循了开放框架网站上的指南。下面是我尝试编译 Empty 示例时控制台输出的最后一部分:

compressing and copying resources from bin/data into res
cd /Users/sidatre/Google Drive/Scripts and Programs/OpenFrameworks/android/examples/android/androidEmptyExample/; \
if [ -d "bin/data" ]; then \
mkdir -p res/raw; \
rm res/raw/google scripts and androidemptyexampleresources.zip; \
if [ "darwin-x86_64" = "windows" ]; then \
echo "Windows Platform. Running Zip..."; \
cmd //c ..\\..\\..\\libs\\openFrameworksCompiled\\project\\android\\windows\\zip -r ./res/raw/google scripts and androidemptyexampleresources.zip ./bin/data/ && exit; \
else \
/bin/sh: line 0: cd: /Users/sidatre/Google: No such file or directory
cd bin/data; \
zip -r ../../res/raw/google scripts and androidemptyexampleresources.zip *; \
cd ../..; \
fi; \
fi
copying debugging binaries for armv5 armv7 neon x86
create gdb.setup for armeabi
create gdb.setup for armeabi-v7a
create gdb.setup for x86
creating Android.mk and Application.mk
#@echo updating ofAndroidLib project
#@cd ../../../addons/ofxAndroid/ofAndroidLib; \
#if [ "darwin-x86_64" = "windows" ]; then \
# cmd //c /Users/sidatre/Library/Android/sdk/tools/android.bat update project --target android-17 --path .; \
#else \
# /Users/sidatre/Library/Android/sdk/tools/android update project --target android-17 --path .; \
#fi
#@echo updating current project
#@cd /Users/sidatre/Google Drive/Scripts and Programs/OpenFrameworks/android/examples/android/androidEmptyExample/; \
#if [ "darwin-x86_64" = "windows" ]; then \
# cmd //c /Users/sidatre/Library/Android/sdk/tools/android.bat update project --target android-17 --path .; \
#else \
# /Users/sidatre/Library/Android/sdk/tools/android update project --target android-17 --path .; \
#fi
make[1]: *** No rule to make target `Scripts'. Stop.
make: *** [Release] Error 2

Scripts make 目标在哪里定义?我从未创建过这样的目标。

最佳答案

我意识到问题出在我的文件夹结构上,因为父文件夹名为 Scripts and Programs,单词之间的空格干扰了 make 过程。将文件夹重命名为 ScriptsAndPrograms 解决了我的问题。

关于android - 设置 OpenFrameworks Eclipse ADT 时出错?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30202262/

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