NativeScript / NativeScript/nativescript-cli
Karma can't access host on android emulator
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先檢視連結的 NativeScript CLI 比較內容,以及 Android 模擬器主機網路相關的參考資料。在受限的建置從屬機上驗證單元測試執行器,並在模擬器不必依賴外部主機 IP 即可連線至主機時,將該 issue 視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript
- 領域
- cli, mobile, testing
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100