I'm trying to run an android app but it's throwing these three lines in red.
[2012-07-08 20:39:23 - myapp] Failed to install myapp.apk on device 'emulator-5554': An attempt was made to access a socket in a way forbidden by its access permissions
[2012-07-08 20:39:23 - myapp] java.io.IOException: An attempt was made to access a socket in a way forbidden by its access permissions
[2012-07-08 20:39:23 - myapp] Launch canceled!
I've put the tools and plateform folder into enviormental variable and also tried every possible thing which can be done but nothing change.
I've tried it installing manually and its says by "adb install myapp.apk"
and I get
protocol error
rm failed for /data/local/tmp/myapp.apk, No such file or directory
Edited:
I can't install anything using SDK Manager I m getting
Fetching URL: http://developer.sonymobile.com/edk/android/repository.xml
Permission denied: recv failed
Done. Nothing was installed.
kindly help me to resolve it
thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…