vladikoff / chromeos-apk

☢️ Run Android Apps in Chrome OS OR Chrome in OS X, Linux and Windows.
MIT License
7.74k stars 927 forks source link

Failed to load extension: 'import' extension is not installed. #191

Open bjlaur opened 9 years ago

bjlaur commented 9 years ago
  1. Installed archon from archlinux aur4.
  2. Ran chromeos-apk on gmail apk
  3. Tried to load gmail apk, received error message listed below.

I have ARChon Custom Runtime 2.1.0 - x86_64 41.4410.238.0 ID: neemcphgafkgnaaehlohnifbnbphlola

Failed to load extension from: ~/Downloads/com.google.android.gm.android 'import' extension is not installed.

{ "app": { "background": { "page": "app_main.html" } }, "arc_metadata": { "apkList": [ "custom-android-release-1400197.apk" ], "enableExternalDirectory": false, "formFactor": "phone", "name": "com.google.android.gm", "orientation": "portrait", "packageName": "com.google.android.gm", "useGoogleContactsSyncAdapter": false, "usePlayServices": [ "gcm" ] }, "default_locale": "en", "icons": { "16": "icon.png", "128": "icon.png" }, "import": [ { "id": "mfaihdlpglflfgpfjcifdjdjcckigekc" } ], "manifest_version": 2, "name": "MSG_extName", "oauth2": { "client_id": "133701689125-jj0hr4gb0ff4ulsbrn0uk2i4th946d4c.apps.googleusercontent.com", "scopes": [] }, "offline_enabled": true, "permissions": [ "gcm", { "socket": [ "tcp-connect", "tcp-listen", "udp-bind", "udp-send-to", "resolve-host" ] }, "unlimitedStorage", "notifications", "clipboardRead", { "fileSystem": [ "write" ] }, "https://clients2.google.com/", "videoCapture", "clipboardWrite", "identity.email", "alarms", "storage", "identity", "audioCapture" ], "requirements": { "3D": { "features": [ "webgl" ] } }, "update_url": "https://localhost", "version": "1337" }

zcwfeng commented 8 years ago

I also has the problem. How to solve it? I modified _local/en/message.json ,add "message" : "mypackage" but it also can not solve the problem

jcelerier commented 8 years ago

same here

jcelerier commented 8 years ago

by the looks of it, it seems that it is because of a mismatch of the archon runtime id in the files manifest.json and app_main.html. If these files are updated with the id of the archon runtime in your chromium, and chromeos-apk relaunched, it will stop complaining.

Marietto2008 commented 5 years ago

I did it as suggested with the 2.1 version,but it didn't work. it says : "file manifest not readable"

dreirund commented 4 years ago

Same here.

edmundlaugasson commented 1 year ago

Same here. Even have same ID value: manifest.json

  "import": [
    {
      "id": "mfaihdlpglflfgpfjcifdjdjcckigekc"
    }
  ],

app_main.html

<!DOCTYPE html>
<iframe src="_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/main.html"></iframe>

Found also similiar issue #151