android

【android】エミュレータのhostsを書き換える

Android Debug Bridge (adb) を使用して ローカルにあるhostsファイルをエミュレータ上に配信させて書き換えます。 まず、エミュレータをroot権限で操作できるように設定します。 $ adb root remountします。 $ adb remount 127.0.0.1のまま差し替えちゃうと…