新手使用Android studio 遇到PSI and index do not match

androidjson
  • 256

今天刚迁移一个eclipse项目过来,打开Android studio提示PSI and index do not match,项目可以建立,但APP运行不起来!

     java.io.IOException: 你的主机中的软件中止了一个已建立的连接。
     at sun.nio.ch.SocketDispatcher.write0(Native Method)
     at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
     at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
     at sun.nio.ch.IOUtil.write(IOUtil.java:65)
     at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:492)
     at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
     at com.android.ddmlib.Client.sendAndConsume(Client.java:686)
     at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:349)
     at com.android.ddmlib.Client.requestAllocationStatus(Client.java:525)
     at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:569)
     at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:544)
     at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:506)
     at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:402)
     at com.android.ddmlib.DeviceMonitor.access$100(De... (show balloon)

15:35:35 PSI and index do not match: PSI and index do not match

回复
阅读 19k
1 个回答

File > Invalidate caches and restart
尝试清除缓存

宣传栏