草庐IT

ioexception

全部标签

Android NFC java.io.IOException : Transceive failed

我正在开发一个可以在NFC标签上读写的android应用程序。我可以毫无问题地读取我已经写过东西的标签,但是当我使用空白标签时,我很难读取十六进制代码中标签的UID。我使用的是mifare经典标签,我使用readblock方法直接读取十六进制的UID。奇怪的是,它在我获得UID的调试器模式下完美运行。但是当我在没有调试器的情况下尝试时,我得到以下异常:java.io.IOException:Transceivefailed这是我读入标签的方法:staticStringgetUID(Intentintent){TagtagFromIntent=intent.getParcelableEx

java.io.IOException : No space left on device Android 异常

我们在android市场上有应用程序,我们的用户从这个错误中得到了很多:java.io.IOException:设备上没有剩余空间根据我目前的发现,我知道他们在外部存储上有足够的剩余空间,而且这只发生在Android2.x上。我对Linux文件系统做了一个小小的研究,我发现除了空间限制之外,每个目录中的文件数和根目录下的文件总数也有限制。但看起来我们的应用程序没有命中任何一个。你曾经参加过类似的两场比赛吗?关于Android(2.x)中的更改以及他们如何在Android(3+)中修复它的任何想法?编辑:这不是安装问题,而是尝试保存下载文件时的问题。 最佳答案

android - 接受线程上的 IOException

我的应用程序的一部分通过蓝牙连接到设备并且正常工作但偶尔无法连接并且我收到以下错误03-1110:29:20.328:E/BluetoothComService(8059):accept()failed03-1110:29:20.328:E/BluetoothComService(8059):java.io.IOException:OperationCanceled03-1110:29:20.328:E/BluetoothComService(8059):atandroid.bluetooth.BluetoothSocket.acceptNative(NativeMethod)03-1

java - Google Play 成就 "IOException: Address already in use"

新错误有应用程序工作(加载但声明谷歌播放服务设置不正确)。看着显示器,上面写着E/ViewRootImpl:sendUserActionEvent()mView==null并在尝试授予成就时看到以下错误:07-1920:51:42.69616515-16515/com.gfaiers.hangmanE/AndroidRuntime:FATALEXCEPTION:mainProcess:com.gfaiers.hangman,PID:16515java.lang.NullPointerException:Attempttoinvokevirtualmethod'booleancom.go

Android 蓝牙 IOException :connection refused

好的,这就是交易。我有两部GalaxyNexus手机都启用了蓝牙。我编写了一个蓝牙连接管理应用,用于设备发现和连接。它还输出设备可以支持的所有可用UUID。从http://www.bluetooth.org/Technical/AssignedNumbers/service_discovery.htm看以下标准UUID从GalaxyNexus设备公开。0x1116-午睡0x112f-PBAP(电话簿访问配置文件)0x111f-HFP(免提)0x1105-OPP(对象推送配置文件)0x1112-HSP(耳机配置文件)0x110c-AVRCP0x110a-A2DP我正在尝试通过OPP配置文

安卓蓝牙 : Software Caused Connection Abort IOException?

这个问题在这里已经有了答案:关闭10年前。PossibleDuplicate:Officialreasonsfor“Softwarecausedconnectionabort:socketwriteerror”我无法连接Droid的BluetoothChat有问题。我总是得到这个IOException08-0920:58:24.889:INFO/BluetoothChat(17378):MESSAGE_STATE_CHANGE:308-0920:58:51.053:DEBUG/BluetoothService(17378):BT_SEND_MESSAGE08-0920:58:51.10

android - 是什么导致 jobb 工具抛出 FAT Full IOException?

我正在尝试使用Androidjobbtool为我的应用程序创建一个大的OBB文件,但我被“FATFull”IOException困扰:java.io.IOException:FATFull(XXXX,YYYY)atde.waldheinz.fs.fat.Fat.allocNew(Fat.java:298)atde.waldheinz.fs.fat.Fat.allocAppend(Fat.java:376)atde.waldheinz.fs.fat.ClusterChain.setChainLength(ClusterChain.java:175)atde.waldheinz.fs.fa

android - 检查服务器上是否存在 SPP UUID 00001101-0000-1000-8000-00805F9B34FB

我使用Windows7PC作为服务器。代码:publicclassPCSPPServer{//startserverprivatevoidstartServer()throwsIOException{//CreateaUUIDforSPPUUIDuuid=newUUID("1101",true);//CreatetheservicveurlStringconnectionString="btspp://localhost:"+uuid+";name=SampleSPPServer";//openserverurlStreamConnectionNotifierstreamConnNot

android - AccountManagerFuture.getResults 抛出 IOException,而连接处于 Activity 状态

以下方法在我的Android设备上调用时会系统地抛出IOException,而Internet连接处于Activity状态(我可以使用我的Android设备检索电子邮件或连接到gmail)。有人可以帮忙吗?privatevoidperformAuthentication(){Log.d("GAWidget","performAuthentication");GoogleCredentialcredential=newGoogleCredential();GoogleAccountManageraccountManager=newGoogleAccountManager(this);Lo

android - 在 Android 中使用 jobb 工具

我正在运行以下命令来获取我的加密obb文件以进行apk扩展。jobb-d/home/manoj/Desktop/Test-omain.1.com.example.helloworld.obb-k"manoj"-pncom.example.helloworld-pv1我遇到以下异常。请告诉我出了什么问题。Slop:0DirectoryOverhead:0Slop:1132DirectoryOverhead:768PartialSector[32]writingtosector:15PartialSector[32]writingtosector:15PartialSector[32]wr