使用Cocos Creator V3.6.2构建,在Android Studio中build报错。
/Users/hz/WorkSpace/Cocos/Demo/native/engine/android/CMakeLists.txt : C/C++ debug|x86_64 : CMake Error at /Applications/CocosCreator/Creator/3.6.2/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cmake/predefine.cmake:202 (message):
Cocos souce file not exists:
/Applications/CocosCreator/Creator/3.6.2/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/network/Downloader.cpp
in
/Applications/CocosCreator/Creator/3.6.2/CocosCreator.app/Contents/Resources/resources/3d/engine/native
Call Stack (most recent call first):
/Applications/CocosCreator/Creator/3.6.2/CocosCreator.app/Contents/Resources/resources/3d/engine/native/CMakeLists.txt:831 (cocos_source_files)
/Users/hz/WorkSpace/Cocos/Demo/native/engine/common/CMakeLists.txt:46 (include)
CMakeLists.txt:11 (include)
确实是没有 /Applications/CocosCreator/Creator/3.6.2/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/network/Downloader.cpp