我使用IED 1.1.0 (把1.2卸载 下了个以前的版本)发现可以新建JavaScript项目了。。。。
这个IDE用的是什么simulator?路径怎么设?
请问,本人使用generator工具将两个CPP文件绑定成lua,
然后生成安卓runtime的时候显示找不到定义的那两个文件
于是我把生成的lua_cocos_XXX.cpp 和lua_cocos_XXX.hpp
以及自定义的两个类文件放入到framework/runtime-src/classes这个路径下和appdelegate保持一致
这样生成安卓的runtime成功,但是打包apk的时候,显示以下错误:
-do-debug:
Running zip align on final apk…
Unable to open ‘D:\Coco-workplace\Legend\frameworks\runtime-src\proj.android\bin\Legend-debug-unaligned.apk’ as zip archive
BUILD FAILED
D:\envirmont\adt-bundle-windows-x86_64-20130729\sdk\tools\ant\build.xml:1037: The following error occurred while executing this line:
D:\envirmont\adt-bundle-windows-x86_64-20130729\sdk\tools\ant\build.xml:1039: The following error occurred while executing this line:
D:\envirmont\adt-bundle-windows-x86_64-20130729\sdk\tools\ant\build.xml:336: null returned: 1
请问下这个有可能是什么原因导致的,因为对编译流程不舍了解,本人无法从源头开始差错,网上也没有有关的信息
PS:另外提一句,windows平台的运行时正确的,同时打包apk生成的Legend-debug-unaligned.apk 这个文件我安装的时候会出现错误
为什么这样调用只执行了一次呢??我用的是cocos2d-x-3.6
this.schedule(this.update(),2,2,2);
新建的工程,在cocoside中运行的的时候,加载main.lua路径不对,xxx/src/src/main.lua多了一层src路径?
我这是神马错呀,是不是NDK版本不对,我试过了r9b和r9d两个都不得行,求助!!!!!!
16:54:09 Updated project.properties
16:54:09 Updated local.properties
16:54:09 Updated file C:\Users\Administrator\IdeaProjects\liwei\frameworks\runtime-src\proj.android\proguard-project.txt
16:54:10 make.exe: Entering directory C:/Users/Administrator/IdeaProjects/liwei/frameworks/runtime-src/proj.android' 16:54:12 StaticLibrary : libcpufeatures.a 16:54:12 Gdbserver : libs/armeabi/gdbserver 16:54:12 Gdbsetup : libs/armeabi/gdb.setup 16:54:13 SharedLibrary : libcocos2djs.so 16:54:19 D:\cocos\frameworks/cocos2d-x-3.6/cocos/scripting/js-bindings/proj.android/prebuilt-mk/../../../../../prebuilt/android/armeabi/libjscocos2dandroid.a(CCJavascriptJavaBridge.o):function JavascriptJavaBridge::callStaticMethod(JSContext*, unsigned int, JS::Value*): error: undefined reference to 'std::__throw_out_of_range_fmt(char const*, ...)' 16:54:19 D:\cocos\frameworks/cocos2d-x-3.6/cocos/editor-support/cocostudio/prebuilt-mk/../../../../prebuilt/android/armeabi/libcocostudio.a(CCActionNode.o):function std::vector*, std::allocator*> >::at(unsigned int): error: undefined reference to 'std::__throw_out_of_range_fmt(char const*, ...)' (show balloon) 16:54:19 D:\cocos\frameworks/cocos2d-x-3.6/cocos/editor-support/cocostudio/prebuilt-mk/../../../../prebuilt/android/armeabi/libcocostudio.a(CCArmature.o):function cocostudio::Armature::drawContour(): error: undefined reference to 'std::__throw_out_of_range_fmt(char const*, ...)' 16:54:19 D:\cocos\frameworks/cocos2d-x-3.6/cocos/editor-support/cocostudio/prebuilt-mk/../../../../prebuilt/android/armeabi/libcocostudio.a(CCArmature.o):function cocostudio::Armature::init(std::string const&): error: undefined reference to 'std::__throw_out_of_range_fmt(char const*, ...)' 16:54:19 collect2.exe: error: ld returned 1 exit status 16:54:19 make.exe: *** Error 1 16:54:19 make.exe: Leaving directory C:/Users/Administrator/IdeaProjects/liwei/frameworks/runtime-src/proj.android’
16:54:19 Running command: compile
16:54:19 Building mode: debug
16:54:19 running: ‘“D:\android\adt-bundle-windows-x86_64-20131030\sdk\tools\android” update project -t android-19 -p C:\Users\Administrator\IdeaProjects\liwei\frameworks\runtime-src\proj.android’
16:54:19 building native
16:54:19 NDK build mode: debug
16:54:19 NDK_TOOLCHAIN_VERSION: 4.8
16:54:19 running: ‘“E:\NDK\android-ndk-r9b\ndk-build” -C C:\Users\Administrator\IdeaProjects\liwei\frameworks\runtime-src\proj.android -j3 NDK_MODULE_PATH=D:\cocos\frameworks/cocos2d-x-3.6;D:\cocos\frameworks/cocos2d-x-3.6/cocos;D:\cocos\frameworks/cocos2d-x-3.6/external NDK_TOOLCHAIN_VERSION=4.8 NDK_DEBUG=1’
16:54:19 Ndk build failed!
16:54:19 —android build end—
好像这里的问题都没人解答了呀。本打算新项目用cocos code ide的,用的是cocos2dx 3.6,一圈看下来ide好像不支持3.6呀,晕。。。
模拟器无法打开了,每次运行就报这个错误,以前是可以正常运行的
!)M41F``1_BK.png)
新人刚开始用cocos
cocos studio提示发布成功
但是IDE报以下错误
Cannot find file ‘D:\Cocos Code IDE\bin\Cocos Code IDE’
Cannot find file ‘D:\Cocos Code IDE\bin-project’
Cannot open project ‘D:\cocos_demo\Cocos\CocosProjects\Demo1’

14:33:16 ERROR
JS: H:/cocoslaba//script/studio/jsb_studio_boot.js:72:TypeError: ccs.BoneNode is undefined
H:/cocoslaba/script/studio/jsb_studio_boot.js
14:33:16 ERROR
JS: H:/cocoslaba//script/studio/jsb_studio_boot.js:72:TypeError: ccs.BoneNode is undefined
H:/cocoslaba/script/studio/jsb_studio_boot.js
这个提示是啥意思 没绑定好吗 最新版本的ide 和 cocos
我也是,cocos2.3.2, 3.8de
请问1.2版本IDE不能打开 lua 文件是怎么回事啊???
一直都没人答复。。。
报错信息:
An internal error occurred during: “Initialize DLTK”.
Could not initialize class org.ccdt.ldt.core.internal.ast.parser.LuaSourceParser
估计这次也不会有人答复
请问楼主,我新建一个项目

发布为Code IDE工程。1.2版本的
但是一到IDE就报这个错误

lua文件打不开,请问这个问题怎么解决???
我问了好久了,一直没有人解答。Google,百度,CocosChina,CSDN等等我都查了,有一些说法,但都不好使。
请帮我解决一下,谢谢!
在线等,
死等。。。
补充一下,cocos是3.8.0.
cocos code ide 1.2;
xcode 7.0.1;
iOS自定义模拟器无法启动,模拟器设备里面显示空白;
这个问题是为什么