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 stata安慰剂检验作图但是真实值不出现在图上
    • ¥15 c程序不知道为什么得不到结果
    • ¥40 复杂的限制性的商函数处理
    • ¥15 程序不包含适用于入口点的静态Main方法
    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题