mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 13:07:33 +08:00
Fix: Unable to install minitouch in MuMu X (#2134)
This commit is contained in:
parent
ba1996702c
commit
73b5154505
@ -55,6 +55,9 @@ class AdbManager(DeployConfig):
|
||||
|
||||
for device in adbutils.adb.iter_device():
|
||||
initer = init.Initer(device, loglevel=logging.DEBUG)
|
||||
# MuMu X has no ro.product.cpu.abi, pick abi from ro.product.cpu.abilist
|
||||
if initer.abi not in ['x86_64', 'x86', 'arm64-v8a', 'armeabi-v7a', 'armeabi']:
|
||||
initer.abi = initer.abis[0]
|
||||
initer.set_atx_agent_addr('127.0.0.1:7912')
|
||||
|
||||
for _ in range(2):
|
||||
|
@ -570,6 +570,9 @@ class Connection(ConnectionAttr):
|
||||
"""
|
||||
logger.info('Install uiautomator2')
|
||||
init = u2.init.Initer(self.adb, loglevel=logging.DEBUG)
|
||||
# MuMu X has no ro.product.cpu.abi, pick abi from ro.product.cpu.abilist
|
||||
if init.abi not in ['x86_64', 'x86', 'arm64-v8a', 'armeabi-v7a', 'armeabi']:
|
||||
init.abi = init.abis[0]
|
||||
init.set_atx_agent_addr('127.0.0.1:7912')
|
||||
try:
|
||||
init.install()
|
||||
|
Loading…
Reference in New Issue
Block a user