The following command lines can only be used after V6.0.7.0
Tips: All command lines must be executed under NoxConsole.exe
1. Two ways to launch NoxPlayer
-name: the name of the instance
-index: the index of the instance
Examples:
NoxConsole.exe launch -name:NoxPlayer
NoxConsole.exe launch -index 0
2. Close emulator
NoxConsole.exe quit -index:0
3. Close all instances
NoxConsole.exe quitall
4. Add new instance
add <-name:nox_name> -systemtype:<5 | 7 | 9>
Examples:
NoxConsole.exe add -name:NoxPlayer3 -systemtype:7
5. Copy the instance
copy[-name:name]-from<-name:name>
Examples:
NoxConsole.exe copy-name:NoxPlayer1-from:NoxPlayer2
6. Delete the instance
remove <-name:name | -index:i>
Examples:
NoxConsole.exe remove -name:Noxplayer1
7. Install;uninstall;launch; close command lines
1. installapp <-name:name | -index:i> -filename:<apk_file_name>
2. installapp <-name:name | -index:i> -packagename:<apk_package_name>
3. uninstallapp <-name:name | -index:i> -packagename: <apk_package_name>
4. runapp <-name:name | -index:i> -packagename :<apk_package_name>
5. killapp <-name:nox_name | -index:nox_index> -packagename:<apk_package_name>
6. killappall <-name:nox_name | -index:nox_index>
8. Alter location info
locate <-name:name | -index:i> -gps: <Lng,Lat>
NoxConsole.exe locate -name:Noxplayer -gps:”-118.25,33.98”
9. setprop/getprop/adb
setprop <-name:name | -index:i> -key:name -value:val
getprop <-name:name | -index:i> -key:name
NoxConsole.exe adb -name:Noxpalyer -command:"shell pm list packages"
10. List info
NoxConsole.exe list
nox,NoxPlayer,2032678,1704928,3567547,7456
Nox_2,NoxPlayer2,852422,590830,36566,3772
11. Reboot NoxPlayer
reboot <-name:name | -index:i>
NoxConsole.exe reboot -name:NoxPlayer
12. Rename
rename <-name:name | -index:i> -title: <title>
NoxConsole.exe rename -name:NoxPlayer -title:test123
13. Action (Execute command lines)
action <-name:name | -index:i> -key: <name> -value :<val>
1. call.reboot packagename/null //reboot NoxPlayer, launch NoxPlayer, and open the app corresponding to packagename. null means don't open any app
2. call.keyboard back/home/menu/volumeup/volumedown //Execute Android buttons
3. call.locate lng,lat //Set location, longitude and latitude
4. call.shake null //shake the screen
5. call.input *********
Examples:
NoxConsole.exe action -name:NoxPlayer -key:call.keyboard -value:back
NoxConsole.exe action -name:NoxPlayer -key:call.reboot -value:com.android.settings
NoxConsole.exe action -name:NoxPlayer -key:call.locate -value:”12.3,45.6”
NoxConsole.exe action -name:NoxPlayer -key:call.shake
NoxConsole.exe action -name:NoxPlayer -key:call.input -value:””
14. Backup and restore instance
backup <-name:name | -index:i> -file:<filepath>
restore <-name:name | -index:i> -file:<filepath>
NoxConsole.exe backup -name:NoxPlayer -file:”E:\My backup.npbk”
NoxConsole.exe restore -name:NoxPlayer -file:”E:\My backup.npbk”
NoxConsole.exe restore -name:NoxPlayer -file:”E:\My backup.vmdk”
15. General Settings
modify <-name:name | -index:i>
[-resolution: <w,h,dpi>]
[-cpu:<1 | 2 | 3 | 4>]
[-memory:<512 | 1024 | 2048 | 4096 | 8192>]
[-manufacturer:*****]
[-model:*****]
[-pnumber:138********]
[-imei:<auto | 86516**********>]
[-imsi:<auto | 46000**********>]
[-simserial:<auto | 8986000000**********>]
[-androidid:<auto | ****************>]
[-mac:<auto | ************>]
V7022 added new command lines
16. Arrange instance
arrange
17. Lock window size
modify -lockwindow:<on | off>
18. Screen rotate
modify -autorotate:<on | off>
19. Open/close network
call.network on/off
20. Gravity
call.gravity x,y,z
21. FPS settings & Audio on/off
globalsetting [-fps:<0-60>] [-audio:<on | off>]