Skip to content

Cannot load extensions on android build variants #1891

Closed
@jonalmeida

Description

@jonalmeida

This is a follow-up from this PR where we learnt that build variants aren't supposed: #1871 (comment)

Is this a feature request or a bug?

Bug

What is the current behavior?

  1. Install a local debug build of Reference Browser; affects Fenix too.
  2. Run the following command:
web-ext run -t firefox-android --android-device=<device ID here> --firefox-apk=org.mozilla.reference.browser.debug --firefox-apk-component=BrowserActivity
  1. Observe.

What is the expected or desired behavior?

You should be able to install your web extension.

What is the actual behaviour?

You see the following output in your terminal:

Error: Activity class {org.mozilla.reference.browser.debug/org.mozilla.reference.browser.debug.BrowserActivity} does not exist.
    at /Users/jalmeida/src/web-ext/node_modules/adbkit/lib/adb/command/host-transport/startactivity.js:57:21
    at tryCatcher (/Users/jalmeida/src/web-ext/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (/Users/jalmeida/src/web-ext/node_modules/bluebird/js/main/promise.js:503:31)
    at Promise._settlePromiseAt (/Users/jalmeida/src/web-ext/node_modules/bluebird/js/main/promise.js:577:18)
    at Async._drainQueue (/Users/jalmeida/src/web-ext/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (/Users/jalmeida/src/web-ext/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/jalmeida/src/web-ext/node_modules/bluebird/js/main/async.js:15:14)

Version information (for bug reports)

  • Firefox version: Desktop: 77.0a1 (2020-04-21) (64-bit), Android: GV 77.0.20200422093542
  • Your OS and version: Mac OS 10.15.4 (19E287) / Android 10
  • Paste the output of these commands:
node --version && npm --version && web-ext --version

v13.11.0
6.13.7
4.1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions