I’m trying to run this example
I’m have an error
“android/386 requires external (cgo) linking, but cgo is not enabled [android,386]”
in terminal after: fyne package -os android -appID com.example.proj1 -icon icon.png
have : “err: exit status 1: stderr: go: updates to go.mod needed; to update it:
go mod tidy”
my main.go :
package main ->error “android/386 requires external (cgo) linking, but cgo is not enabled [android,386]”
func main() {
}
jni.h copied from android ndk folder to go-app folder
maybe someone has a small example of a working application with any Android Api or tutorial link
Olek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.