草庐IT

client-library

全部标签

java - 如何使用 Microsoft Java-Client 接收 SignalR 广播消息?

我需要将消息从ASP.NET服务器推送到Android设备,以便在记录状态发生更改时收到通知。因此,我想使用带有AndroidADTBundle和Java的Eclipse,使用来自GitHub的新MicrosoftSignalRJava-Client。https://github.com/SignalR/java-clienthttp://whathecode.wordpress.com/2014/03/20/getting-started-with-the-java-signalr-sdk/我是Java和SignalR的新手。我有在HTML中工作的SignalRHub和JavaScr

cx_Oracle DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library XXX

报错信息:DatabaseError:DPI-1047:Cannotlocatea64-bitOracleClientlibrary:"D:\app\product\11.2.0\client_1\oci.dllisnotthecorrectarchitecture1.在网上找了很多,有说:(1)增加oracle安装路径到环境变量的(2)安装oracle程序(如没有安装,那你就去安装oracle程序)(3)在最开始指定具体路径:cx_Oracle.init_oracle_client(lib_dir=r"D:\app\product\11.2.0")但是都不行2.看了[官网-installat

android - 无法解析 : com. firebase :firebase-client-android:2. 3.1

我正在处理下面博客中的示例https://www.firebase.com/blog/2015-10-01-firebase-android-app-engine-tutorial.html项目添加依赖后编译失败compile'com.firebase:firebase-client-android:2.3.1'其他依赖编译没有任何问题。'com.android.support:appcompat-v7:23.0.1''compile'com.android.support:design:23.0.1'我哪里错了?这是我的模块build.gradleapplyplugin:'com.a

Android:如何使用 "uses-library"?

我的Android应用程序可以分为客户端UI层和API层。我想将它们部署为单独的“应用程序”,以便可以重用API层。在Eclipse中,我将它们编写为2个独立的Android项目。在客户端UI项目中,我在其构建路径中声明API项目(项目->属性->Java构建路径->项目)。当通过Eclipse部署客户端UI项目时(在我实际的G1手机上),它也会自动部署API项目(打包到APK中)。但是,在启动客户端UI应用程序时,我遇到了这个错误:Uncaughthandler:threadmainexitingduetouncaughtexceptionjava.lang.VerifyError:

android - google-api-java-client NetHttpTransport 导致 NoClassDefFoundError

我刚开始研究Android上的google-api-java-client。将接下来的3个库添加到项目中。(我不使用Maven。)google-api-client-1.4.1-beta.jargoogle-api-client-googleapis-1.4.1-beta.jargoogle-api-client-googleapis-extensions-andr并选择了要使用的示例代码。在示例中,它使用了现在似乎不可用的GoogleTransport。HttpTransporttransport=GoogleTransport.create();所以我将其更改为在网络上找到的Net

nginx报错:./configure: error: SSL modules require the OpenSSL library. You can either

nginx报错:./configure:error:SSLmodulesrequiretheOpenSSLlibrary.Youcaneither在nginx中配置监听443端口后重新加载配置文件出现此报错,原因:未安装ngx_http_ssl_module模块解决方法:#执行命令查看nginx是否安装了ngx_http_ssl_module/app/nginx/sbin/nginx-V#出现以下内容则说明未安装ngx_http_ssl_modulenginxversion:nginx/1.18.0builtbygcc4.8.520150623(RedHat4.8.5-44)(GCC)conf

java - 无法在 Eclipse 中解析导入 com.google.api.client

我收到这个错误:importcom.google.api.client无法解析我的配置如下:项目属性-安卓:Java构建路径:即使在重新启动Eclipse后,我仍然会收到以下错误。有人可以帮忙吗?谢谢:D 最佳答案 您尚未在项目中添加客户端库。http://code.google.com/p/google-api-java-client/wiki/Setup.您将在上面的链接中获得google-api-java-client-1.14.1-beta.zip文件。将这些jar文件保存在Android项目的libs文件夹中。

android wear- eclipse : not recognizing support library

我正在尝试使用新的WearSDK进行开发。我已经下载了所有需要的东西,包括支持库,并设置了androidweartogo。我遇到的问题是该项目找不到可穿戴库。代码错误行示例:WatchActivitycannotberesolvedtoatype和Theimportandroid.support.wearablecannotberesolved谢谢你,亚基尔。 最佳答案 我使用Eclipse遇到了同样的问题,我的问题的答案是我找到的链接:http://blog.benjamin-cabe.com/2014/07/04/how-to-

基于 OS X 和 "ranlib: warning for library..."构建的 Android C 库

当我尝试在OSX10.7.3上构建我的c库时,我使用android-sdk-mac2.2,sdk工具版本为12,并使用android-ndk-r6。当我完成编译时,它说:ranlib:warningforlibrarylibsystem.athetableofcontentsisempty(noobjectfilemembersinthelibrarydefineglobalsymbols)我尝试使用这个libsystem.a,它说无法读取符号:Archivehasnoindex,runrunlibtoaddone。有人知道为什么吗?我应该怎么做才能成功编译?非常感谢。

安卓 "You need to use a Theme.AppCompat theme (or descendant) with the design library"

好的,我收到了这个错误(标题)。许多帖子建议我(甚至是Androidstudio)将主题更改为App.Appcompat,我已经做到了。list文件:样式.xml@color/colorPrimary@color/colorPrimaryDark@color/colorAccentfalsetrue但仍然没有任何改变。我不知道发生了什么,因为我以前没有遇到过这个问题(我之前没有在list文件中添加App.compat)Gradle:compile'com.android.support:appcompat-v7:24.0.0-beta1'compile'com.android.supp