LmeSzinc / AzurLaneAutoScript

Azur Lane bot (CN/EN/JP/TW) 碧蓝航线脚本 | 无缝委托科研,全自动大世界
https://alas.azurlane.cloud
GNU General Public License v3.0
6.66k stars 785 forks source link

ALAS无法连接到模拟器 #3175

Closed QAQATT closed 10 months ago

QAQATT commented 11 months ago

在提问之前...

描述你的问题

ALAS无法连接到模拟器,但是MAA可以正常使用,已经将模拟器ADB替换为ALAS所用的ADB,但是还是不行,反过来也试过了

如何复现

预期行为

找到解决方法?

相关 Logs

2023-10-02 14:28:38.630 | INFO | Electron detected, remove log output to stdout                                        
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
                                                         START                                                         
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2023-10-02 14:28:38.696 | INFO | Start scheduler loop: alas                                                            
2023-10-02 14:28:38.698 | INFO | [Server] cn                                                                           
2023-10-02 14:28:38.711 | INFO | Bind task {'General', 'Alas'}                                                         
2023-10-02 14:28:38.714 | INFO | Pending tasks: ['Commission', 'Tactical', 'Research', 'Dorm', 'Meowfficer', 'Guild',  
'Reward', 'Freebies', 'OpsiDaily', 'Daily', 'OpsiAshAssist', 'EventSp', 'EventA', 'EventB', 'Event']                   
2023-10-02 14:28:38.715 | INFO | [Task] Commission (Enable, 2023-10-01 15:26:48)                                       
2023-10-02 14:28:38.716 | INFO | Bind task {'General', 'Alas', 'Commission'}                                           
═══════════════════════════════════════════════════════ DEVICE ════════════════════════════════════════════════════════
2023-10-02 14:28:39.763 | INFO | DEVICE                                                                                
2023-10-02 14:28:39.764 | INFO | [IS_ON_PHONE_CLOUD] False                                                             
2023-10-02 14:28:39.765 | INFO | [AdbBinary] F:\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe 
2023-10-02 14:28:39.768 | INFO | [AdbClient] AdbClient(127.0.0.1, 5037)                                                
2023-10-02 14:28:39.769 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:28:39.770 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:28:39.772 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:28:39.778 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:28:39.779 | INFO | [AdbDevice] AdbDevice(serial=127.0.0.1:16384)                                         
2023-10-02 14:28:39.780 | INFO | [PackageName] com.bilibili.azurlane                                                   
2023-10-02 14:28:39.781 | INFO | [Server] cn                                                                           
2023-10-02 14:28:39.788 | INFO | [nemud.app_keep_alive] false                                                          
2023-10-02 14:28:39.789 | INFO | Screenshot interval set to 0.3s                                                       
2023-10-02 14:28:39.790 | INFO | Patching screenshot method for mumu                                                   
2023-10-02 14:28:39.790 | INFO | Scheduler: Start task `Commission`                                                    
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
                                                      COMMISSION                                                       
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2023-10-02 14:28:39.798 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:28:39.800 | INFO | Reverse server listening on 10.0.2.2:20094, client can send data to 10.0.2.2:20094    
2023-10-02 14:28:39.807 | INFO | sdk_ver: 32                                                                           
2023-10-02 14:28:39.833 | INFO | [nc command] ['nc']                                                                   
2023-10-02 14:28:44.838 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:28:44.838 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:28:44.843 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:28:44.852 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:28:44.853 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:28:44.854 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:28:44.856 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:28:44.856 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:28:44.858 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:28:44.859 | INFO | Reverse server listening on 10.0.2.2:20052, client can send data to 10.0.2.2:20052    
2023-10-02 14:28:49.862 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:28:49.863 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:28:50.868 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:28:50.874 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:28:50.875 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:28:50.876 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:28:50.877 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:28:50.878 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:28:50.879 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:28:50.880 | INFO | Reverse server listening on 10.0.2.2:20419, client can send data to 10.0.2.2:20419    
2023-10-02 14:28:55.884 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:28:55.885 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:28:58.890 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:28:58.896 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:28:58.896 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:28:58.896 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:28:58.898 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:28:58.899 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:28:58.900 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:28:58.901 | INFO | Reverse server listening on 10.0.2.2:20211, client can send data to 10.0.2.2:20211    
2023-10-02 14:29:03.909 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:29:03.910 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:29:06.914 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:29:06.921 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:29:06.921 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:29:06.922 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:29:06.924 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:29:06.925 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:29:06.926 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:29:06.927 | INFO | Reverse server listening on 10.0.2.2:20855, client can send data to 10.0.2.2:20855    
2023-10-02 14:29:11.930 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:29:11.931 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:29:11.932 | CRITICAL | Retry screenshot_adb_nc() failed                                                  
2023-10-02 14:29:11.933 | CRITICAL | Request human takeover                                                            
2023-10-02 14:29:11.934 | INFO | No provider specified, skip sending             

