现在,Arc Welder没有在Windows上启动测试应用程序

时间:2015-10-20 15:21:33

标签: android google-chrome-arc

昨天(2015年10月19日下午06:00),ARC Welder应用程序开始无法启动应用程序。

出于某种原因,现在,当我点击“TEST”时,Windows 10上没有任何反应,我也在MAC / Windows 7上测试过,并且工作正常。

铬 Versão46.0.2490.71(64位)

ARC Welder 46.5021.478.14

更新 这是控制台上显示的错误。

  

Uncaught(承诺)TypeError:无法读取属性'angle'   未定义       at $ jscomp.scope.Plugin.computeLayout_(chrome-extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:125:302)       at $ jscomp.scope.Plugin.doLayout_(chrome-extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:122:383)       at $ jscomp.scope.Plugin.initializeWindow_(chrome-extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:98:175)       在null。 (铬 - 延伸://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:95:238)

1 个答案:

答案 0 :(得分:3)

底部的解决方案解决方案。

好的,所以到目前为止我所拥有的不仅仅是解决方案

问题似乎来自Arc Extension的运行时部分:

见式> https://chrome.google.com/webstore/detail/app-runtime-for-chrome-be/mfaihdlpglflfgpfjcifdjdjcckigekc

问题出在文件 plugin.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': 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

  

扩展://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:125:302)

因此,在第302行的第302个字符处,你应该找到“' angle'如:

data:{angle:screen.orientation.angle}

将其更改为:

data:{angle:0}

使用

0,你可以阅读为什么 - > Find screen angle when orientation is fixed in android