-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 32 bit binary does not work #433
Comments
I wonder if this device is 32-bit which is not supported/working atm. When #312 landed we didn't get enough time to get this sorted out, but there is a chance there is not much left to do. If not 32-bit then you may get some more info from |
The device has a 64 bit ARMv8 CPU but for some reason the instruction set utilized is 32 bit (Motorola does this when the device has less than 4gb RAM). Alright, good to know that this is a known problem. |
The reflex platform binaries should have 32 bit and 64 bit versions. It's possible the 32 bit ones are broken though. |
I think I have the same issue on a Google Nexus 5 (also has a 32-bit CPU). I take the latest revision of reflex-platform (a7f6394) and use it with reflex-project-skeleton. The resulting app (
|
This seems possibly relevant: https://gitlab.haskell.org/ghc/ghc/issues/12929. However it's unclear how this used to work, especially since we were using GHC 8.0 (where this was reported) previously. |
Even more relevant looking context: https://gitlab.haskell.org/ghc/ghc/issues/12981 |
The problem is |
Ah, I see ARM_ISA = ARMv5 ⇒ ArchSupportsSMP = NO, as you said. Thanks for looking in to it! Do you think this is a bug in nixpkgs or the GHC build system? |
@rvl It's definitely intended that v5 and v6 don't support SMP, but how it's getting v5 when our platform triple is clearly |
Hi
I've run into a problem with reflex-platform while trying to test the apk file I built on my physical device (which is Motorola Moto E4).
Upon launch, the app shows white screen for less than a second and closes immediately with no content rendered and no errors shown. I've tested the app on a different physical device and it worked as expected.
The code was just a simple text widget (hello world variety), built precisely as prescribed in project-development.md. I'm entirely new to android platform, so I have no idea what went wrong and how to debug it.
I hope something can be done about this? Thanks in advance!
The text was updated successfully, but these errors were encountered: