You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same behavior applies to -target=android as well, the apk is generated even though gomobile build fails with:
gomobile: golang.org/x/mobile/example/hello does not import "golang.org/x/mobile/app"
I am not sure what is the intention behind the current behavior, we can always delete the intermediate app and apk files if x/mobile/app import condition fails. Currently, the error message reads as it is a warning but gomobile build exits with an error.
Expected output: The build should fail and the .app should not be generated.
The text was updated successfully, but these errors were encountered: