Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when pushing the folder with files to the device on Windows #105

Open
viktor02 opened this issue Jun 18, 2023 · 0 comments
Open

Error when pushing the folder with files to the device on Windows #105

viktor02 opened this issue Jun 18, 2023 · 0 comments

Comments

@viktor02
Copy link

Hi, I encountered an error when copying the file folder to the device.

device.push(str(obb_folder), "/sdcard/Android/obb/") # obb_folder is WindowsPath object with absolute path

Result:

com.xxx -- directory, empty
com.xxx\xxx.obb -- wrongly named file

Expected result:

com.xxx\xxx.obb -- directory with xxx.obb file

Trying to remove trailing slash from dest folder

Also, when I tried dest path "/sdcard/Android/obb" instead of "/sdcard/Android/obb/", I found the file in the Android folder with name obb\com.xxx\xxx.obb

Info

Platform: Windows
Python 3.11.2
pure-python-adb 0.3.0.dev0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant