SignalR in Android Studio

二次信任 提交于 2020-02-03 01:54:10

问题


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

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

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.

Any ideas?


回答1:


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)



来源:https://stackoverflow.com/questions/25753423/signalr-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!