首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Apportable将ios应用程序移植到安卓应用程序: AttributeError:'NoneType‘对象没有属性'startswith’

使用Apportable将ios应用程序移植到安卓应用程序: AttributeError:'NoneType‘对象没有属性'startswith’
EN

Stack Overflow用户
提问于 2014-03-05 01:54:32
回答 1查看 801关注 0票数 1

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

when try "apportable load" Who can help me? Here is detail log in terminal:

raceback (most recent call last): File "/Users/ducnm/.apportable/SDK/bin/apportable", line 845, in <module> run(env) File "/Users/ducnm/.apportable/SDK/bin/apportable", line 781, in run results = actions[args.action](env) File "/Users/ducnm/.apportable/SDK/bin/apportable", line 86, in LoadAction return env.LoadApp(site_init.BuildApplication(env, env['BUILD_TARGET'])) File "/Users/ducnm/.apportable/SDK/site_scons/site_init.py", line 390, in BuildApplication return build.App(env, app_sconscript) File "/Users/ducnm/.apportable/SDK/site_scons/build/__init__.py", line 556, in App results = env.BuildApp(sources=sources, header_paths=headers, defines=defines, flags=flags, config=configs, deps=deps, libs=libs, java_libs=java_libs, assets=assets, pch=pchs, modules=modules, java_sources=java_sources, java_sourcepaths=java_sourcepaths, java_res_dirs=java_res_dirs) File "/Users/ducnm/.apportable/SDK/lib/scons/engine/SCons/Environment.py", line 223, in __call__ return self.method(*nargs, **kwargs) File "/Users/ducnm/.apportable/SDK/site_scons/site_init.py", line 1204, in BuildApp build.Module(env, module["build_cwd"], module) File "/Users/ducnm/.apportable/SDK/site_scons/build/__init__.py", line 577, in Module target_file_name_base = os.path.abspath(os.path.join(target["project"] + ".approj", "targets", target["target"], target["project_config"])) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 66, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith'

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-03-05 17:38:32

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

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22186967

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档