- restart
en0interface bysudo ifconfig en0 down && sudo ifconfig en0 updoes not work ping 8.8.8.8connection ok, theicmpis workingpinglocalhost, gateway and the dns servers provided by network provider works find- both
nslookup google.com 8.8.8.8anddig baidu.com 8.8.8.8got no A record in return, the DNS resolve is unsuccessful - port scan using
nmap -Pn 8.8.8.8does not return53/tcpopen port - after creating PPTP over PPP connection to other server, the above symptoms just disappeared
brew install android-sdk
the
android-sdkpackage depends on and also conflicts withandroid-platform-tools, so every time you update yourandroid-sdkyou have to reinstallandroid-platform-tools(try tobrew unlink android-platform-tools.
- run
androidto install the android packages - add
ANDROID_HOMEandANDROID_SDKto environmentPATH
std::cout<<(typeid(sizeof(int))==typeid(std::size_t))<<std::endl;