2013-02-27 99 views
0

我傳入了一個Android項目,並在控制檯錯誤進口Android項目

[2013-02-28 00:13:04 - ddmlib]An established connection was aborted by the software in your host machine 
java.io.IOException: An established connection was aborted by the software in your host machine 
    at sun.nio.ch.SocketDispatcher.write0(Native Method) 
    at sun.nio.ch.SocketDispatcher.write(Unknown Source) 
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) 
    at sun.nio.ch.IOUtil.write(Unknown Source) 
    at sun.nio.ch.SocketChannelImpl.write(Unknown Source) 
    at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213) 
    at com.android.ddmlib.Client.sendAndConsume(Client.java:574) 
    at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348) 
    at com.android.ddmlib.Client.requestAllocationStatus(Client.java:420) 
    at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:854) 
    at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:822) 
    at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:781) 
    at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:649) 
    at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:42) 
    at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:577) 

給出以下錯誤我又怎麼可以改變目標SDK?

回答

0

您可以從項目屬性 - > Android中更改目標SDK,並且您將擁有一個表格,您可以在其中安裝一個SDK版本。