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
package android make failed: exit status 2 #2497
Comments
This should have been fixed in #2440 - are you certain you’re using the latest version of the fyne executable? (Try |
yes I have use the new version |
I think I misread before - is this is an Intel macOS computer? (not M1) |
I guess it should be an M1 mac. |
Oh my word I read it correctly the first time, then misread second. Why did amd64 and arm64 have to be so similar? :) |
I see a problem now - your app is not using the correct version of go-gl/glfw, has your go.mod perhaps overridden some versions? @owner888 it seems something in your project is causing the build to use unexpected versions. |
cat go.mod go 1.16 require ( |
cat go.sum |
Oh I using M1 |
Please remove |
Is it missing to install XQuartz ? |
Android builds do not require X11, something in your project is breaking our toolchain. |
After removing it you may have to call |
oh I use glfw so have this bug, I have remove it, but get this faild: /Users/kaka/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-nm /var/folders/f5/dc50fc4n7nb6fg9dz3yv17hm0000gn/T/gomobile-work-056412681/lib/armeabi-v7a/libkalifyne.so: fork/exec /Users/kaka/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-nm: no such file or directory |
Yes, apologies about that, I have a pending PR that should fix it, you can test out #2499. |
Thank you very much bro, I wait u, I am not in a hurry. I support fyne to the end :) |
This is partially resolved, partially duplicate of #2498, so i will close this ticket. Keep an eye out for v2.1.1 release soon :) |
okay, I wait u bro :) |
Describe the bug:
run:
fyne package -os android -appID my.domain.appname
To Reproduce:
Steps to reproduce the behaviour:
Screenshots:
Example code:
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: