본문 바로가기
모바일개발(Mobile Dev)/안드로이드개발(Android)

android studio + nox (offline)

by 테크한스 2016. 7. 26.
반응형


1.set root ON in nox app player in Nox app setting (System Setting) in General Tab.

2.goto nox android setting (not nox app setting) then
About Phone/Tablet then tap 7 times on build Number until you see a message
shows "you are developer."

3.Go back to setting then go to develepoer option and activate it then set usb debugging ON.

4.get intellij working port in resource mointor/network tab/listening port/coloumn "Port" .

5.run cmd and change directory to bin folder of nox app
[ex. cd C:\Users\Hossein\AppData\Roaming\Nox\bin ].

6.run this code : nox_adb.exe connect 127.0.0.1:<retrived intellij port>

7.if shows "connected to 127.0.0.1:<retrived intellij port>" then you are successfully connected.

8.Go to intellij to Menu Run/Edit Configuration/Android Apptiaction/"Your Android Application Package name"
in right side in General tab set target device to usb device.

9.Run your application.

10.Have fun

반응형