NativeScript / NativeScript/nativescript-cli

Karma can't access host on android emulator

オープン
#2,316 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug unit testing
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

When running the unit test runner on a build slave, which has restricted internet access, the android emulator can't connect to the host machine through the external host ip address.

By doing some research i found out that the android emulator can connect to the host through a special ip, see http://stackoverflow.com/questions/8191192/reaching-a-network-device-by-ip-and-port-using-the-android-emulator.

The following solution worked for me:
https://github.com/NativeScript/nativescript-cli/compare/master...Essent:feature/proxy-2.5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、リンクされた NativeScript CLI の比較と Android エミュレーターのホストネットワーキングに関するリファレンスを確認します。制限された build slave 上で unit test runner を検証し、エミュレーターが外部のホスト IP に依存せずにホストへ到達できれば、issue は完了とみなします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, javascript
領域
cli, mobile, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。