草庐IT

connectivity

全部标签

android - 启动错误 : Failed to connect to remote VM

这个问题在这里已经有了答案:关闭10年前。PossibleDuplicate:EclipseError:“FailedtoconnecttoremoteVM”我正在使用Eclipse涉足Android开发。一切顺利,但最近,我无法再使用调试了。当我单击“调试为”-“Android应用程序”时,应用程序构建正常,安装正常,但Android设备(无论是实际设备还是模拟器,都没有区别)等待“等待调试器”和一个“强制关闭”按钮。在控制台中,我得到类似的东西:-[2011-08-2611:59:59-Sunrise]Startingactivitycom.sr.sunrise.Sunriseon

android - 运行 Android 应用程序时出现错误 "The connection to adb is down"

我是android开发的新手,我在安装所有最新平台时遇到问题。我是一名java开发人员,我想学习android。我已经在windowsxpsp3中成功安装了所有程序(创建了环境变量的JDK1.6,配置良好的eclipse3.5、3.6和3.7,具有所有功能、设备、平台工具、API等的AndroidSDK,以及ADT用于eclipse的插件12,带有API8的模拟器-Target2.2-),但是,当我将android项目运行到eclipse中时(运行->Android应用程序),eclipse控制台向我显示:“与adb的连接宕机了,出现了严重错误。。。必须重启adb和eclipse。。。

Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection;

一,背景pc端查询变慢,最后查询失败二,查看服务器日志,报错如下###Theerroroccurredwhileexecutingaquery###Cause:org.springframework.jdbc.CannotGetJdbcConnectionException:CouldnotgetJDBCConnection;nestedexceptioniscom.alibaba.druid.pool.GetConnectionTimeoutException:waitmillis60000,active30,maxActive30,creating0,runningSqlCount1:SE

android - ConnectivityManager 泄漏,不确定如何解决

所以,我有这个方法可以让我知道用户是否有Activity的互联网连接。它运作良好。但是,leakcanary已识别出与connectivityManager相关的内存泄漏。据我所知,我目前不会在我的代码中的任何地方关闭connectivityManager。我试图在onDestroy中关闭connectivityManager。要么这不是一个选项,要么我不知道密码。说实话,我只是想让自动填充告诉我该怎么做。运气不好。publicstaticbooleanisNetworkAvailable(Contextcontext){ConnectivityManagerconnectivityM

nginx报错:connect() failed (111: Connection refused) while connecting to upstream

[error]17653#0:*139346connect()failed(111:Connectionrefused)whileconnectingtoupstream,client:66.249.79.111,server:www.xxx.com,request:"GET/home.php?mod=space&uid=1431&do=share&view=me&from=spaceHTTP/1.1",upstream:"fastcgi://127.0.0.1:9000",host:"119.91.112.122"发现php-fpm.conf是以套接字方式通信,而nginx是以端口方式通信,

android - 未连接。调用 Connect 或等待 onConnected() 被调用

我的应用程序以map为中心。我经常调用requestLocationUpdates()。偶尔,当它被调用时,我会得到这个exception。或者在任何其他调用这种方法的地方。我在SOF上看到了建议的解决方案,遗憾的是似乎对我没有任何作用。即使我调用mLocationClient.connect(),也不能保证它会立即连接,如果我错了请纠正我。我该如何解决这个问题?caseR.id.btnContinue:gpsLocationDailog.cancel();intisGooglePlayServiceAvilable=GooglePlayServicesUtil.isGooglePla

android - 无法在 Eclipse : "App Engine Connected Android Project" 中创建 "Creation of element failed"

我无法再在Eclipse中通过向导创建“AppEngineConnectedAndroid项目”。当我单击“完成”按钮时,出现以下错误消息:Creationofelementfailed.com.android.ide.eclipse.adt.internal.project.AndroidNature.setupProjectNatures(Lorg/eclipse/core/resources/IProject;Lorg/eclipse/core/runtime/IProgressMonitor;)V我使用:Windows7(x64)eclipse朱诺4.2jre7谷歌应用引擎SD

java.net.ConnectException : failed to connect to localhost/127. 0.0.1(端口 9090):连接失败:ECONNREFUSED(连接被拒绝)

这个问题在这里已经有了答案:Whatcanbethereasonsofconnectionrefusederrors?(13个答案)关闭5年前。我正在使用Android中的应用程序。它使用我PC中的本地主机服务器来获取一些数据。但是我在运行后在LotCat中收到这样的警告。02-0715:51:48.965:W/System.err(10339):com.sun.jersey.api.client.ClientHandlerException:java.net.ConnectException:failedtoconnecttolocalhost/127.0.0.1(port9090)

未为配对设备调用 Android BLE ACTION_ACL_CONNECTED

我使用的是Android4.4。我有2个蓝牙设备,一个老式蓝牙和一个BLE。就它们传输的数据而言,它们在功能上是相同的。它们都有一个按钮,按下时可以连接和传输数据。我有蓝牙权限并在我的list中注册了一个BroadcastReceiver,就像这样......为了测试,我只是在BroadcastReceiver中记录对onReceive的调用@OverridepublicvoidonReceive(Contextcontext,Intentintent){Log.d(TAG,intent.getAction());}问题是:两个设备都与手机配对,但只有老式蓝牙设备会在按下蓝牙设备按钮时