OnmyojiAutoScript icon indicating copy to clipboard operation
OnmyojiAutoScript copied to clipboard

MUMU模拟器多开,两个模拟器 Serial抓取出来为什么是一样的

Open wellone92 opened this issue 8 months ago • 2 comments

在提问之前...

  • [x] 我已经搜索了现有的 issues
  • [x] 我在提问题之前至少花费了 5 分钟来思考和准备
  • [x] 我已经阅读了文档中的 常见问题(FAQ)
  • [x] 这个问题出现了至少三次,不是偶发的
  • [ ] 我使用 OAS 的 dev 分支

描述你的问题

我下的是MUMU模拟器12,正常按提示填模拟器 Serial 127.0.0.1:16384 会报错,单开填auto自动识别出来的模拟器 Serial 是 127.0.0.1:7555

然后我开模拟器分身,结果自动识别出来的还是 127.0.0.1:7555

多开一起启动,只会有一个模拟器正常运行

如何复现

  1. 前往 '...'
  2. 点击 '....'
  3. 滑动到 '....'
  4. 出现问题

预期行为

No response

相关 Logs

──────────────────────────────────── START ─────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
INFO           | 18:15:30.008 | Start scheduler loop: oas1                            
INFO           | 18:15:30.023 | Pending tasks: ['Exploration']                        
INFO           | 18:15:30.025 | [Task] Exploration (Enable, 5, 2025-04-26 00:26:14)   
════════════════════════════════════ DEVICE ════════════════════════════════════
INFO           | 18:15:30.029 |   DEVICE                                              
INFO           | 18:15:30.032 | [AdbBinary]                                           
         C:/Users/ADMINI~1/Desktop/OAS/OAS/ONMYOJ~1/toolkit/Lib/site-packages/ad
         butils/binaries/adb.exe                                                
INFO           | 18:15:30.034 | [AdbClient] AdbClient(127.0.0.1, 5037)                
INFO           | 18:15:30.037 | <<< DETECT DEVICE >>>                                 
INFO           | 18:15:30.039 | Here are the available devices, copy to               
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"      
INFO           | 18:15:30.041 | 127.0.0.1:7555                                        
INFO           | 18:15:30.043 | emulator-5554                                         
INFO           | 18:15:30.046 | already connected to 127.0.0.1:7555                   
INFO           | 18:15:30.048 | [AdbDevice] AdbDevice(serial=127.0.0.1:7555)          
INFO           | 18:15:30.049 | <<< DETECT PACKAGE >>>                                
INFO           | 18:15:30.052 | Get package list                                      
INFO           | 18:15:30.205 | Here are the available packages in device             
         "127.0.0.1:7555", copy to Alas.Emulator.PackageName to use it          
INFO           | 18:15:30.208 | com.netease.onmyoji.wyzymnqsd_cps                     
INFO           | 18:15:30.209 | Auto package detection found only one package, using  
         it                                                                     
INFO           | 18:15:30.211 | Server changed, release resources                     
INFO           | 18:15:30.213 | [PackageName] com.netease.onmyoji.wyzymnqsd_cps       
INFO           | 18:15:30.215 | <<< HANDLE >>>                                        
INFO           | 18:15:30.217 | Handle is handle num. oas use it as root handle num   
INFO           | 18:15:30.219 | Handle number 656684 is valid                         
INFO           | 18:15:30.220 | The root handle title is MuMu模拟器12 and num is      
         656684     




START ─────────────────────────────────────
════════════════════════════════════════════════════════════════════════════════
INFO           | 18:11:51.735 | Start scheduler loop: oas2                            
INFO           | 18:11:51.753 | Pending tasks: ['Orochi']                             
INFO           | 18:11:51.757 | [Task] Orochi (Enable, 5, 2025-04-26 17:52:26)        
════════════════════════════════════ DEVICE ════════════════════════════════════
INFO           | 18:11:51.763 |   DEVICE                                              
INFO           | 18:11:51.769 | [AdbBinary]                                           
         C:/Users/ADMINI~1/Desktop/OAS/OAS/ONMYOJ~1/toolkit/Lib/site-packages/ad
         butils/binaries/adb.exe                                                
INFO           | 18:11:51.771 | [AdbClient] AdbClient(127.0.0.1, 5037)                
INFO           | 18:11:51.775 | <<< DETECT DEVICE >>>                                 
INFO           | 18:11:51.778 | Here are the available devices, copy to               
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"      
INFO           | 18:11:54.322 | 127.0.0.1:7555                                        
INFO           | 18:11:54.330 | already connected to 127.0.0.1:7555                   
INFO           | 18:11:54.336 | [AdbDevice] AdbDevice(serial=127.0.0.1:7555)          
INFO           | 18:11:54.340 | <<< DETECT PACKAGE >>>                                
INFO           | 18:11:54.342 | Get package list                                      
INFO           | 18:11:54.399 | Here are the available packages in device             
         "127.0.0.1:7555", copy to Alas.Emulator.PackageName to use it          
INFO           | 18:11:54.411 | com.netease.onmyoji.wyzymnqsd_cps                     
INFO           | 18:11:54.415 | Auto package detection found only one package, using  
         it                                                                     
INFO           | 18:11:54.426 | Server changed, release resources                     
INFO           | 18:11:54.430 | [PackageName] com.netease.onmyoji.wyzymnqsd_cps       
INFO           | 18:11:54.433 | <<< HANDLE >>>                                        
INFO           | 18:11:54.435 | Handle is handle num. oas use it as root handle num   
INFO           | 18:11:54.442 | Handle number 788678 is valid                         
INFO           | 18:11:54.445 | The root handle title is MuMu模拟器12-1 and num is    
         788678                                                                 
INFO           | 18:11:54.450 | Emulator handle structure:                            
INFO           | 18:11:54.452 | MuMu模拟器12-1

截图

No response

还有别的吗?

No response

wellone92 avatar Apr 26 '25 10:04 wellone92

要分别填模拟器 Serial 一个16384 另一个一般是16416,怀疑你是文档都没看

solomondevil4 avatar Apr 27 '25 05:04 solomondevil4

要分别填模拟器 Serial 一个16384 另一个一般是16416,怀疑你是文档都没看

没用,填16384,16416会提示连不上,我只是反馈问题,我自己用7555,另外加一个雷电模拟器解决了双开需求

wellone92 avatar Apr 27 '25 12:04 wellone92

可以用多开器看ADB端口,自己输入

Image

Dreamstarses avatar May 24 '25 18:05 Dreamstarses