qq_21899851
顔汐
2016-02-08 17:07

cocos2d-x移植安卓的一个问题实在是找不到解决途径了

  • cocos2d-x
  • android
  • 移植
  • command
  • cocostudio

Updated project.properties
Updated local.properties
Updated file D:\CocosDevelop\PopStars\proj.android..\cocos2d\cocos\platform\android\java\proguard-project.txt
Traceback (most recent call last):
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin\/cocos.py", line 504, in
run_plugin(command, argv, plugins)
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin\/cocos.py", line 469, in run_plugin
dependencies_objects[dep_name] = run_plugin(dep_name, argv, plugins)
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin\/cocos.py", line 469, in run_plugin
dependencies_objects[dep_name] = run_plugin(dep_name, argv, plugins)
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin\/cocos.py", line 471, in run_plugin
plugin.run(argv, dependencies_objects)
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin..\plugins\project_compile\project_compile.py", line 1075, in run
self.build_android()
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin..\plugins\project_compile\project_compile.py", line 332, in build_android
self.apk_path = builder.do_build_apk(sdk_root, ant_root, self._ap, build_mode, output_dir, self._custom_step_args, self)
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin..\plugins\project_compile\build_android.py", line 307, in do_build_apk
self._copy_resources(custom_step_args)
File "D:\cocos2d-x-3.2\tools\cocos2d-console\bin..\plugins\project_compile\build_android.py", line 445, in _copy_resources
shutil.rmtree(assets_dir)
File "C:\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\Python27\lib\shutil.py", line 250, in rmtree
os.remove(fullname)
WindowsError: [Error 5] : 'D:\CocosDevelop\PopStars\proj.android\assets\stars\.svn\all-wcprops'

是在做消灭星星时候遇到,PC正常运行,当我PC上实现音乐播放之后就出错了,另外在游戏中也用到了自己使用cocostudio制作的UI,

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐

换一换