compiling android apk successfully but Anroid app crashed upon start
I compiled the source code to electrum-2.9.3-debug.apk successfully. but when i installed the apk onto my android device and started it, it crashed right away.
this is useless; you should use adb logcat to see why it crashes
Below is the logcat output when it crashed...immediately upon starting. It seemed like the problem was ImportError: No module named urllib3. So I reinstalled the urllib3 from master and recompiled the apk and rerun again. Still the same problem.
08-21 09:25:33.172 195 631 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
08-21 09:25:33.869 11063 11103 W linker : /data/data/org.electrum.electrum/files/lib/python2.7/site-packages/Crypto/Util/strxor.so: is missing DT_SONAME will use basename as a replacement: "strxor.so"
08-21 09:25:34.017 11063 11103 I python : Traceback (most recent call last):
08-21 09:25:34.018 11063 11103 I python : File "main.py", line 95, in
Experiencing a similar issue on Replicant 6 using the pre-built apk avaliable on the official webpage.
Application displays the splash and then exists. This is the segment of the log that contained mention to Electrum. Please let me know if this can be refined into a more useful log.
Thank you for your time.
https://gist.github.com/GrimKriegor/7ad7bcc515aa6f7646947f3de24571bc
@GrimKriegor your issue is different; reopening
Most excellent, please let me know if I can be of use providing more information.
@GrimKriegor it might be caused by your system (replicant != android) does it work with the official apk?
There's indeed the possibility the system itself is at fault.
But Replicant 6 = LineageOS/CyanogenMod 13.
By official APK you mean the one in the Google PlayStore? I am unable to use that software source.
note: the apk on the website is the same as on the playstore
@GrimKriegor do we have the full log, or did you filter it with a grep command?
Thank you for taking your time with such an atypical setup.
I should have mentioned I had successfully ran Electrum on Replicant 4.2 (CyanogenMod 10.1, Android 4.2) for a year before moving to this Replicant 6 device.
Booted the old device, which still had my Electrum 2.7.10 install and upgraded to the latest package available on the downloads page. It worked perfectly.
It would appear the issue is isolated to Replicant 6. Allow me some time to test it out on a CyanogenMod 13 installation to further isolate the problem.
The log was filtered by grep. Should I provide a full log? Maybe including Electrum installation as well?
please provide the full log around the crash
Sure thing. Here's the full log, from boot, going thru the Electrum install and an attempt to run it which resulted in a crash.
This was done on a separate device with a fresh install of Replicant 6.
Thanks for spending your time on this!
closing, inactive issue. APKs have changed a lot since, I doubt this is still relevant.