Skip to content

Commit

Permalink
Specify Android API level
Browse files Browse the repository at this point in the history
Signed-off-by: Syrone Wong <[email protected]>
  • Loading branch information
wongsyrone committed Aug 29, 2020
1 parent f54c053 commit 289d035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ios: clean

android: clean
mkdir -p $(BUILDDIR)
env GO111MODULE="on" gomobile bind -o $(BUILDDIR)/golibs.aar -a -v -x -ldflags '-w' -target=android -trimpath $(IMPORT_PATH)
env GO111MODULE="on" gomobile bind -o $(BUILDDIR)/golibs.aar -a -v -x -androidapi 23 -ldflags '-w' -target=android -trimpath $(IMPORT_PATH)

clean:
gomobile clean
Expand Down

0 comments on commit 289d035

Please sign in to comment.