AzurLaneAutoScript icon indicating copy to clipboard operation
AzurLaneAutoScript copied to clipboard

mumu12更新至安卓15后,alas无法运行

Open a1s2de opened this issue 4 months ago • 5 comments

在提问之前...

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

描述你的问题

mumu12版本V6.3.0

Image

如何复现

启动alas就会出现

预期行为

正常运行alas

相关 Logs

alas运行log
2026-07-17 16:11:59.321 | INFO | Electron detected, remove log output to stdout                                        
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
                                                         START                                                         
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2026-07-17 16:11:59.558 | INFO | Start scheduler loop: alas                                                            
2026-07-17 16:11:59.603 | INFO | [Server] cn                                                                           
2026-07-17 16:11:59.614 | INFO | Bind task ['General', 'Alas']                                                         
2026-07-17 16:11:59.712 | INFO | Server "トラック" is available.                                                       
2026-07-17 16:11:59.715 | INFO | Pending tasks: ['Restart', 'Commission', 'Tactical', 'Research', 'Exercise', 'Dorm',  
'Meowfficer', 'Guild', 'Gacha', 'Reward', 'Freebies', 'Minigame', 'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop',            
'OpsiAbyssal', 'OpsiObscure', 'Daily', 'Hard', 'OpsiAshAssist', 'OpsiMonthBoss', 'OpsiMeowfficerFarming']              
2026-07-17 16:11:59.716 | INFO | [Task] Restart (Enable, 2026-07-16 23:00:00)                                          
2026-07-17 16:11:59.717 | INFO | Bind task ['General', 'Alas', 'Restart']                                              
═══════════════════════════════════════════════════════ DEVICE ════════════════════════════════════════════════════════
2026-07-17 16:12:00.416 | INFO | DEVICE                                                                                
2026-07-17 16:12:00.417 | INFO | [IS_ON_PHONE_CLOUD] False                                                             
2026-07-17 16:12:00.418 | INFO | [AdbBinary] D:\Program                                                                
Files\AlasApp_0.4.9_full\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe                        
2026-07-17 16:12:00.419 | INFO | [AdbClient] AdbClient(127.0.0.1, 5037)                                                
2026-07-17 16:12:00.420 | INFO | <<< DETECT DEVICE >>>                                                                 
2026-07-17 16:12:00.421 | INFO | Here are the available devices, copy to Alas.Emulator.Serial to use it or set         
Alas.Emulator.Serial="auto"                                                                                            
2026-07-17 16:12:00.422 | INFO | No available devices                                                                  
2026-07-17 16:12:00.428 | INFO | connected to 127.0.0.1:16384                                                          
2026-07-17 16:12:00.429 | INFO | [AdbDevice] AdbDevice(serial=127.0.0.1:16384)                                         
2026-07-17 16:12:00.430 | INFO | [PackageName] com.YoStarJP.AzurLane                                                   
2026-07-17 16:12:00.431 | INFO | [Server] jp                                                                           
2026-07-17 16:12:00.442 | INFO | [nemud.player_version]                                                                
2026-07-17 16:12:00.443 | WARNING | Failed to check check_mumu_app_keep_alive, file D:\Program Files\MuMu Player       
12\vms\MuMuPlayer-12.0-0\configs\customer_config.json not exists                                                       
─────────────────────────────────────────────── FIND EMULATOR INSTANCE ────────────────────────────────────────────────
2026-07-17 16:12:00.446 | INFO | FIND EMULATOR INSTANCE                                                                
2026-07-17 16:12:02.520 | INFO | MuMuPlayer12(serial="127.0.0.1:16384", name="MuMuPlayer-15.0-0", path="D:/Program     
Files/MuMu Player 12/nx_main/MuMuNxMain.exe")                                                                          
2026-07-17 16:12:02.521 | INFO | MuMuPlayer12(serial="127.0.0.1:16416", name="MuMuPlayer-15.0-1", path="D:/Program     
Files/MuMu Player 12/nx_main/MuMuNxMain.exe")                                                                          
────────────────────────────────────────────────── EMULATOR INSTANCE ──────────────────────────────────────────────────
2026-07-17 16:12:02.523 | INFO | EMULATOR INSTANCE                                                                     
2026-07-17 16:12:02.524 | INFO | Found emulator instance: MuMuPlayer12(serial="127.0.0.1:16384",                       
name="MuMuPlayer-15.0-0", path="D:/Program Files/MuMu Player 12/nx_main/MuMuNxMain.exe")                               
2026-07-17 16:12:02.527 | INFO | Bind task ['General', 'Alas', 'Restart']                                              
2026-07-17 16:12:02.528 | INFO | Save config ./config\alas.json, Alas.EmulatorInfo.Emulator='MuMuPlayer12',            
Alas.EmulatorInfo.name='MuMuPlayer-15.0-0', Alas.EmulatorInfo.path='D:/Program Files/MuMu Player                       
12/nx_main/MuMuNxMain.exe'                                                                                             
2026-07-17 16:12:02.533 | INFO | [customer.app_keptlive] false                                                         
2026-07-17 16:12:02.534 | INFO | Screenshot interval set to 0.3s                                                       
2026-07-17 16:12:02.536 | INFO | <<< MINITOUCH INIT >>>                                                                
2026-07-17 16:12:02.536 | INFO | Skip task `Restart` at scheduler start                                                
2026-07-17 16:12:02.538 | INFO | Delay task `Restart` to 2026-07-17 23:00:00 (server_update='00:00')                   
2026-07-17 16:12:02.542 | INFO | Bind task ['General', 'Alas', 'Restart']                                              
2026-07-17 16:12:02.544 | INFO | Save config ./config\alas.json, Restart.Scheduler.NextRun=datetime.datetime(2026, 7,  
17, 23, 0)                                                                                                             
2026-07-17 16:12:02.550 | INFO | [Server] jp                                                                           
2026-07-17 16:12:02.554 | INFO | Bind task ['General', 'Alas']                                                         
2026-07-17 16:12:02.556 | INFO | Pending tasks: ['Commission', 'Tactical', 'Research', 'Exercise', 'Dorm',             
'Meowfficer', 'Guild', 'Gacha', 'Reward', 'Freebies', 'Minigame', 'OpsiAshBeacon', 'OpsiDaily', 'OpsiShop',            
'OpsiAbyssal', 'OpsiObscure', 'Daily', 'Hard', 'OpsiAshAssist', 'OpsiMonthBoss', 'OpsiMeowfficerFarming']              
2026-07-17 16:12:02.557 | INFO | [Task] Commission (Enable, 2026-07-16 13:07:08)                                       
2026-07-17 16:12:02.558 | INFO | Bind task ['General', 'Alas', 'Commission']                                           
2026-07-17 16:12:02.563 | INFO | Scheduler: Start task `Commission`                                                    
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2026-07-17 16:12:02.564 | INFO | [Device Orientation] 1 (HOME key on the right)                                        
                                                      COMMISSION                                                       
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2026-07-17 16:12:02.566 | INFO | Update droidcast resolution                                                           
2026-07-17 16:12:02.567 | INFO | Create forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20441',              
remote='localabstract:minitouch')                                                                                      
2026-07-17 16:12:02.570 | INFO |                                                                                       
2026-07-17 16:12:02.571 | INFO |                                                                                       
2026-07-17 16:12:02.583 | WARNING | atx-agent has something wrong, auto recovering                                     
2026-07-17 16:12:02.585 | INFO | device 127.0.0.1:16384 is online                                                      
2026-07-17 16:12:02.661 | INFO | uiautomator2 version: 2.16.17                                                         
2026-07-17 16:12:02.662 | INFO | Shell: ('/data/local/tmp/atx-agent', 'server', '--stop')                              
2026-07-17 16:12:02.747 | INFO | Real version: [0, 10, 0], Expect version: [0, 10, 0]                                  
2026-07-17 16:12:02.748 | INFO | Shell: ('/data/local/tmp/atx-agent', 'server', '--nouia', '-d', '--addr',             
'127.0.0.1:7912')                                                                                                      
2026-07-17 16:12:02.770 | INFO | Check atx-agent version                                                               
2026-07-17 16:12:02.772 | INFO | Forward: local:tcp:4640 -> remote:tcp:7912                                            
2026-07-17 16:12:03.277 | INFO | Forward: local:tcp:4640 -> remote:tcp:7912                                            
2026-07-17 16:12:03.283 | INFO | atx-agent version 0.10.0                                                              
2026-07-17 16:12:03.288 | INFO | device wlan ip: 10.0.2.15                                                             
2026-07-17 16:12:03.292 | INFO | newCommandTimeout updated to 168h0m0s                                                 
2026-07-17 16:12:03.293 | INFO | [u2.Device] Device(atx_agent_url=http://127.0.0.1:4640)                               
2026-07-17 16:12:03.314 | INFO | [Device Orientation] 1 (HOME key on the right)                                        
2026-07-17 16:12:03.315 | INFO | Droicast resolution: (720, 1280)                                                      
2026-07-17 16:12:03.316 | INFO | Create forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20854',              
remote='tcp:53516')                                                                                                    
2026-07-17 16:12:03.328 | ERROR | ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed       
connection without response'))                                                                                         
2026-07-17 16:12:03.329 | INFO | <<< DROIDCAST INIT >>>                                                                
2026-07-17 16:12:03.330 | INFO | Stopping DroidCast                                                                    
2026-07-17 16:12:03.343 | INFO | Update droidcast resolution                                                           
2026-07-17 16:12:03.357 | INFO | [Device Orientation] 1 (HOME key on the right)                                        
2026-07-17 16:12:03.358 | INFO | Droicast resolution: (720, 1280)                                                      
2026-07-17 16:12:03.359 | INFO | Pushing DroidCast apk                                                                 
2026-07-17 16:12:03.360 | INFO | Execute: ['D:\\Program                                                                
Files\\AlasApp_0.4.9_full\\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']       
2026-07-17 16:12:03.387 | INFO | Starting DroidCast apk                                                                
2026-07-17 16:12:03.393 | INFO | ShellBackgroundResponse(success=True, pid=2231, description='Successfully started     
program: CLASSPATH=/data/local/tmp/DroidCast_raw.apk app_process / ink.mol.droidcast_raw.Main > /dev/null')            
2026-07-17 16:12:03.395 | INFO | Reuse forward: ForwardItem(serial='127.0.0.1:16384', local='tcp:20854',               
remote='tcp:53516')                                                                                                    
2026-07-17 16:12:03.396 | INFO | [DroidCast_raw] http://127.0.0.1:20854/screenshot?width=1280&height=720               
2026-07-17 16:12:03.576 | INFO | v 1                                                                                   
2026-07-17 16:12:03.577 | INFO | ^ 10 720 1280 0                                                                       
2026-07-17 16:12:03.578 | INFO | $ 2208                                                                                
2026-07-17 16:12:03.579 | INFO | minitouch running on port: 20441, pid: 2208                                           
2026-07-17 16:12:03.579 | INFO | max_contact: 10; max_x: 720; max_y: 1280; max_pressure: 0                             
2026-07-17 16:12:03.653 | INFO | [DroidCast] online                                                                    
2026-07-17 16:12:03.703 | WARNING | Unexpected screenshot: b':(  Failed to generate the screenshot on device / emulator
: HONOR - Bvlgari - Android OS : 15'                                                                                   
2026-07-17 16:12:03.710 | ERROR | ImageTruncated: cannot reshape array of size 47 into shape (1280,720)                
2026-07-17 16:12:04.714 | WARNING | Unexpected screenshot: b':(  Failed to generate the screenshot on device / emulator
: HONOR - Bvlgari - Android OS : 15'                                                                                   
2026-07-17 16:12:04.716 | ERROR | ImageTruncated: cannot reshape array of size 47 into shape (1280,720)                
2026-07-17 16:12:07.718 | WARNING | Unexpected screenshot: b':(  Failed to generate the screenshot on device / emulator
: HONOR - Bvlgari - Android OS : 15'                                                                                   
2026-07-17 16:12:07.719 | ERROR | ImageTruncated: cannot reshape array of size 47 into shape (1280,720)                
2026-07-17 16:12:10.722 | WARNING | Unexpected screenshot: b':(  Failed to generate the screenshot on device / emulator
: HONOR - Bvlgari - Android OS : 15'                                                                                   
2026-07-17 16:12:10.724 | ERROR | ImageTruncated: cannot reshape array of size 47 into shape (1280,720)                
2026-07-17 16:12:10.725 | CRITICAL | Retry screenshot_droidcast_raw() failed                                           
2026-07-17 16:12:10.726 | CRITICAL | Request human takeover                                                            
2026-07-17 16:12:10.867 | INFO | No provider specified, skip sending                                                   
2026-07-17 16:12:37.680 | INFO | Electron detected, remove log output to stdout

截图

Image Image

还有别的吗?

No response

a1s2de avatar Jul 17 '26 09:07 a1s2de

我的也是

Image

Na111ve avatar Jul 17 '26 10:07 Na111ve

a1s2de avatar Jul 17 '26 13:07 a1s2de

???

rhine14586 avatar Jul 17 '26 14:07 rhine14586

换个截图方式,默认的那个在新版挂掉了

Beyonder1337 avatar Jul 17 '26 16:07 Beyonder1337

换个截图方式,默认的那个在新版挂掉了

改成ADB_nc截图方案就解决了

htmrc avatar Jul 17 '26 19:07 htmrc