我现在正在尝试使用 Apportable 移植我的 Cocos2d 1.x 项目之一,在编译阶段出现以下错误:
apk = env.BuildAPK(os.path.join(env['VARIANT_DIR'], env['APPLICATION_NAME'], config['APPLICATION_NAME'] + '.apk'), lib, assets + env['LIBRARY_ASSETS'])
File "/Users/*user*/.apportable/SDK/lib/scons/engine/SCons/Environment.py", line 223, in __call__
return self.method(*nargs, **kwargs)
File "/Users/*user*/.apportable/SDK/site_scons/android/sdk.py", line 1123, in APKBuilder
packaged = ResourcesFinalize(env, target=res_apk_path, source=source, assets=assets)
File "/Users/*user*/.apportable/SDK/site_scons/android/sdk.py", line 922, in ResourcesFinalize
all_assets = RemapAssetList(env, assets)
File "/Users/*user*/.apportable/SDK/site_scons/android/sdk.py", line 847, in RemapAssetList
(remap, target) = Remap(env, asset, target)
File "/Users/*user*/.apportable/SDK/site_scons/android/sdk.py", line 723, in Remap
(base, ext) = os.path.splitext(str(source))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0421' in position 58: ordinal not in range(128)
是SDK问题还是我的源代码有解决方案?