使用Apportable将ios应用程序移植到Android应用程序:属性错误:'NoneType'对象没有属性'startswith'



我陷入了这个错误AttributeError: 'NoneType' object has no attribute 'startswith'

当尝试"可承受负载"时谁能帮我?以下是登录终端的详细信息:

raceback(最后一次通话):文件"/Users/ducnm/.apportable/SDK/bin/apportable",第845行,<模块>运行(env)文件"/Users/ducnm/.apportable/SDK/bin/apportable",第781行,正在运行results=操作[args.action](env)LoadAction中的文件"/Users/ducnm/.apportable/SDK/bin/apportable",第86行返回env。LoadApp(site_init.BuildApplication(env,env['BUILD_ARGET']))BuildApplication中的文件"/Users/ducnm/.apprtable/SDK/site_scons/site_init.py",第390行返回内部版本。应用程序(env,App_s义务)应用程序中的文件"/Users/ducnm/.apprtable/SDK/site_scons/build/_init__.py",第556行结果=环境。BuildApp(sources=sources,header_paths=headers,define=defines,flags=flags,config=configs,deps=deps,libs=libs,java_libs=java_libs,assets=assets,pch=pchs,modules=module,java_sources=java_sources,java_ssourcepaths=java_Sourcepath,java_res_dirs=java_res_dir)文件"/Users/ducnm/.apprtable/SDK/lib/scons/engine/scons/Environment.py",第223行,在__call中__return self.method(*nargs,**kwargs)BuildApp中的文件"/Users/ducnm/.apprtable/SDK/site_scons/site_init.py",第1204行建筑模块(env,Module["build_cwd"],Module)模块中的文件"/Users/ducnm/.apprtable/SDK/site_scons/build/_init__.py",第577行target_file_name_base=os.path.abspath(os.path.join(target["project"]+".approj","targets",target["target"],target["project_config"]))join中的文件"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py",第66行如果b.startswith('/'):AttributeError:"NoneType"对象没有属性"startswith">

AttributeError: 'NoneType' object通常向链接器指示缺少符号。在日志中向上查找丢失的符号。

背景:apportable load进行并行构建,导致致命错误后出现更多日志记录。可以使用选项-j1禁用并行构建。

最新更新