

b Displays the executable involved in creating each connection or listening port. a Displays all connections and listening ports. (Add -n to stop it trying to resolve hostnames, which will make it a lot faster.) UDP Get-Process -Id (Get-NetUDPEndpoint -LocalPort YourPortNumberHere).OwningProcess Add following two line based on your sdks support by default studio takes API level 1Ĭompile ":support-v4:22.2.0" // Add 22.2.New answer, powershell TCP Get-Process -Id (Get-NetTCPConnection -LocalPort YourPortNumberHere).OwningProcess compileSdkVersion 21 // Remove the "Android-L"īuildToolsVersion "20.0.0" //Replace "20"ĪpplicationId ".calculator" NOTE: You can play with different values based on your requirements. Take a look at my comments against the original changed values.

load your ade file into studio and do following modifications. I do not claim its a 100% solution for this issue but gives you an direction to the area of concern. Below is my changes if some one find it useful. There is lot of help on this, but bit scattered probably because of different versions for same issue. I was in the same mess while compiling AOSP app (e.g. It will start the update of package in non-gui mode and ask for permission etc. I had the exact same problem on Mac OS X. Did you get a dialog asking your to allow java to make network connections? Perhaps you clicked No? Solution 2

There are some security restrictions that Mac OS X places on any application trying to connect to the internet, especially when you've edited the ist file, which is not recommended. Typically, clicking the "Install missing platform(s) and sync project" works but seems like Android Studio isn't able to connect to the internet. The project you imported from eclipse is probably using an older version of the android SDK.
