Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Electron prebuilt on Android #161

Closed
sarkande opened this issue Jul 7, 2016 · 5 comments
Closed

Electron prebuilt on Android #161

sarkande opened this issue Jul 7, 2016 · 5 comments
Labels

Comments

@sarkande
Copy link

sarkande commented Jul 7, 2016

Hello,
when i try to install electron-prebuilt with
npm install
i got this error

`/data/data/com.termux/files/home/electron-quick-start/node_modules/electron-prebuilt/install.js:32
if (!paths[platform]) throw new Error('Unknown platform: ' + platform)
^

Error: Unknown platform: android
at Object. (/data/data/com.termux/files/home/electron-quick-start/node_modules/electron-prebuilt/install.js:32:29)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.runMain (module.js:575:10)
at run (node.js:348:7)
at startup (node.js:140:9)
at node.js:463:3`

@zeke
Copy link
Member

zeke commented Aug 12, 2016

You're getting this error because the Electron project doesn't currently release a build for the Android platform.

Out of curiosity, what device and operating system version are you running? Electron currently produces an armv7l build (named arm on the releases page), which may work for you if that's the hardware you're using, but that platform is not yet supported by electron-prebuilt

@zeke zeke added the ARM label Aug 12, 2016
@sarkande
Copy link
Author

sarkande commented Aug 13, 2016

I use a remix mini with the latest version of remix os

@zeke
Copy link
Member

zeke commented Aug 15, 2016

According to Amazon, your processor is:

1.2 GHz ARM7500FE

Which has an ARM710a core. So your device may technically be compatible with the existing ARM build of Electron!

For updates on ARM support in Electron, you may want to subscribe to these issues:

@kevinsawicki
Copy link
Contributor

@sarkande are you able to run the following on your machine and report back the output?

node -p "console.log(process.platform, process.arch, process.config.variables.arm_version)"

Thanks.

@zeke
Copy link
Member

zeke commented Aug 8, 2017

The electron-prebuilt repo is being retired and its code has been moved into the electron/electron repo. For the sake of historical transparency, we will leave GitHub Issues enabled on this repository, but if you are still affected by the issue reported here, please open a new issue on electron/electron repo and reference this issue from it so people can get the full context. The electron repository has a large and active contributor community, so your issue is more likely to get the attention it deserves there. Thanks!

@zeke zeke closed this as completed Aug 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants