草庐IT

connection_properties

全部标签

android - Xamarin proguard.ParseException : Unknown option '' in line 1 of file 'Properties/proguard.cfg'

我正在尝试将混淆器与Xamarin一起使用。所以我在项目选项中启用它(选中EnableProGuard),并在Properties中创建了一个文件proguard.cfg,(作为新的文本文件,对吗?)并检查了BuildAction->ProguardConfigurationproguard文件只包含一个-keep配置,带有注释。无论我是留下还是删除评论,我总是在第1行收到解析错误:#testcomment-keepclass!android.support.v7.view.menu.**,!android.support.design.internal.NavigationMenu,

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());}问题是:两个设备都与手机配对,但只有老式蓝牙设备会在按下蓝牙设备按钮时

android - Gradle 错误 : No value has been specified for property 'buildConfigPackageName'

当我更新到最新版本的androidstudio/开发者工具后尝试构建我的android项目时,我遇到了这些错误:[FatalError]:1:38:Apseudoattributenameisexpected.FAILEDFAILURE:Buildfailedwithanexception.Whatwentwrong:Aproblemwasfoundwiththeconfigurationoftask':apoAppAndroid:generatePharmoreDebugBuildConfig'.Novaluehasbeenspecifiedforproperty'buildConf

安卓工作室错误 :An existing connection was forcibly closed by the remote host

我已经在Windows中安装了android-studio。但每次重建/运行/项目时都会出现此错误。Anexistingconnectionwasforciblyclosedbytheremotehost下面是我试过的。禁用防火墙adbkill-server&&adbstart-server删除任务栏中的任何adb进程重启工作室,清理并重建非常感谢任何答案。 最佳答案 尝试从控制台运行构建任务,并检查输出是否有问题./gradleassembleDebug 关于安卓工作室错误:Anexi

android - 如何解决 "Unable to connect to the editor to retrieve text"错误?

我正在使用ListView,ListView中每个项目的布局如下。当我尝试在mrpEtedittext中编辑文本时,android软键板没有响应,并且出现以下错误。02-2114:42:33.157651-651/?I/LatinIME:Startinginput.Cursorposition=1,102-2114:42:33.1724564-4564/?W/IInputConnectionWrapper:getTextBeforeCursoroninactiveInputConnection02-2114:42:33.1734564-4564/?W/IInputConnectionW