AzurLaneAutoScript icon indicating copy to clipboard operation
AzurLaneAutoScript copied to clipboard

mumu12模拟器无法连接

Open ppzheng11 opened this issue 7 months ago • 4 comments

在提问之前...

  • [x] 我已经搜索了现有的 issues
  • [x] 我在提问题之前至少花费了 5 分钟来思考和准备
  • [x] 我已经阅读了 Wiki 中的 常见问题(FAQ)
  • [x] 我正在使用最新版的 Alas

描述你的问题

在mumu模拟器更新到V5.24.3,alas只能连接到 emulator-5554,报错截图可以显示模拟器界面,但是是旋转90度后的。回退到版本V4.1.33后,alas就无法连接到127.0.0.1:16384

如何复现

预期行为

No response

相关 Logs

═══════════════════════════════════════════════════════════════════════════════════
                                       START                                       
═══════════════════════════════════════════════════════════════════════════════════
INFO     00:41:51.453 │ Start scheduler loop: alas                                 
INFO     00:41:51.516 │ [Server] cn                                                
INFO     00:41:51.529 │ Bind task ['General', 'Alas']                              
INFO     00:41:51.787 │ Server "长戟计划" is available.                            
INFO     00:41:51.789 │ Pending tasks: ['Commission', 'Tactical', 'Research',      
         'Dorm', 'Meowfficer', 'Guild', 'Gacha', 'Reward', 'ShopFrequent',         
         'ShopOnce', 'Freebies', 'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop',         
         'OpsiObscure', 'OpsiArchive', 'Daily', 'Hard', 'OpsiAshAssist', 'EventSp',
         'Main', 'OpsiMeowfficerFarming', 'OpsiHazard1Leveling']                   
INFO     00:41:51.790 │ [Task] Commission (Enable, 2026-04-07 11:54:49)            
INFO     00:41:51.791 │ Bind task ['General', 'Alas', 'Commission']                
═════════════════════════════════════ DEVICE ══════════════════════════════════════
INFO     00:41:52.176 │ DEVICE                                                     
INFO     00:41:52.177 │ [IS_ON_PHONE_CLOUD] False                                  
INFO     00:41:52.178 │ [AdbBinary] D:\TOOLS\AlasApp_0.4.7_fullcn\AlasApp_0.4.9_ful
         lcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe
INFO     00:41:52.179 │ [AdbClient] AdbClient(127.0.0.1, 5037)                     
INFO     00:41:52.180 │ <<< DETECT DEVICE >>>                                      
INFO     00:41:52.180 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:41:52.182 │ No available devices                                       
INFO     00:41:52.182 │ Here are the devices detected but unavailable              
INFO     00:41:52.183 │ 127.0.0.1:16384 (offline)                                  
WARNING  00:41:52.185 │ Device 127.0.0.1:16384 is offline, disconnect it before    
         connecting                                                                
INFO     00:41:52.187 │ disconnected 127.0.0.1:16384                               
INFO     00:42:02.189 │ failed to connect to 127.0.0.1:16384                       
INFO     00:42:02.192 │ already connected to 127.0.0.1:16384                       
INFO     00:42:02.193 │ [AdbDevice] AdbDevice(serial=127.0.0.1:16384)              
INFO     00:42:02.193 │ [PackageName] com.bilibili.azurlane                        
INFO     00:42:02.193 │ [Server] cn                                                
ERROR    00:42:02.194 │ AdbError: device offline                                   
INFO     00:42:02.196 │ disconnected 127.0.0.1:16384                               
INFO     00:42:12.199 │ failed to connect to 127.0.0.1:16384                       
INFO     00:42:12.204 │ already connected to 127.0.0.1:16384                       
INFO     00:42:12.206 │ <<< DETECT DEVICE >>>                                      
INFO     00:42:12.207 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:42:12.208 │ No available devices                                       
INFO     00:42:12.209 │ Here are the devices detected but unavailable              
INFO     00:42:12.210 │ 127.0.0.1:16384 (offline)                                  
ERROR    00:42:12.211 │ AdbError: device offline                                   
INFO     00:42:13.212 │ disconnected 127.0.0.1:16384                               
INFO     00:42:23.214 │ failed to connect to 127.0.0.1:16384                       
INFO     00:42:23.217 │ already connected to 127.0.0.1:16384                       
INFO     00:42:23.219 │ <<< DETECT DEVICE >>>                                      
INFO     00:42:23.220 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:42:23.222 │ No available devices                                       
INFO     00:42:23.223 │ Here are the devices detected but unavailable              
INFO     00:42:23.224 │ 127.0.0.1:16384 (offline)                                  
ERROR    00:42:23.225 │ AdbError: device offline                                   
INFO     00:42:26.227 │ disconnected 127.0.0.1:16384                               
INFO     00:42:36.231 │ failed to connect to 127.0.0.1:16384                       
INFO     00:42:36.233 │ already connected to 127.0.0.1:16384                       
INFO     00:42:36.234 │ <<< DETECT DEVICE >>>                                      
INFO     00:42:36.235 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:42:36.236 │ No available devices                                       
INFO     00:42:36.237 │ Here are the devices detected but unavailable              
INFO     00:42:36.237 │ 127.0.0.1:16384 (offline)                                  
ERROR    00:42:36.239 │ AdbError: device offline                                   
INFO     00:42:39.241 │ disconnected 127.0.0.1:16384                               
INFO     00:42:49.243 │ failed to connect to 127.0.0.1:16384                       
INFO     00:42:49.245 │ already connected to 127.0.0.1:16384                       
INFO     00:42:49.246 │ <<< DETECT DEVICE >>>                                      
INFO     00:42:49.247 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:42:49.248 │ No available devices                                       
INFO     00:42:49.248 │ Here are the devices detected but unavailable              
INFO     00:42:49.249 │ 127.0.0.1:16384 (offline)                                  
ERROR    00:42:49.250 │ AdbError: device offline                                   
CRITICAL 00:42:49.251 │ Retry nemud_player_version() failed                        
CRITICAL 00:42:49.251 │ Request human takeover                                     
═══════════════════════════════════════════════════════════════════════════════════
                                       START                                       
═══════════════════════════════════════════════════════════════════════════════════
INFO     00:43:40.274 │ Start scheduler loop: alas                                 
INFO     00:43:40.340 │ [Server] cn                                                
INFO     00:43:40.350 │ Bind task ['General', 'Alas']                              
INFO     00:43:40.483 │ Server "长戟计划" is available.                            
INFO     00:43:40.485 │ Pending tasks: ['Commission', 'Tactical', 'Research',      
         'Dorm', 'Meowfficer', 'Guild', 'Gacha', 'Reward', 'ShopFrequent',         
         'ShopOnce', 'Freebies', 'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop',         
         'OpsiObscure', 'OpsiArchive', 'Daily', 'Hard', 'OpsiAshAssist', 'EventSp',
         'Main', 'OpsiMeowfficerFarming', 'OpsiHazard1Leveling']                   
INFO     00:43:40.486 │ [Task] Commission (Enable, 2026-04-07 11:54:49)            
INFO     00:43:40.487 │ Bind task ['General', 'Alas', 'Commission']                
═════════════════════════════════════ DEVICE ══════════════════════════════════════
INFO     00:43:40.883 │ DEVICE                                                     
INFO     00:43:40.884 │ [IS_ON_PHONE_CLOUD] False                                  
INFO     00:43:40.885 │ [AdbBinary] D:\TOOLS\AlasApp_0.4.7_fullcn\AlasApp_0.4.9_ful
         lcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe
INFO     00:43:40.886 │ [AdbClient] AdbClient(127.0.0.1, 5037)                     
INFO     00:43:40.887 │ <<< DETECT DEVICE >>>                                      
INFO     00:43:40.888 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:43:40.889 │ No available devices                                       
INFO     00:43:40.890 │ Here are the devices detected but unavailable              
INFO     00:43:40.891 │ 127.0.0.1:16384 (offline)                                  
WARNING  00:43:40.891 │ No available device found                                  
INFO     00:43:40.892 │ Brute force connect                                        
INFO     00:43:40.993 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     00:43:40.995 │ No available devices                                       
INFO     00:43:40.996 │ Here are the devices detected but unavailable              
INFO     00:43:40.996 │ 127.0.0.1:16384 (offline)                                  
WARNING  00:43:40.997 │ No available device found                                  
CRITICAL 00:43:40.998 │ No available device found, auto device detection cannot    
         work, please set an exact serial in Alas.Emulator.Serial instead of using 
         "auto"                                                                    
CRITICAL 00:43:40.999 │ Request human takeover

截图

Image Image

log.txt

还有别的吗?

No response

ppzheng11 avatar Apr 07 '26 16:04 ppzheng11

我的版本是5.24.3,单模拟器实例,在连接16384时没有任何BUG,连接5555截图会出现和你一样的竖屏BUG,用的是用DroidCase_raw。

Clyde-Li avatar Apr 08 '26 01:04 Clyde-Li

那请问你是16384和5555都可以直接连吗,我的现在只能连接到emulator-5554。

ppzheng11 avatar Apr 08 '26 01:04 ppzheng11

那请问你是16384和5555都可以直接连吗,我的现在只能连接到emulator-5554。

两个都能连

Clyde-Li avatar Apr 08 '26 01:04 Clyde-Li

使用 127.0.0.1:16xxx 连接 mumu 模拟器,而不是 emulator-5554 或者 127.0.0.1:5555

LmeSzinc avatar Apr 08 '26 20:04 LmeSzinc