zoukankan      html  css  js  c++  java
  • Cocos2d-x 坑之二:目录改动后, cannot run on the selected destination

    1:2dx开发中,目录改动后,经常会碰到这个提示错误:  cannot run on the selected destination

    解决方法:一般是因为 Info.plist文件属性问题,把 Target Membership 中的 勾 去掉,即可。

    2:2dx的初始目录很乱,一般都会动手调整,把Info.plist从Resources目录中弄出来,放到其他目录,以方便管理,但再编译会提示错误,

    error: could not read data from '***(你自己的目录)**/Resources/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.

    这是因为在2dx中,Info.plist的目录写的是

     

    解决方法:把目录改一下,去掉  "/Resources",即可。

    ps: 又一次碰到这个问题了,不是这个问题。

    是因为 Info.plist 文件 搞了两个,删除一个,再把另一个检查一下。

    搞定!!

  • 相关阅读:
    FILTER(过滤器)
    HDFS优缺点
    python运算符
    python变量类型
    python变量存储
    python编码问题
    【一:定义】python 简介
    如何学一门新技术
    Django安装
    redis 安装及启动关闭
  • 原文地址:https://www.cnblogs.com/willbin/p/3198391.html
Copyright © 2011-2022 走看看