SignalR Android Studio中 [英] SignalR in Android Studio

查看:384
本文介绍了SignalR Android Studio中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想利用SignalR的Andr​​oid Studio中,虽然它显然已经增加了项目和依赖我的应用程序项目中,我不断得到

I'm trying to make use of SignalR in Android Studio and while it apparently has added the projects and dependencies to my application project I'm getting constant

错误:(11 39)错误:包microsoft.aspnet.signalr.client不存在

Error:(11, 39) error: package microsoft.aspnet.signalr.client does not exist

这些包的导入动态由Android工作室添加为我打字开始code,以利用它

The import for these packages was dynamically added by Android studio as I started typing code to make use of it

    Platform.loadPlatformComponent(new AndroidPlatformComponent());

所以,有那么点意思。

So there is something there.

然而,当我尝试和实际建造我的主要项目中,我不断收到包错误。

However when I try and actually build my main project I keep getting the package error.

我现在已经江郎才尽了,为什么它可以充分了解项目的建设,并引用了包,但随后没有真正找到那些包为主营项目使用。

I've run out of ideas now as to why it can know enough about the project to build it and reference the packages but then not actually find those packages for the main project to use.

任何想法?

推荐答案

我从来没有找出如何通过Android的工作室做。最后,我不得不使用Eclipse(不要忘记更改您的工作区使用Java 1.6或更高版本)

I never did find out how to do it via Android Studio. In the end I had to use Eclipse (and don't forget to change your workspace to use Java 1.6 or greater)

这篇关于SignalR Android Studio中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