解决方案位于底部。
好吧,到目前为止我所拥有的不是解决方案,只是信息
问题似乎来自 Arc Extension 的运行时部分:
参见->https://chrome.google.com/webstore/detail/app-runtime-for-chrome-be/mfaihdlpglflfgpfjcifdjdjcckigekc https://chrome.google.com/webstore/detail/app-runtime-for-chrome-be/mfaihdlpglflfgpfjcifdjdjcckigekc
问题出在文件中插件.js
// Let the CameraManager in Android know what the current orientation is
var message = {
namespace: 'pluginCameraManager',
command: 'screenRotation',
data: {
'angle': screen.orientation.angle
}
};
this.postMessage(message);
无法读取属性'angle'未定义的...
'angle': screen.orientation.angle
//for context
var a=Promise.all([this.createAppPlugin_(),window.arcparams.systemDirectoriesReady]);
//problem is initializeWindow_() fails
a.then(function(){this.initializeWindow_();
** 解决方案**
这可能会导致更多的错误,我不知道,这样做的风险自负。
打开文件:
%LOCALAPPDATA%\Google\Chrome\User Data\Default\Extensions\mfaihdlpglflfgpfjcifdjdjcckigekc\46.5021.478.18_0\gen_index.min.js
ie
扩展名://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:125:302)
因此,在第 125 行第 302 个字符处,您应该找到单词“angle”,如下所示:
data:{angle:screen.orientation.angle}
将其更改为:
data:{angle:0}
使用 0,你可以阅读为什么 ->Android 中方向固定时查找屏幕角度 https://stackoverflow.com/questions/24638681/find-screen-angle-when-orientation-is-fixed-in-android#comment38188776_24638681