kvarenzn / phisap

[deprecated] [for android] Semi-automatic player for the rhythm game "Phigros"
174 stars 38 forks source link

运行main.py时报错 #103

Open ZhangJJ295 opened 1 year ago

ZhangJJ295 commented 1 year ago

系统版本:windows 10 22h2 家庭版 python版本:3.11.0 pip版本:23.2.1 运行main.py时先显示gui 211765e1694069e254e2832a68a5a6dd_750 同意用户协议后报错 38717586ce46a548e67d722592edd044_750

kvarenzn commented 1 year ago

你好,想必你已经配置好adb了,那么请你贴一下adb devices的输出

ZhangJJ295 commented 1 year ago

adb devices List of devices attached 3ed7dc57 device

ZhangJJ295 commented 1 year ago

adb Android Debug Bridge version 1.0.31

-a - directs adb to listen on all interfaces for a connection -d - directs command to the only connected USB device returns an error if more than one USB device is present. -e - directs command to the only running emulator. returns an error if more than one emulator is running. -s - directs command to the device or emulator with the given serial number or qualifier. Overrides ANDROID_SERIAL environment variable. -p - simple product name like 'sooner', or a relative/absolute path to a product out directory like 'out/target/product/sooner'. If -p is not specified, the ANDROID_PRODUCT_OUT environment variable is used, which must be an absolute path. -H - Name of adb server host (default: localhost) -P - Port of adb server (default: 5037) devices [-l] - list all connected devices ('-l' will also list device qualifiers) connect [:] - connect to a device via TCP/IP Port 5555 is used by default if no port number is specified. disconnect [[:]] - disconnect from a TCP/IP device. Port 5555 is used by default if no port number is specified. Using this command with no additional arguments will disconnect from all connected TCP/IP devices.

device commands: adb push [-p]

scripting: adb wait-for-device - block until device is online adb start-server - ensure that there is a server running adb kill-server - kill the server if it is running adb get-state - prints: offline | bootloader | device adb get-serialno - prints: adb get-devpath - prints: adb status-window - continuously print device status for a specified device adb remount - remounts the /system partition on the device read-write adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program adb reboot-bootloader - reboots the device into the bootloader adb root - restarts the adbd daemon with root permissions adb usb - restarts the adbd daemon listening on USB adb tcpip - restarts the adbd daemon listening on TCP on the specified port networking: adb ppp [parameters] - Run PPP over USB. Note: you should not automatically start a PPP connection.

refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1 [parameters] - Eg. defaultroute debug dump local notty usepeerdns adb sync notes: adb sync [ ] can be interpreted in several ways: - If is not specified, both /system and /data partitions will be updated. - If it is "system" or "data", only the corresponding partition is updated. environmental variables: ADB_TRACE - Print debug information. A comma separated list of the following values 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given. ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.
ZhangJJ295 commented 1 year ago

另外,直到你给我打上稳定标签我才意识到这个项目有dev版,如果这个问题解决了那我再次使用dev版还会有影响吗(⊙﹏⊙)

ZhangJJ295 commented 1 year ago

这应该是我的问题,我使用stable版解包了最新版Phigros导致的报错,是我没有认真阅读readme

kvarenzn commented 1 year ago

这应该是我的问题,我使用stable版解包了最新版Phigros导致的报错,是我没有认真阅读readme

你这句给我整懵了 虽然README里写stable版最高支持3.1.1.1,不过如果能解包成功,就代表也可以支持该版本(只不过无法保证全部AP)

adb devices List of devices attached 3ed7dc57 device

看起来adb的输出很正常,那么我再看看,谢谢你提供的信息

另外,直到你给我打上稳定标签我才意识到这个项目有dev版,如果这个问题解决了那我再次使用dev版还会有影响吗(⊙﹏⊙)

你可以先尝试一下dev版,应该不会遇到类似的问题

ZhangJJ295 commented 1 year ago

好的,谢谢你👌