----------------------------性能测试Log-------------------------------
2023-10-02 14:32:51.561 | INFO | Electron detected, remove log output to stdout                                        
2023-10-02 14:32:53.142 | INFO | [Server] cn                                                                           
2023-10-02 14:32:53.158 | INFO | Bind task {'General', 'Alas', 'Benchmark'}                                            
═══════════════════════════════════════════════════════ DEVICE ════════════════════════════════════════════════════════
2023-10-02 14:32:53.159 | INFO | DEVICE                                                                                
2023-10-02 14:32:53.161 | INFO | [IS_ON_PHONE_CLOUD] False                                                             
2023-10-02 14:32:53.162 | INFO | [AdbBinary] F:\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe 
2023-10-02 14:32:53.164 | INFO | [AdbClient] AdbClient(127.0.0.1, 5037)                                                
2023-10-02 14:32:53.165 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:32:53.166 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:32:53.169 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:32:53.174 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:32:53.175 | INFO | [AdbDevice] AdbDevice(serial=127.0.0.1:16384)                                         
2023-10-02 14:32:53.178 | INFO | [PackageName] com.bilibili.azurlane                                                   
2023-10-02 14:32:53.179 | INFO | [Server] cn                                                                           
2023-10-02 14:32:53.185 | INFO | [nemud.app_keep_alive] false                                                          
2023-10-02 14:32:53.186 | INFO | Screenshot interval set to 0.3s                                                       
2023-10-02 14:32:53.187 | INFO | Patching screenshot method for mumu                                                   
2023-10-02 14:32:53.189 | INFO | Disable stuck detection                                                               
2023-10-02 14:32:53.190 | INFO | Removing minicap                                                                      
2023-10-02 14:32:53.212 | INFO | <<< UI ENSURE >>>                                                                     
2023-10-02 14:32:53.213 | INFO | UI get current page                                                                   
2023-10-02 14:32:53.701 | INFO | [Screen_size] 1280x720                                                                
2023-10-02 14:32:54.192 | INFO | Unknown ui page                                                                       
2023-10-02 14:32:54.585 | INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:51474)                              
2023-10-02 14:32:54.632 | INFO | [Package_name] com.mumu.launcher                                                      
2023-10-02 14:32:54.633 | ERROR | GameNotRunningError: Game not running                                                
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│                                                                                                                     │
│ F:\AzurLaneAutoScript\module\webui\process_manager.py:167 in run_process                                            │
│                                                                                                                     │
│   164 │   │   │   elif func == "Benchmark":                                                                         │
│   165 │   │   │   │   from module.daemon.benchmark import run_benchmark                                             │
│   166 │   │   │   │                                                                                                 │
│ > 167 │   │   │   │   run_benchmark(config=config_name)                                                             │
│   168 │   │   │   elif func == "GameManager":                                                                       │
│   169 │   │   │   │   from module.daemon.game_manager import GameManager                                            │
│   170                                                                                                               │
│                                                                                                                     │
│ ┌──────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────┐ │
│ │              _ = ['--port', '22267']                                                                            │ │
│ │           args = Namespace(electron=True)                                                                       │ │
│ │ AzurLaneConfig = <class 'module.config.config.AzurLaneConfig'>                                                  │ │
│ │    config_name = 'alas'                                                                                         │ │
│ │   console_hdlr = <RichHandler (NOTSET)>                                                                         │ │
│ │              e = GameNotRunningError('Game not running')                                                        │ │
│ │           func = 'Benchmark'                                                                                    │ │
│ │         parser = ArgumentParser(prog='gui.py', usage=None, description=None, formatter_class=<class             │ │
│ │                  'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)                            │ │
│ │              q = <AutoProxy[Queue] object, typeid 'Queue' at 0x1d147e9b088>                                     │ │
│ │  run_benchmark = <function run_benchmark at 0x000001D176A834C8>                                                 │ │
│ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ │
│ F:\AzurLaneAutoScript\module\daemon\benchmark.py:237 in run_benchmark                                               │
│                                                                                                                     │
│   234                                                                                         ┌──── locals ─────┐   │
│   235 def run_benchmark(config):                                                              │ config = 'alas' │   │
│   236 │   try:                                                                                └─────────────────┘   │
│ > 237 │   │   Benchmark(config, task='Benchmark').run()                                                             │
│   238 │   │   return True                                                                                           │
│   239 │   except RequestHumanTakeover:                                                                              │
│   240 │   │   logger.critical('Request human takeover')                                                             │
│                                                                                                                     │
│ F:\AzurLaneAutoScript\module\daemon\benchmark.py:202 in run                                                         │
│                                                                                                                     │
│   199 │   def run(self):                                                                                            │
│   200 │   │   self.config.override(Emulator_ScreenshotMethod='ADB')                                                 │
│   201 │   │   self.device.uninstall_minicap()                                                                       │
│ > 202 │   │   self.ui_goto_campaign()                                                                               │
│   203 │   │   self.campaign_set_chapter('7-2')                                                                      │
│   204 │   │                                                                                                         │
│   205 │   │   logger.attr('DeviceType', self.config.Benchmark_DeviceType)                                           │
│                                                                                                                     │
│ ┌──────────────────────────────── locals ─────────────────────────────────┐                                         │
│ │ self = <module.daemon.benchmark.Benchmark object at 0x000001D146EEBC48> │                                         │
│ └─────────────────────────────────────────────────────────────────────────┘                                         │
│                                                                                                                     │
│ F:\AzurLaneAutoScript\module\ui\ui.py:256 in ui_goto_campaign                                                       │
│                                                                                                                     │
│   253 │   │   return self.ui_ensure(destination=page_main)                                                          │
│   254 │                                                                                                             │
│   255 │   def ui_goto_campaign(self):                                                                               │
│ > 256 │   │   return self.ui_ensure(destination=page_campaign)                                                      │
│   257 │                                                                                                             │
│   258 │   def ui_goto_event(self):                                                                                  │
│   259 │   │   return self.ui_ensure(destination=page_event)                                                         │
│                                                                                                                     │
│ ┌──────────────────────────────── locals ─────────────────────────────────┐                                         │
│ │ self = <module.daemon.benchmark.Benchmark object at 0x000001D146EEBC48> │                                         │
│ └─────────────────────────────────────────────────────────────────────────┘                                         │
│                                                                                                                     │
│ F:\AzurLaneAutoScript\module\ui\ui.py:243 in ui_ensure                                                              │
│                                                                                                                     │
│   240 │   │   │   bool: If UI switched.                                                                             │
│   241 │   │   """                                                                                                   │
│   242 │   │   logger.hr("UI ensure")                                                                                │
│ > 243 │   │   self.ui_get_current_page(skip_first_screenshot=skip_first_screenshot)                                 │
│   244 │   │   if self.ui_current == destination:                                                                    │
│   245 │   │   │   logger.info("Already at %s" % destination)                                                        │
│   246 │   │   │   return False                                                                                      │
│                                                                                                                     │
│ ┌───────────────────────────────────────── locals ─────────────────────────────────────────┐                        │
│ │           destination = <module.ui.page.Page object at 0x000001D1940BE488>               │                        │
│ │                  self = <module.daemon.benchmark.Benchmark object at 0x000001D146EEBC48> │                        │
│ │ skip_first_screenshot = True                                                             │                        │
│ └──────────────────────────────────────────────────────────────────────────────────────────┘                        │
│                                                                                                                     │
│ F:\AzurLaneAutoScript\module\ui\ui.py:172 in ui_get_current_page                                                    │
│                                                                                                                     │
│   169 │   │   │   │   timeout.reset()                                                                               │
│   170 │   │   │   │   continue                                                                                      │
│   171 │   │   │                                                                                                     │
│ > 172 │   │   │   app_check()                                                                                       │
│   173 │   │   │   minicap_check()                                                                                   │
│   174 │   │   │   rotation_check()                                                                                  │
│   175                                                                                                               │
│                                                                                                                     │
│ ┌───────────────────────────────────────── locals ─────────────────────────────────────────┐                        │
│ │             app_check = <function run_once.<locals>.wrapper at 0x000001D194132798>       │                        │
│ │         minicap_check = <function run_once.<locals>.wrapper at 0x000001D194132168>       │                        │
│ │                  page = <module.ui.page.Page object at 0x000001D1940DF988>               │                        │
│ │        rotation_check = <function run_once.<locals>.wrapper at 0x000001D1941011F8>       │                        │
│ │                  self = <module.daemon.benchmark.Benchmark object at 0x000001D146EEBC48> │                        │
│ │ skip_first_screenshot = False                                                            │                        │
│ │               timeout = Timer(limit=1.427/10, count=1/20)                                │                        │
│ └──────────────────────────────────────────────────────────────────────────────────────────┘                        │
│                                                                                                                     │
│ F:\AzurLaneAutoScript\module\base\decorator.py:193 in wrapper                                                       │
│                                                                                                                     │
│   190 │   def wrapper(*args, **kwargs):                                                                             │
│   191 │   │   if not wrapper.has_run:                                                                               │
│   192 │   │   │   wrapper.has_run = True                                                                            │
│ > 193 │   │   │   return f(*args, **kwargs)                                                                         │
│   194 │                                                                                                             │
│   195 │   wrapper.has_run = False                                                                                   │
│   196 │   return wrapper                                                                                            │
│                                                                                                                     │
│ ┌─────────────────────────────────────── locals ───────────────────────────────────────┐                            │
│ │    args = ()                                                                         │                            │
│ │       f = <function UI.ui_get_current_page.<locals>.app_check at 0x000001D194132708> │                            │
│ │  kwargs = {}                                                                         │                            │
│ │ wrapper = <function run_once.<locals>.wrapper at 0x000001D194132798>                 │                            │
│ └──────────────────────────────────────────────────────────────────────────────────────┘                            │
│                                                                                                                     │
│ F:\AzurLaneAutoScript\module\ui\ui.py:133 in app_check                                                              │
│                                                                                                                     │
│   130 │   │   @run_once                                                                                             │
│   131 │   │   def app_check():                                                                                      │
│   132 │   │   │   if not self.device.app_is_running():                                                              │
│ > 133 │   │   │   │   raise GameNotRunningError("Game not running")                                                 │
│   134 │   │                                                                                                         │
│   135 │   │   @run_once                                                                                             │
│   136 │   │   def minicap_check():                                                                                  │
│                                                                                                                     │
│ ┌──────────────────────────────── locals ─────────────────────────────────┐                                         │
│ │ self = <module.daemon.benchmark.Benchmark object at 0x000001D146EEBC48> │                                         │
│ └─────────────────────────────────────────────────────────────────────────┘                                         │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
GameNotRunningError: Game not running                                                                                  
2023-10-02 14:33:34.291 | INFO | Electron detected, remove log output to stdout                                        
2023-10-02 14:33:35.453 | INFO | [Server] cn                                                                           
2023-10-02 14:33:35.469 | INFO | Bind task {'Alas', 'Benchmark', 'General'}                                            
═══════════════════════════════════════════════════════ DEVICE ════════════════════════════════════════════════════════
2023-10-02 14:33:35.470 | INFO | DEVICE                                                                                
2023-10-02 14:33:35.471 | INFO | [IS_ON_PHONE_CLOUD] False                                                             
2023-10-02 14:33:35.472 | INFO | [AdbBinary] F:\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe 
2023-10-02 14:33:35.475 | INFO | [AdbClient] AdbClient(127.0.0.1, 5037)                                                
2023-10-02 14:33:35.476 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:33:35.477 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:33:35.479 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:33:35.480 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:33:35.484 | INFO | already connected to 127.0.0.1:16384                                                  
2023-10-02 14:33:35.486 | INFO | [AdbDevice] AdbDevice(serial=127.0.0.1:16384)                                         
2023-10-02 14:33:35.489 | INFO | [PackageName] com.bilibili.azurlane                                                   
2023-10-02 14:33:35.490 | INFO | [Server] cn                                                                           
2023-10-02 14:33:35.498 | INFO | [nemud.app_keep_alive] false                                                          
2023-10-02 14:33:35.499 | INFO | Screenshot interval set to 0.3s                                                       
2023-10-02 14:33:35.500 | INFO | Patching screenshot method for mumu                                                   
2023-10-02 14:33:35.501 | INFO | Disable stuck detection                                                               
2023-10-02 14:33:35.502 | INFO | Removing minicap                                                                      
2023-10-02 14:33:35.526 | INFO | <<< UI ENSURE >>>                                                                     
2023-10-02 14:33:35.527 | INFO | UI get current page                                                                   
2023-10-02 14:33:35.872 | INFO | [Screen_size] 1280x720                                                                
2023-10-02 14:33:35.889 | INFO | [UI] page_main                                                                        
2023-10-02 14:33:35.890 | INFO | Goto page_campaign                                                                    
2023-10-02 14:33:35.892 | INFO | <<< UI GOTO PAGE_CAMPAIGN >>>                                                         
2023-10-02 14:33:35.901 | INFO | Page switch: page_main -> page_campaign_menu                                          
2023-10-02 14:33:35.915 | INFO | Click (1088,  339) @ MAIN_GOTO_CAMPAIGN                                               
2023-10-02 14:33:35.917 | INFO | <<< MINITOUCH INIT >>>                                                                
2023-10-02 14:33:35.928 | INFO | [Device Orientation] 1 (HOME key on the right)                                        
2023-10-02 14:33:35.930 | INFO | Create forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20672',              
remote='localabstract:minitouch')                                                                                      
2023-10-02 14:33:35.934 | INFO | v 1                                                                                   
2023-10-02 14:33:35.934 | INFO | ^ 10 720 1280 0                                                                       
2023-10-02 14:33:35.935 | INFO | $ 3454                                                                                
2023-10-02 14:33:35.936 | INFO | minitouch running on port: 20672, pid: 3454                                           
2023-10-02 14:33:35.936 | INFO | max_contact: 10; max_x: 720; max_y: 1280; max_pressure: 0                             
2023-10-02 14:33:37.152 | INFO | Page switch: page_campaign_menu -> page_campaign                                      
2023-10-02 14:33:37.153 | INFO | Click ( 380,  393) @ CAMPAIGN_MENU_GOTO_CAMPAIGN                                      
2023-10-02 14:33:37.748 | INFO | Page arrive: page_campaign                                                            
2023-10-02 14:33:37.749 | INFO | <<< UI ENSURE >>>                                                                     
2023-10-02 14:33:37.750 | INFO | UI get current page                                                                   
2023-10-02 14:33:37.753 | INFO | [UI] page_campaign                                                                    
2023-10-02 14:33:37.754 | INFO | Already at page_campaign                                                              
2023-10-02 14:33:37.805 | INFO | [Mode_switch_1] hard                                                                  
2023-10-02 14:33:37.806 | INFO | <<< UI ENSURE INDEX >>>                                                               
2023-10-02 14:33:37.951 | INFO | No stage found.                                                                       
2023-10-02 14:33:38.364 | INFO | Loading OCR model: ./bin/cnocr_models/azur_lane                                       
2023-10-02 14:33:38.603 | INFO | [campaign 0.321s] ['7--2', '7--3', '7--4', '7--1']                                    
2023-10-02 14:33:38.605 | INFO | [Chapter] 7                                                                           
2023-10-02 14:33:38.606 | INFO | [Stage] 7-2, 7-3, 7-4, 7-1                                                            
2023-10-02 14:33:38.606 | INFO | [Index] 7                                                                             
2023-10-02 14:33:38.607 | INFO | [DeviceType] emulator_android_12                                                      
2023-10-02 14:33:38.608 | INFO | [TestScene] screenshot_click                                                          
══════════════════════════════════════════════════════ BENCHMARK ══════════════════════════════════════════════════════
2023-10-02 14:33:38.609 | INFO | BENCHMARK                                                                             
2023-10-02 14:33:38.610 | INFO | Testing screenshot methods: ('ADB', 'ADB_nc', 'uiautomator2', 'DroidCast',            
'DroidCast_raw')                                                                                                       
2023-10-02 14:33:38.611 | INFO | Testing click methods: ('ADB', 'uiautomator2', 'minitouch')                           
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:33:38.613 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:33:38.614 | INFO | Testing function: screenshot_adb                                                      
2023-10-02 14:33:38.870 | INFO | [01/15] 0.255s                                                                        
2023-10-02 14:33:39.123 | INFO | [02/15] 0.252s                                                                        
2023-10-02 14:33:39.392 | INFO | [03/15] 0.268s                                                                        
2023-10-02 14:33:39.647 | INFO | [04/15] 0.254s                                                                        
2023-10-02 14:33:39.904 | INFO | [05/15] 0.256s                                                                        
2023-10-02 14:33:40.169 | INFO | [06/15] 0.263s                                                                        
2023-10-02 14:33:40.425 | INFO | [07/15] 0.254s                                                                        
2023-10-02 14:33:40.672 | INFO | [08/15] 0.245s                                                                        
2023-10-02 14:33:40.936 | INFO | [09/15] 0.263s                                                                        
2023-10-02 14:33:41.187 | INFO | [10/15] 0.249s                                                                        
2023-10-02 14:33:41.454 | INFO | [11/15] 0.266s                                                                        
2023-10-02 14:33:41.720 | INFO | [12/15] 0.264s                                                                        
2023-10-02 14:33:41.969 | INFO | [13/15] 0.248s                                                                        
2023-10-02 14:33:42.237 | INFO | [14/15] 0.268s                                                                        
2023-10-02 14:33:42.496 | INFO | [15/15] 0.257s                                                                        
2023-10-02 14:33:42.497 | INFO | Benchmark tests done                                                                  
2023-10-02 14:33:42.507 | INFO | Time cost 0.255s (12 best results out of 15 tests)                                    
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:33:42.509 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:33:42.510 | INFO | Testing function: screenshot_adb_nc                                                   
2023-10-02 14:33:42.516 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:33:42.517 | INFO | Reverse server listening on 10.0.2.2:20638, client can send data to 10.0.2.2:20638    
2023-10-02 14:33:42.524 | INFO | sdk_ver: 32                                                                           
2023-10-02 14:33:42.541 | INFO | [nc command] ['nc']                                                                   
2023-10-02 14:33:47.545 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:33:47.546 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:33:47.550 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:33:47.557 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:33:47.558 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:33:47.559 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:33:47.561 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:33:47.562 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:33:47.563 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:33:47.564 | INFO | Reverse server listening on 10.0.2.2:20774, client can send data to 10.0.2.2:20774    
2023-10-02 14:33:52.568 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:33:52.569 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:33:53.574 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:33:53.582 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:33:53.583 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:33:53.585 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:33:53.586 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:33:53.587 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:33:53.589 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:33:53.590 | INFO | Reverse server listening on 10.0.2.2:20309, client can send data to 10.0.2.2:20309    
2023-10-02 14:33:58.594 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:33:58.595 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:34:01.600 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:34:01.606 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:34:01.606 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:34:01.608 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:34:01.610 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:34:01.610 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:34:01.612 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:34:01.613 | INFO | Reverse server listening on 10.0.2.2:20253, client can send data to 10.0.2.2:20253    
2023-10-02 14:34:06.626 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:34:06.627 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:34:09.632 | INFO | disconnected 127.0.0.1:16384                                                          
2023-10-02 14:34:09.638 | INFO | connected to 127.0.0.1:16384                                                          
2023-10-02 14:34:09.639 | INFO | <<< DETECT DEVICE >>>                                                                 
2023-10-02 14:34:09.640 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2023-10-02 14:34:09.642 | INFO | 127.0.0.1:16384                                                                       
2023-10-02 14:34:09.643 | INFO | 127.0.0.1:7555                                                                        
2023-10-02 14:34:09.644 | INFO | Connecting to local emulator, using host 10.0.2.2                                     
2023-10-02 14:34:09.645 | INFO | Reverse server listening on 10.0.2.2:20535, client can send data to 10.0.2.2:20535    
2023-10-02 14:34:14.659 | WARNING | b'nc: connect: Connection refused\n'                                               
2023-10-02 14:34:14.660 | ERROR | AdbTimeout: reverse server accept timeout                                            
2023-10-02 14:34:14.661 | CRITICAL | Retry screenshot_adb_nc() failed                                                  
2023-10-02 14:34:14.662 | CRITICAL | RequestHumanTakeover                                                              
2023-10-02 14:34:14.663 | WARNING | Benchmark tests failed on func: screenshot_adb_nc                                  
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:34:14.665 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:34:14.666 | INFO | Testing function: screenshot_uiautomator2                                             
2023-10-02 14:34:14.673 | INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:51774)                              
2023-10-02 14:34:14.938 | INFO | [01/15] 0.272s                                                                        
2023-10-02 14:34:15.201 | INFO | [02/15] 0.262s                                                                        
2023-10-02 14:34:15.464 | INFO | [03/15] 0.263s                                                                        
2023-10-02 14:34:15.727 | INFO | [04/15] 0.261s                                                                        
2023-10-02 14:34:15.989 | INFO | [05/15] 0.261s                                                                        
2023-10-02 14:34:16.245 | INFO | [06/15] 0.255s                                                                        
2023-10-02 14:34:16.507 | INFO | [07/15] 0.260s                                                                        
2023-10-02 14:34:16.780 | INFO | [08/15] 0.272s                                                                        
2023-10-02 14:34:17.042 | INFO | [09/15] 0.261s                                                                        
2023-10-02 14:34:17.307 | INFO | [10/15] 0.265s                                                                        
2023-10-02 14:34:17.570 | INFO | [11/15] 0.260s                                                                        
2023-10-02 14:34:17.837 | INFO | [12/15] 0.266s                                                                        
2023-10-02 14:34:18.100 | INFO | [13/15] 0.262s                                                                        
2023-10-02 14:34:18.357 | INFO | [14/15] 0.254s                                                                        
2023-10-02 14:34:18.616 | INFO | [15/15] 0.257s                                                                        
2023-10-02 14:34:18.617 | INFO | Benchmark tests done                                                                  
2023-10-02 14:34:18.618 | INFO | Time cost 0.260s (12 best results out of 15 tests)                                    
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:34:18.620 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:34:18.621 | INFO | Testing function: screenshot_droidcast                                                
2023-10-02 14:34:18.623 | INFO | Create forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20858',              
remote='tcp:53516')                                                                                                    
2023-10-02 14:34:18.626 | ERROR | ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed       
connection without response'))                                                                                         
2023-10-02 14:34:18.628 | INFO | <<< DROIDCAST INIT >>>                                                                
2023-10-02 14:34:18.629 | INFO | Stopping DroidCast                                                                    
2023-10-02 14:34:18.655 | INFO | Pushing DroidCast apk                                                                 
2023-10-02 14:34:18.656 | INFO | Execute:                                                                              
['F:\\AzurLaneAutoScript\\toolkit\\Lib\\site-packages\\adbutils\\binaries\\adb.exe', '-s', '127.0.0.1:16384', 'push',  
'./bin/DroidCast/DroidCast_raw-release-1.0.apk', '/data/local/tmp/DroidCast_raw.apk']                                  
2023-10-02 14:34:18.705 | INFO | Starting DroidCast apk                                                                
2023-10-02 14:34:18.710 | INFO | ShellBackgroundResponse(success=True, pid=4441, description='Successfully started     
program: CLASSPATH=/data/local/tmp/DroidCast_raw.apk app_process / ink.mol.droidcast_raw.Main > /dev/null')            
2023-10-02 14:34:18.712 | INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20858',               
remote='tcp:53516')                                                                                                    
2023-10-02 14:34:18.713 | INFO | [DroidCast] http://127.0.0.1:20858/preview                                            
2023-10-02 14:34:18.979 | INFO | [DroidCast] online                                                                    
2023-10-02 14:34:19.322 | INFO | [01/15] 0.700s                                                                        
2023-10-02 14:34:19.560 | INFO | [02/15] 0.237s                                                                        
2023-10-02 14:34:19.811 | INFO | [03/15] 0.249s                                                                        
2023-10-02 14:34:20.044 | INFO | [04/15] 0.231s                                                                        
2023-10-02 14:34:20.280 | INFO | [05/15] 0.235s                                                                        
2023-10-02 14:34:20.512 | INFO | [06/15] 0.231s                                                                        
2023-10-02 14:34:20.756 | INFO | [07/15] 0.243s                                                                        
2023-10-02 14:34:20.996 | INFO | [08/15] 0.238s                                                                        
2023-10-02 14:34:21.230 | INFO | [09/15] 0.233s                                                                        
2023-10-02 14:34:21.465 | INFO | [10/15] 0.233s                                                                        
2023-10-02 14:34:21.700 | INFO | [11/15] 0.233s                                                                        
2023-10-02 14:34:21.933 | INFO | [12/15] 0.232s                                                                        
2023-10-02 14:34:22.170 | INFO | [13/15] 0.235s                                                                        
2023-10-02 14:34:22.404 | INFO | [14/15] 0.233s                                                                        
2023-10-02 14:34:22.648 | INFO | [15/15] 0.243s                                                                        
2023-10-02 14:34:22.649 | INFO | Benchmark tests done                                                                  
2023-10-02 14:34:22.650 | INFO | Time cost 0.235s (12 best results out of 15 tests)                                    
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:34:22.652 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:34:22.652 | INFO | Testing function: screenshot_droidcast_raw                                            
2023-10-02 14:34:22.744 | INFO | [01/15] 0.091s                                                                        
2023-10-02 14:34:22.840 | INFO | [02/15] 0.095s                                                                        
2023-10-02 14:34:22.928 | INFO | [03/15] 0.087s                                                                        
2023-10-02 14:34:23.010 | INFO | [04/15] 0.081s                                                                        
2023-10-02 14:34:23.098 | INFO | [05/15] 0.087s                                                                        
2023-10-02 14:34:23.194 | INFO | [06/15] 0.095s                                                                        
2023-10-02 14:34:23.282 | INFO | [07/15] 0.087s                                                                        
2023-10-02 14:34:23.362 | INFO | [08/15] 0.079s                                                                        
2023-10-02 14:34:23.445 | INFO | [09/15] 0.083s                                                                        
2023-10-02 14:34:23.535 | INFO | [10/15] 0.088s                                                                        
2023-10-02 14:34:23.628 | INFO | [11/15] 0.092s                                                                        
2023-10-02 14:34:23.714 | INFO | [12/15] 0.084s                                                                        
2023-10-02 14:34:23.799 | INFO | [13/15] 0.084s                                                                        
2023-10-02 14:34:23.894 | INFO | [14/15] 0.093s                                                                        
2023-10-02 14:34:23.986 | INFO | [15/15] 0.091s                                                                        
2023-10-02 14:34:23.988 | INFO | Benchmark tests done                                                                  
2023-10-02 14:34:23.988 | INFO | Time cost 0.086s (12 best results out of 15 tests)                                    
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:34:23.990 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:34:23.991 | INFO | Testing function: click_adb                                                           
2023-10-02 14:34:24.053 | INFO | [01/15] 0.061s                                                                        
2023-10-02 14:34:24.114 | INFO | [02/15] 0.061s                                                                        
2023-10-02 14:34:24.176 | INFO | [03/15] 0.060s                                                                        
2023-10-02 14:34:24.237 | INFO | [04/15] 0.061s                                                                        
2023-10-02 14:34:24.300 | INFO | [05/15] 0.062s                                                                        
2023-10-02 14:34:24.362 | INFO | [06/15] 0.062s                                                                        
2023-10-02 14:34:24.427 | INFO | [07/15] 0.063s                                                                        
2023-10-02 14:34:24.488 | INFO | [08/15] 0.061s                                                                        
2023-10-02 14:34:24.550 | INFO | [09/15] 0.061s                                                                        
2023-10-02 14:34:24.611 | INFO | [10/15] 0.061s                                                                        
2023-10-02 14:34:24.674 | INFO | [11/15] 0.062s                                                                        
2023-10-02 14:34:24.735 | INFO | [12/15] 0.061s                                                                        
2023-10-02 14:34:24.798 | INFO | [13/15] 0.062s                                                                        
2023-10-02 14:34:24.859 | INFO | [14/15] 0.061s                                                                        
2023-10-02 14:34:24.922 | INFO | [15/15] 0.062s                                                                        
2023-10-02 14:34:24.923 | INFO | Benchmark tests done                                                                  
2023-10-02 14:34:24.923 | INFO | Time cost 0.061s (12 best results out of 15 tests)                                    
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:34:24.925 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:34:24.926 | INFO | Testing function: click_uiautomator2                                                  
2023-10-02 14:34:32.808 | INFO | [01/15] 7.882s                                                                        
2023-10-02 14:34:32.972 | INFO | [02/15] 0.162s                                                                        
2023-10-02 14:34:33.138 | INFO | [03/15] 0.164s                                                                        
2023-10-02 14:34:33.304 | INFO | [04/15] 0.165s                                                                        
2023-10-02 14:34:33.467 | INFO | [05/15] 0.163s                                                                        
2023-10-02 14:34:33.634 | INFO | [06/15] 0.166s                                                                        
2023-10-02 14:34:33.797 | INFO | [07/15] 0.162s                                                                        
2023-10-02 14:34:33.962 | INFO | [08/15] 0.163s                                                                        
2023-10-02 14:34:34.121 | INFO | [09/15] 0.157s                                                                        
2023-10-02 14:34:34.287 | INFO | [10/15] 0.165s                                                                        
2023-10-02 14:34:34.450 | INFO | [11/15] 0.162s                                                                        
2023-10-02 14:34:34.615 | INFO | [12/15] 0.163s                                                                        
2023-10-02 14:34:34.775 | INFO | [13/15] 0.158s                                                                        
2023-10-02 14:34:34.938 | INFO | [14/15] 0.162s                                                                        
2023-10-02 14:34:35.105 | INFO | [15/15] 0.165s                                                                        
2023-10-02 14:34:35.106 | INFO | Benchmark tests done                                                                  
2023-10-02 14:34:35.107 | INFO | Time cost 0.162s (12 best results out of 15 tests)                                    
─────────────────────────────────────────────────── BENCHMARK TEST ────────────────────────────────────────────────────
2023-10-02 14:34:35.109 | INFO | BENCHMARK TEST                                                                        
2023-10-02 14:34:35.110 | INFO | Testing function: click_minitouch                                                     
2023-10-02 14:34:35.111 | INFO | <<< MINITOUCH INIT >>>                                                                
2023-10-02 14:34:35.121 | INFO | [Device Orientation] 1 (HOME key on the right)                                        
2023-10-02 14:34:35.123 | INFO | Create forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20942',              
remote='localabstract:minitouch')                                                                                      
2023-10-02 14:34:35.127 | INFO | v 1                                                                                   
2023-10-02 14:34:35.128 | INFO | ^ 10 720 1280 0                                                                       
2023-10-02 14:34:35.129 | INFO | $ 3454                                                                                
2023-10-02 14:34:35.130 | INFO | minitouch running on port: 20942, pid: 3454                                           
2023-10-02 14:34:35.131 | INFO | max_contact: 10; max_x: 720; max_y: 1280; max_pressure: 0                             
2023-10-02 14:34:35.182 | INFO | [01/15] 0.072s                                                                        
2023-10-02 14:34:35.234 | INFO | [02/15] 0.051s                                                                        
2023-10-02 14:34:35.285 | INFO | [03/15] 0.050s                                                                        
2023-10-02 14:34:35.337 | INFO | [04/15] 0.051s                                                                        
2023-10-02 14:34:35.389 | INFO | [05/15] 0.051s                                                                        
2023-10-02 14:34:35.441 | INFO | [06/15] 0.051s                                                                        
2023-10-02 14:34:35.492 | INFO | [07/15] 0.051s                                                                        
2023-10-02 14:34:35.544 | INFO | [08/15] 0.051s                                                                        
2023-10-02 14:34:35.596 | INFO | [09/15] 0.051s                                                                        
2023-10-02 14:34:35.648 | INFO | [10/15] 0.051s                                                                        
2023-10-02 14:34:35.699 | INFO | [11/15] 0.051s                                                                        
2023-10-02 14:34:35.751 | INFO | [12/15] 0.051s                                                                        
2023-10-02 14:34:35.803 | INFO | [13/15] 0.051s                                                                        
2023-10-02 14:34:35.855 | INFO | [14/15] 0.051s                                                                        
2023-10-02 14:34:35.906 | INFO | [15/15] 0.050s                                                                        
2023-10-02 14:34:35.907 | INFO | Benchmark tests done                                                                  
2023-10-02 14:34:35.908 | INFO | Time cost 0.051s (12 best results out of 15 tests)                                    
══════════════════════════════════════════════════ BENCHMARK RESULTS ══════════════════════════════════════════════════
2023-10-02 14:34:35.910 | INFO | BENCHMARK RESULTS                                                                     
┌───────────────┬────────┬────────────┐
│ Screenshot    │ Time   │ Speed      │
├───────────────┼────────┼────────────┤
│ ADB           │ 0.255s │ Fast       │
├───────────────┼────────┼────────────┤
│ ADB_nc        │ Failed │ Failed     │
├───────────────┼────────┼────────────┤
│ uiautomator2  │ 0.260s │ Fast       │
├───────────────┼────────┼────────────┤
│ DroidCast     │ 0.235s │ Fast       │
├───────────────┼────────┼────────────┤
│ DroidCast_raw │ 0.086s │ Ultra Fast │
└───────────────┴────────┴────────────┘
2023-10-02 14:34:35.914 | INFO | Recommend screenshot method: DroidCast_raw (0.086s)                                   
┌──────────────┬────────┬────────┐
│ Control      │ Time   │ Speed  │
├──────────────┼────────┼────────┤
│ ADB          │ 0.061s │ Fast   │
├──────────────┼────────┼────────┤
│ uiautomator2 │ 0.162s │ Medium │
├──────────────┼────────┼────────┤
│ minitouch    │ 0.051s │ Fast   │
└──────────────┴────────┴────────┘
2023-10-02 14:34:35.917 | INFO | Recommend control method: minitouch (0.051s)                                          
2023-10-02 14:34:35.917 | INFO | [alas] exited. Reason: Finish

截图

还有别的吗?

在性能测试中,ALAS可以正常连接模拟器进行控制

这是昨天不知道怎么运行成功的一次LOG 2023-10-01_alas.txt

Shawn88-ops commented 11 months ago

我今天也是这样,性能测试可以连接但是其他不行,具体来看貌似是是alas不识别现在的主界面了 image image

Shawn88-ops commented 11 months ago

我今天也是这样,性能测试可以连接但是其他不行,具体来看貌似是是alas不识别现在的主界面了 image image

我又进一步查看了报错截图,发现报错的截图明明停留在主界面但是识别到的是花图,这样看起来应该是识别的问题? 2023-10-02_18-59-48-192668

LostMyMind commented 11 months ago

mumu12吗?是的话需要在设置的最后一大项里关闭后台保活。

Shawn88-ops commented 11 months ago

mumu12吗?是的话需要在设置的最后一大项里关闭后台保活。

雷电模拟器5.0.61,之前是正常的,没有升级过

LostMyMind commented 11 months ago

mumu12吗?是的话需要在设置的最后一大项里关闭后台保活。

雷电模拟器5.0.61,之前是正常的,没有升级过

我看了看,你们好像不是同一个问题,要不要单独提一个issues?

QAQATT commented 11 months ago

MUMU12,后台挂机一直都没开

LmeSzinc commented 11 months ago

@QAQATT 参考 #3087 尝试重启电脑 @Shawn88-ops 与主楼无关,这是雷电专属问题,更换模拟器解决

QAQATT commented 11 months ago

貌似与 #1202 的问题有所类似 我使用iscsi 把NAS的硬盘映射至电脑上使用,并将模拟器都放入该盘 此前我电脑 IP 192.168.3.X 网段,NAS在 192.168.2.X ,两个网段相互连通 前两天我将 该网段都替换成了10.0.1.X和10.0.2.X ,网段,两个网段直接也可以互相连通 NAS处于10.0.1.X网段,电脑处于2.X网段,此时ALAS无法正常连接模拟器 但是我将电脑网段更改为1.X网段,ALAS又可以正常连接模拟器 现在又将IP段改回192段,ALAS正常工作,且在性能测试中,原本ADB_nc是失败的,现在也可以正常运行

LmeSzinc commented 11 months ago

nc 系截图方案是模拟器上使用 netcat 发送截图走内网回环到达 Alas,以此绕开 ADB 的稀烂转发,因此模拟器虚拟机和运行alas的宿主机需要在同一个 C 类网段下,比如 192.168.1.0/24