Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Creator android 编译报错

$
0
0

@fengjie505 写道:

creator 用的是1.3版本
构建成功了
Built to "C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build" successfully

编译的时候报这个错误:
编译模式:release
使用 Android Studio 工程:C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\runtime-src\proj.android-studio
正在执行:'"D:\NVPACK\android-sdk-windows\tools\android" update project -t android-10 -p C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\runtime-src\proj.android-studio\app'

Updated project.properties
Updated local.properties
Updated file C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\proguard-project.txt
正在执行 ndk-build...
NDK 编译模式:release
NDK_TOOLCHAIN_VERSION: 4.9
正在执行:'"D:\NVPACK\android-ndk-r10e-Windows\android-ndk-r10e\ndk-build" -C C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\runtime-src\proj.android-studio\app -j4 NDK_MODULE_PATH=C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\cocos2d-x;C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\cocos2d-x\cocos;C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\cocos2d-x\external NDK_TOOLCHAIN_VERSION=4.9'

Android NDK: WARNING: Ignoring unknown import directory: C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\cocos2d-x\external
Android NDK: C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\cocos2d-x\cocos/scripting/js-bindings/proj.android/Android.mk: Cannot find module with tag 'cocos' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
make.exe: Entering directory C:/Users/ZHKJ/Desktop/tutorial-hot-update-master/build/jsb-default/frameworks/runtime-src/proj.android-studio/app'
make.exe: Leaving directory
C:/Users/ZHKJ/Desktop/tutorial-hot-update-master/build/jsb-default/frameworks/runtime-src/proj.android-studio/app'
C:\Users\ZHKJ\Desktop\tutorial-hot-update-master\build\jsb-default\frameworks\cocos2d-x\cocos/scripting/js-bindings/proj.android/Android.mk:86: *** Android NDK: Aborting. . Stop.
执行命令出错,返回值:2。

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles