Skip to content

Use ebitenmobile to build for android throws errors (ebitenmobileview_android.c) #2893

Answered by scratch85
scratch85 asked this question in Q&A
Discussion options

You must be logged in to vote

Ahh, this is something that helps a lot:

From the gomobile docs:

The build flags -a, -i, -n, -x, -gcflags, -ldflags, -tags, -trimpath, and -work are shared with the build command. For documentation, see 'go help build'.

But hey, I found the issue today.
Using -javapkg com.client.game it works. Using -javapkg com.warlords-client.game fails with the error mentioned above.
Using -javapkg com.warlordsclient.game works as well, so the issue seems/is the "-" (minus/hyphen) in the -javapkg param or in general the way the cmd params (with go flag) work.

Many thanks for your help and your fast responses.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@hajimehoshi
Comment options

@scratch85
Comment options

@hajimehoshi
Comment options

@scratch85
Comment options

Answer selected by scratch85
@hajimehoshi
Comment options

@scratch85
Comment options

@hajimehoshi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants