-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 runtime error with fyne.dialog #1896
Comments
I don't understand what the error is that you are reporting. |
hey man package main
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/dialog"
"fyne.io/fyne/v2/widget"
)
func main() {
a := app.New()
w := a.NewWindow("Hello")
hello := widget.NewLabel("fyne")
dialog.ShowInformation("s", "sd", w)
w.SetContent(container.NewVBox(
hello,
widget.NewButton("Hi!", func() {
hello.SetText("sd")
}),
))
w.ShowAndRun()
} shows error when lunch on android device show error "app repeatly closing" |
Please share the error from |
I was able to capture the output:
|
This is fixed on develop, and will be in 2.0.1 release |
hey
below code
dialog.ShowInformation("s", "sd", w)
or any dialog. if add to main.go file shows error and stop it if project lunch on android device
please let me know it's bug or must use another way to show dialog
The text was updated successfully, but these errors were encountered: