package test func Test() (int, bool) { return 1, true }
就这个简单的代码,gomobile打包aar的时候就会报错。second result value must be of type error: func command-line-arguments.Test() (int, bool)意思是第二个返回值必须是个指定的类型。