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
-
[ios] 최신 UI 모음.. (나중에 정리할 것)
-
[ios] UI컨트롤러 샘플코드
-
[ios] libxml/tree.h file not found
-
[ios] 소소한 팁 (Rect,Point,Path,URL 등)
-
[ios] Background 에서 네트워크 사용
-
[ios] App States
-
영어의 12 시제 (The twelve tenses of English)
-
[mac] 컨텍스트(Context) 메뉴 "다음으로 열기" 내용 정리
-
git 브런치 배우기 (링크)
-
GCM 사용하기 3 (JSP로 GCM 푸시 서버 만들기)
-
GCM 사용하기 2 (단말에 GCM 구현하기)
-
[android] GCM 사용하기 1 (GCM 서비스 신청하기)