I’m developing an addon for Firefox that works fine in desktop. I’m trying now to test it in Android via web-ext but I get an error when I run the command:
web-ext run --target=firefox-android --android-device=55555555 --firefox-apk=org.mozilla.fenix
The error is:
WebExtError: Unable to retrieve current user on 55555555
at ADBUtils.getCurrentUser (file:///usr/lib/node_modules/web-ext/lib/util/adb.js:72:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ADBUtils.discoverInstalledFirefoxAPKs (file:///usr/lib/node_modules/web-ext/lib/util/adb.js:77:20)
at async FirefoxAndroidExtensionRunner.apkPackagesDiscoveryAndSelect (file:///usr/lib/node_modules/web-ext/lib/extension-runners/firefox-android.js:257:22)
at async FirefoxAndroidExtensionRunner.run (file:///usr/lib/node_modules/web-ext/lib/extension-runners/firefox-android.js:76:5)
at async Promise.all (index 0)
at async MultiExtensionRunner.run (file:///usr/lib/node_modules/web-ext/lib/extension-runners/index.js:67:5)
at async run (file:///usr/lib/node_modules/web-ext/lib/cmd/run.js:173:3)
at async Program.execute (file:///usr/lib/node_modules/web-ext/lib/program.js:270:7)
at async file:///usr/lib/node_modules/web-ext/bin/web-ext.js:13:1