android - 设置 OpenFrameworks Eclipse ADT 时出错?

标签 android eclipse adt openframeworks

当我尝试使用 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/

相关文章:

java - 以编程方式在 LinearLayout 中设置边距

c# - 没有 Mac 的 Xamarin Visual Studio IOS 开发?

java - Eclipse类型删除

android - 无法创建新的 AVD(无响应)

java - 如何 adb 将 apk 安装到多个连接的设备?

android - C2DM 收到相同的消息

android - 在对话框中选择微调器时 Android Espresso 中的 RunTimeException

javascript - Tern:与tern server同步脚本资源

android - Eclipse/Android : "Errors running builder ' Android Pre Compiler' on project. ..”

java - Eclipse 中没有 Android 项目选项