bunsenbrowser / bunsen

🔥 Bunsen Browser provides easy to use offline P2P application and file distribution that is verifiable on Android devices. https://bunsenbrowser.github.io/
117 stars 7 forks source link

Install fails on Android with chip architecture ARMv7 but not AArch64 #31

Closed rjcorwin closed 6 years ago

rjcorwin commented 7 years ago

Fails with ARMv7

➜  bunsen git:(master) ✗ adb install apk/bunsen.apk
apk/bunsen.apk: 1 file pushed. 4.5 MB/s (25476222 bytes in 5.428s)
    pkg: /data/local/tmp/bunsen.apk
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]

screen shot 2017-08-24 at 11 33 55 pm

Success with AArch64

screen shot 2017-08-24 at 11 36 40 pm

chrisekelley commented 7 years ago

A couple weeks ago I did some more work on compiling node 8.x on Termux. I managed to compile it; however, I didn't link it properly. This Native Gradle Sample - shows how to create native-lib.cpp and should help close the gap. Kudos to nodejs-mobile!

chrisekelley commented 7 years ago

A nice primer on using C/C++ code with node, and the build process part is especially useful: https://medium.com/@tarkus/how-to-call-c-c-code-from-node-js-86a773033892

rjcorwin commented 6 years ago

We could replace https://github.com/bunsenbrowser/cordova-node-plugin with https://github.com/janeasystems/nodejs-mobile-cordova.

chrisekelley commented 6 years ago

Is this resolved with the new https://github.com/janeasystems/nodejs-mobile-cordova plugin?

chrisekelley commented 6 years ago

I'm going to close this issue - I think by using nodejs-mobile-cordova plugin, we're supporting a wider range of devices.