Develop
2013.04.23 16:57
[android] 디바이스(시뮬레이터) hosts 파일 수정하기
Views 31077 Comment 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
-
[html] HTML5 튜토리얼 링크 ㅋㅋ
-
[linux] 콘솔 기본언어 설정 방법
-
[sql] 내 방명록 답글 찾는 쿼리문.. (JOIN 구문)
-
[linux] ProFTPD 타임아웃 설정
-
[doc] UI개발시 유용한 소프트웨어 (개발 및 디버깅 툴)
-
[c] 다중연결 서버 만들기 #1 - fork() 사용
-
[router] 시스코 라우터 명령어 모드..
-
[linux] 아파치 설치/설정(proxy)
-
[js] 자바스크립트의 클로저 (JavaScript's Closure)
-
[php] 심플한 게시판 ㅋㅋ
-
[js] AngularJS를 소개합니다.
-
[linux] ipfwadm를 이용한 패킷필터링(구버전)