Develop
2013.04.23 16:57
[android] 디바이스(시뮬레이터) hosts 파일 수정하기
조회 수 31080 댓글 0
remount 한다.
>adb remount
안드로이드에 있는 host 파일을 받는다.
>adb pull /system/etc/hosts D:\TDPlatform\android_home\backup\
hosts 파일 수정한다.
---------------------------------------
기본적으로 로컬만 등록되어 있음.
127.0.0.1 localhost
---------------------------------------
host 파일을 넣는다.
>adb push D:\TDPlatform\android_home\work\hosts /system/etc/
hosts 파일 수정 확인해보기
>adb -e shell
#cat /system/etc/hosts
-
[js] jQuery 충돌 회피
-
[linux] 처음 설치부터 APM 설치까지 (업데이트 할 것)
-
[android][ios] 알림(Notification) 기능에 대한 원리와 구현 방안 (APNS포함)
-
CentOS 6.5 USB 설치
-
[svn] 콘솔에서 svn 사용시 레티나용 이미지 add 안될 때..
-
[ios] iOS 4.0 beta 에서 3.1.3으로 다운그레이드 하는 법
-
맥에서 파일공유 (윈도우,맥)
-
[mac] Mac에서 Mac으로 원격제어하기 (맥에서 맥으로)
-
[js] jQuery 치트 시트
-
[php] 몽이가 준 ajax 채팅 소스 ㅋㅋ
-
[ios] iOS 6.0 이상 회전 하기 (이전 버전과 비교 변경 부분)
-
[sql] 조회구문(select)에서 중복 데이터를 한 번만 출력 (distinct)