Develop
2013.04.23 16:57
[android] 디바이스(시뮬레이터) hosts 파일 수정하기
조회 수 31131 댓글 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
-
[mac] 맥에서 APM(apache,php,mysql) 구성하기
-
[android][ios] 알림(Notification) 기능에 대한 원리와 구현 방안 (APNS포함)
-
[svn] 콘솔에서 svn 사용시 레티나용 이미지 add 안될 때..
-
[ios] iOS 4.0 beta 에서 3.1.3으로 다운그레이드 하는 법
-
[mac] Mac에서 Mac으로 원격제어하기 (맥에서 맥으로)
-
[lego] 세그웨이 이것만 볼것.. ㅎㅎ
-
[mac] 맥에서 슬립(잠자기) 모드 진입을 막는 방법~
-
[android] 디바이스(시뮬레이터) hosts 파일 수정하기
-
[linux] 특정 문자열 포함된 파일 찾는 명령어
-
[js] 웹페이지에서 특정 엘리먼트 드래그, 복사, 컨텍스트메뉴, 키보드 막기
-
[ios] 소소한 팁 (Rect,Point,Path,URL 등)
-
[sql] insert into select 사용하기