我在Wikitude 7.0.0中仅为Sumsung平板电脑获得I/chromium: [INFO:CONSOLE(1)] "Uncaught ReferenceError: World is not defined"
。
查找日志
04-30 15:20:07.886 604-2171 /? E / DatabaseUtils:向parcel写入异常 java.lang.SecurityException:Permission Denial:用户的get / set设置要求以用户-2运行,但是从用户0调用;这需要android.permission.INTERACT_ACROSS_USERS_FULL 在com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:15037) 在android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2492) 在com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:688) 在android.content.ContentProvider $ Transport.call(ContentProvider.java:325) 在android.content.ContentProviderNative.onTransact(ContentProviderNative.java:275) 在android.os.Binder.execTransact(Binder.java:404) at dalvik.system.NativeStart.run(Native Method) 04-30 15:20:07.886 18411-18411 / com.itc.classmate I / chromium:[INFO:CONSOLE(1)]" Uncaught ReferenceError:World未定义",source:file:// / android_asset / selfi / selfi_1 /(1) 04-30 15:20:07.886 604-2171 /? W / ActivityManager:权限拒绝:用户的get / set设置要求以用户-2运行,但是从用户0调用;这需要android.permission.INTERACT_ACROSS_USERS_FULL 04-30 15:20:07.946 148-18583 /? D / ShotSingle:CAMERA_MSG_PREVIEW_FRAME E. 04-30 15:20:07.946 604-2170 /? I / EDMNativeHelperService:isCameraEnabled 04-30 15:20:07.946 148-18583 /? D / ShotSingle:CAMERA_MSG_PREVIEW_FRAME X
答案 0 :(得分:1)
正如您所说,Collecting libvirt-python==1.2.2 (from -r /requirements/requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/b9/51/ed3a8c5573f57229399c25ff0c0066e8d93c2e31d7315afc9675cf35f6b5/libvirt-python-1.2.2.tar.gz (146kB)
Complete output from command python setup.py egg_info:
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-vdozlB/libvirt-python/setup.py", line 36, in <module>
"libvirt"])
File "/usr/local/lib/python2.7/distutils/spawn.py", line 38, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/usr/local/lib/python2.7/distutils/spawn.py", line 192, in _spawn_posix
(cmd, exit_status)
distutils.errors.DistutilsExecError: command '/usr/bin/pkg-config' failed with exit status 1
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-vdozlB/libvirt-python/
ERROR: Service 'django' failed to build: The command '/bin/sh -c pip install -r /requirements/dev-requirements.txt' returned a non-zero code: 1
最有可能是你在JS中定义World ref的问题。只需检查该代码并找到语法错误/注释不必要的代码。最终它会起作用。