when trying to install an APK using buildozer under WSL (windows subsystem under linux) I get:
joachim@Laptop-MJ:/mnt/d/Joachim/PycharmProjects/takePicture$ /home/joachim/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/d/Joachim/PycharmProjects/takePicture/bin/takepicture-0.1-arm64-v8a_armeabi-v7a-debug.apk"Performing Streamed Installadb: failed to stat /mnt/d/Joachim/PycharmProjects/takePicture/bin/takepicture-0.1-arm64-v8a_armeabi-v7a-debug.apk: No such file or directory
but when I run stat I get for the same file:
joachim@Laptop-MJ:/mnt/d/Joachim/PycharmProjects/takePicture$ stat /mnt/d/Joachim/PycharmProjects/takePicture/bin/takepicture-0.1-arm64-v8a_armeabi-v7a-debug.apk File: /mnt/d/Joachim/PycharmProjects/takePicture/bin/takepicture-0.1-arm64-v8a_armeabi-v7a-debug.apk Size: 28205421 Blocks: 55096 IO Block: 4096 regular fileDevice: 30h/48d Inode: 281474977440833 Links: 1Access: (0777/-rwxrwxrwx) Uid: ( 1000/ joachim) Gid: ( 1000/ joachim)Access: 2022-08-26 14:18:29.666167600 +0200Modify: 2022-08-26 14:18:29.666167600 +0200Change: 2022-08-26 14:18:29.666167600 +0200 Birth: -
Please note that I have downloaded the windows version of adb and replaced it in buildozer (https://github.com/kivy/kivy/wiki/Using-Buildozer-on-windows-10-using-WSL). The adb command seems to work:
joachim@Laptop-MJ:/mnt/d/Joachim/PycharmProjects/takePicture$ adb devicesList of devices attachedce11171b6a4d221204 device
What's wrong here?
Update: When I use a powershell under native windows it works:
PS D:\Joachim\PycharmProjects\takePicture> adb.exe install -r .\bin\takepicture-0.1-arm64-v8a_armeabi-v7a-debug.apkPerforming Streamed InstallSuccess
can I run a native powershell directly from WSL?