go-android | A example about android app with Golang
kandi X-RAY | go-android Summary
kandi X-RAY | go-android Summary
A example about android app with Golang.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- This method is called when the activity is created
go-android Key Features
go-android Examples and Code Snippets
Community Discussions
Trending Discussions on go-android
QUESTION
I've been trying to get a Go application running on Android 10 and hit a snag. I'm pretty sure I now know why I'm hitting this snag, but not sure how to fix it. First, simple things work with cross compilation. For example,
...ANSWER
Answered 2020-Dec-19 at 23:52Figured it out! Well, got my specific example working but I'm not really sure why this works. The answer came basically from https://github.com/golang/go/issues/20755 and you have to:
- Build a standalone version of the NDK (the comment in the Python script that does this says it packages it in a more convenient way for other tools to use)
- Rebuild Go's standard library using the cross compiler in your NDK
- Build your application using the NDK cross compiler.
So for my example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install go-android
You can use go-android like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the go-android component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page