Chrome app store porting from Android app using arc welder

后端 未结 1 769
眼角桃花
眼角桃花 2021-01-17 03:54

This question is relevant to app developers only!

I am trying to convert and publish my android apps to chrome web store. I used the arc welder chrome app suggested

相关标签:
1条回答
  • 2021-01-17 04:08

    Okay, so here's how ARC works.

    The ARC Welder app allows you to test / create ARC Apps on any platform.

    However, the final apps it generates rely on the App Runtime for Chrome extension. It is loaded with the Shared Module mechanism, and that's the mysterious id "mfaihdlpglflfgpfjcifdjdjcckigekc" from the manifest.

    This module is required: you can't just throw it away from the manifest as the engine embedded in your App expects files loaded from it.

    However, the App Runtime has the required components only for Chrome OS architectures. ARC Welder-created Apps are only supported on Chrome OS. On any other platform, the shared module is installed but does not provide the required files, resulting in your error #1. There is no solution to make your app deployable to anything except Chrome OS via the Web Store.

    Your error #2 stems from the fact that Chrome tries to load your app as a shared module and it's not valid for that (not having the "export" key). You can't and shouldn't fix that - it's nonsensical to try and import itself as a shared module.

    As for why your unmodified App fails to load in a virtual Chrome OS - it's hard to say, but probably it runs on an architecture not supported by ARC Runtime. Needs more details on how you set up the VM.

    0 讨论(0)
提交回复
热议问题