SignalR Android Studio中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...

我想利用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)

阅读全文

相关推荐

最新文章