高速公路的WebSockets的Andr​​oid演示崩溃

编程入门 行业动态 更新时间:2024-10-22 20:27:16
本文介绍了高速公路的WebSockets的Andr​​oid演示崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在新的WebSockets和我为了做出更大的项目一直在玩高速公路的WebSocket。它的工作原理在Python和js版本很棒,但我有与Android API的麻烦。

I'm new in websockets and I've been playing with Autobahn websocket in order to make a greater project. It works great in python and js versions, but I have trouble with Android API.

我按照 www.tavendo.de/autobahn/install_android_package教程html的和测试SimpleRpc,BroadcastClient,EchoClient具有相同的结果。

I'm following the tutorials in www.tavendo.de/autobahn/install_android_package.html and tested SimpleRpc, BroadcastClient, EchoClient with same results.

在所有的人,当我尝试过Android的虚拟仿真器自动关闭连接到正在运行的服务器蟒蛇,连接,如果我reclick连接按钮的应用程序崩溃。如果我编译应用程序,并在我的移动设备安装(Android版2.2.3)崩溃,当我尝试连接。

In all of them when I try to connect to the running python server through android virtual emulator, the connection close automatically, and if I reclick the connect button the application crashes. If I compile the application and install it in my mobile device (Android 2.2.3) it crashes when I try to connect.

我在做什么错?我的误差可能是Android的链接库(Jackson和高速公路,介绍最新),但我下面一步的教程一步。

What I'm doing wrong? My error may be is on linking android libraries (jackson and autobahn-lastest), but I'm following the tutorial step by step.

注1:最小Android SDK中编译例子是SDK 8。注2:当连接高速公路,latest.jar引发重复manifest.xml的错误。我从jar文件删除清单解决这个问题。

NOTE1: The minimum android sdk to compile examples is SDK 8. NOTE2: When linking autobahn-latest.jar raises a duplicate manifest.xml error. I solve it by erasing manifest from jar file.

推荐答案

请使用/修建从GitHub的回购来源高速公路库..这个JAR已经过时..将无法正常工作。我也许应该是文件/删除它。

Please use/build the Autobahn library from the GitHub repo sources .. the JAR is outdated .. won't work. I should probably document that / remove it.

免责声明:我是高速公路的作者和工作Tavendo

Disclaimer: I am author of Autobahn and work for Tavendo.

更多推荐

高速公路的WebSockets的Andr​​oid演示崩溃

本文发布于:2023-10-29 08:06:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1539164.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:演示   高速公路   Andr   WebSockets   oid

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!