dongyuan9149 2019-08-17 08:25
浏览 95

Xamarin.Android绑定从Go生成的AAR-如何处理元组返回?

I try to create a Xamarin.Android-Bindings Project for the following AAR: https://jcenter.bintray.com/io/storj/libuplink-android/0.6/

It basically works. But the problem is that the included Java code got generated from Go-Code and it seems that all functions returning a tuple are not included in the binding. See this function: https://github.com/storj/storj/blob/057d30152c80847a4edb0e7e91c31b012108b6ff/mobile/uplink.go#L65

This gets generated.

But the following does not (as it returns a tuple?): https://github.com/storj/storj/blob/057d30152c80847a4edb0e7e91c31b012108b6ff/mobile/uplink.go#L44

Is this something a can overcome by specifying something in the metadata.xml? Anything else I can do?

Thank you!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
    • ¥15 求daily translation(DT)偏差订正方法的代码
    • ¥15 js调用html页面需要隐藏某个按钮
    • ¥15 ads仿真结果在圆图上是怎么读数的
    • ¥20 Cotex M3的调试和程序执行方式是什么样的?
    • ¥20 java项目连接sqlserver时报ssl相关错误
    • ¥15 一道python难题3
    • ¥15 牛顿斯科特系数表表示
    • ¥15 arduino 步进电机
    • ¥20 程序进入HardFault_Handler