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
'모바일개발(Mobile Dev) > 안드로이드개발(Android)' 카테고리의 다른 글
how to make material design navigation drawer with header view android (0) | 2016.08.07 |
---|---|
android v4 v7 (0) | 2016.08.06 |
making jar file on android studio (0) | 2016.07.24 |
android studio + nox (0) | 2016.07.13 |
android fingerprint making For Maps API (0) | 2016.06.12 |