Can you use Android Studio for Go development? I am able to install the gaoling plugin, but can not start a Go project?
Thanks
One of Go's strengths is that it's cross-platform; but that doesn't just mean Window, Mac and Linux, Go can target many other architectures including iOS and Android. Now you have another option in your toolbelt to create shared libraries that run on server, your mobile apps and maybe even web (via web assembly).
The main activity code is a Java file MainActivity.java. This is the actual application file which ultimately gets converted to a Dalvik executable and runs your application. Following is the default code generated by the application wizard for Hello World!
Android studio is the best IDE in the market for android development. It increases productivity with its great set of tools and plugins. It provides better user experience with a user friendly interface. It is best for both android and flutter development.
finishAffinity() : finishAffinity() is not used to "shutdown an application". It is used to remove a number of Activities belonging to a specific application from the current task (which may contain Activities belonging to multiple applications).
The correct answer is: Follow the instructions from the readme and the plugin will work with Android Studio: https://github.com/go-lang-plugin-org/go-lang-idea-plugin#pre-release-builds
If you have any issues, please feel free to open a ticket. Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With