I am trying to make a golang package that can be included in an Android app.
So I have
- created a golang module and built it using go bind to an aar
- used 'new module' in Android Studio to import the aar
- gone to project structure/dependencies/... to connect up the aar, but the aar was not listed so I could not add it.
- the module appears to be in android/mobile; how do I tell Android Studio? Do I need to?
So
- does anyone know what the exact command line is that I need for go bind? Assuming, say that I am trying for a module 'mobile' in a project 'hk.nurke.fred'.
- also, how do I refer to my package in the java import statement?