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
Duplicate symbol error when compiling for Android with NDK 23 #2064
Comments
Hello @mythril, it seems that this is related to #1912 (if not the same) and golang/go#44121. As a workaround, could you please try downgrading your NDK version to v21.x.x? That should solve the issue :) |
This should be fixed after merging a fix to our |
@andydotxyz Seems to fail with a different issue but it doesn't directly complain about
|
Yes that looks like your install may not be very happy - perhaps try updating / reinstalling NDK and/or resetting your Go cache |
i'm getting this same issue tried downloading ndk and setting it on system variables and also i tried installing through android studio but i'm getting the no such file or directory error what should i do? edit: i'm on windows |
To get the fix you'll need to use the unreleased ( |
Apologies this got dropped... We need to support the latest build tools, so I opened #2498 to track it. |
For anyone that isn't able to remove the gomobile dependency from your project (usually due to transitive dependencies) there is another solution! Fyne has a gomobile-bridge project that maps the gomobile APIs into a Fyne runtime: https://github.com/fyne-io/gomobile-bridge |
Describe the bug:
Attempting to compile the fyne_demo (or my own fyne app) for android errors out with a duplicate symbol message.
To Reproduce:
in the fyne_demo repo / subdir
run:
see error:
Device (please complete the following information):
OS:
Go version:
Fyne version:
~ c29a062
The text was updated successfully, but these errors were encountered: