x/mobile/cmd/gomobile: jar file mylib.java crash with no error in line _init(); #43811
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
no i check this with multi gomobile and golang version and ndk version and sdk version and .....a week
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
i create a frpclib.go contain
then compile with
then export two file with no error
1.frpclib.aar
2.frpclib-sources.jar
then i add this lib to my android application
and call in java like this
in emulator work with api 25 android 7 and 30 android 11
What did you expect to see?
just call and open myactivity
What did you see instead?
crash application
what happened?
in file frpclib-sources.jar
after unzip i see tree folder
in folder frpclib and file Frpclib.java
after Seq.touch(); in _init(); crash application i edit this file and create jar again
with try and catch.but nothings happened.ignore the catch and crash again
gobuild work correctly .i test it on another project.
gobind crash and crash and crash.!!!!!!!!!
The text was updated successfully, but these errors were encountered: