Pbatch / ClashRoyaleBuildABot

A platform for creating bots to play Clash Royale
MIT License
216 stars 37 forks source link

error #224

Closed TayXDXDXDXD closed 2 months ago

TayXDXDXDXD commented 2 months ago

Downloading ADB: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6.39/6.39 [00:00<00:00, 16.2MB/s] 2024-08-31 12:00:53.585 | DEBUG | clashroyalebuildabot.emulator.emulator:_run_command:136 - C:\Users\TayXD\Desktop\ClashRoyaleBuildABot\clashroyalebuildabot\emulator\platform-tools\adb -s emulator-5554 kill-server 2024-08-31 12:00:55.611 | DEBUG | clashroyalebuildabot.emulator.emulator:_run_command:147 - Command executed in 2.0242762565612793 seconds 2024-08-31 12:00:55.611 | DEBUG | clashroyalebuildabot.emulator.emulator:_run_command:136 - C:\Users\TayXD\Desktop\ClashRoyaleBuildABot\clashroyalebuildabot\emulator\platform-tools\adb -s emulator-5554 start-server 2024-08-31 12:00:57.647 | DEBUG | clashroyalebuildabot.emulator.emulator:_run_command:147 - Command executed in 2.0344276428222656 seconds 2024-08-31 12:00:57.647 | INFO | clashroyalebuildabot.emulator.emulator:_get_valid_device_serial:43 - Trying to connect to device 'emulator-5554' from config. 2024-08-31 12:00:57.655 | DEBUG | clashroyalebuildabot.emulator.emulator:_run_command:136 - C:\Users\TayXD\Desktop\ClashRoyaleBuildABot\clashroyalebuildabot\emulator\platform-tools\adb -s emulator-5554 get-state 2024-08-31 12:00:57.671 | ERROR | clashroyalebuildabot.emulator.emulator:_run_command:151 - Command '['C:\Users\TayXD\Desktop\ClashRoyaleBuildABot\clashroyalebuildabot\emulator\platform-tools\adb', '-s', 'emulator-5554', 'get-state']' returned non-zero exit status 1. 2024-08-31 12:00:57.671 | ERROR | clashroyalebuildabot.emulator.emulator:_run_command:152 - stdout: 2024-08-31 12:00:57.673 | ERROR | clashroyalebuildabot.emulator.emulator:_run_command:153 - stderr: error: device offline

2024-08-31 12:00:57.682 | WARNING | clashroyalebuildabot.emulator.emulator:_get_valid_device_serial:52 - Device 'emulator-5554' not found or not accessible: Command '['C:\Users\TayXD\Desktop\ClashRoyaleBuildABot\clashroyalebuildabot\emulator\platform-tools\adb', '-s', 'emulator-5554', 'get-state']' returned non-zero exit status 1. 2024-08-31 12:00:57.684 | WARNING | clashroyalebuildabot.emulator.emulator:_get_valid_device_serial:55 - Trying to find a connected device via adb devices... 2024-08-31 12:00:57.703 | ERROR | main:main:58 - An error occurred: No connected devices found

Leviaria commented 2 months ago

Have you enabled ADB in BlueStacks and restarted it? It looks like it's not detecting the device, or there isn't any device at all. Also, make sure the correct version of BlueStacks is installed; you can find this information in the Wiki.

TayXDXDXDXD commented 2 months ago