[go-nuts] Re: Gomobile: Large .so/aar file size on Android

2016-06-26 Thread rajiivkanchan
Thanks for the response. We went ahead and re-wrote the Golang part in Java. Did not get a chance to test your suggestions. Thanks for your suggestions. On Monday, June 20, 2016 at 9:33:57 PM UTC+5:30, nsa...@gmail.com wrote: > > Did you try the beta > https://groups.google.com/forum/#!topic/g

[go-nuts] Gomobile: Large .so/aar file size on Android

2016-06-19 Thread rajiivkanchan
Hi All Gomobile builds our 282 lines of Go code into a 5MB Android library(AAR). We were able to reduce this down to 2.6MB by including only the ARM targets (-target=android/arm,android/arm64) Since our APK budget for production builds is under 2MB, how can we reduce the AAR filesize further.

[go-nuts] Gomobile: Large .so/aar file sizes on Android

2016-06-17 Thread rajiivkanchan
Hi All I am using Go version 1.6.2 and Gomobile (sha +6b7a416 from the tip) and to build an Android library. Our code is mostly networking "encoding/json" "fmt" "log" "math/rand" "net" "sort" "time" -- You received this message because you are subscribed to the Google Groups "golang-nuts"