摘要:
小项目需要读取数据库,刚好手头有服务器,处于某些考虑,还是想远程读数据,所遇异常Logcat异常:SingleClientConnManager(411): Invalid use of SingleClientConnManager: connection still allocated.Make sure to release the connection before allocating another one.request time failed: java.net.SocketException: Address family not supported by protocol基 阅读全文
摘要:
这种情况下用一下办法:1、clean整个Project2、重新Build一下下Project3、设置Build Automatically,自动编译工程文件------------------------------------------------------------------------------------------------如此步骤之后还是得不到解决,仔细发现:发现一个XXX.xml文件报错,修改之,好了,原来R.java会根据xml文件生成,如果xml文件有错,就一直卡到那生成不了! 阅读全文