Code: Select all
wine start /unix "virtualwinedrives/b4x64/drive_c/Program Files (x86)/Anywhere Software/Basic4android/adb.exe devices"
Code: Select all
wine start /unix "virtualwinedrives/b4x64/drive_c/Program Files (x86)/Anywhere Software/Basic4android/adb.exe devices"
Thanks for your useful reply. I've just created platform-tools in ~/VirtualWineDrives/B4X/drive_c/Android/ from this file platform-tools_r31.0.3-windows.zip downloaded from https://androidsdkmanager.azurewebsites ... tformtoolshotfrostworm wrote: ↑Fri Mar 04, 2022 9:15 am Keep it simple. The path seems to be in question, I don't see a root here? Assuming virtualwinedrives is in home??
Try this from terminal;
cd "virtualwinedrives/b4x64/drive_c/Program Files (x86)/Anywhere Software/Basic4android"
If you are not in your directory, I suspect you are missing the home/.wine prefix. Try this;
cd $HOME"/.wine/virtualwinedrives/b4x64/drive_c/Program Files (x86)/Anywhere Software/Basic4android"
Still not there? Use your filemanager to navigate then open the terminal in that folder. Look at the entire string for typos or (dots) hidden folders.
Once you navigate to your file simply type;
wine adb.exe
I keep all my programs on a separate partition to access them I use a scripted command such as;
cd "/media/userone/partition3/JoyToKey_(v3_79)"
wine JoyToKey.exe
I avoid using spaces, when possible replacing them with underscores.
Code: Select all
john@desktop:~/VirtualWineDrives/B4X/drive_c/Android$ ls
build-tools extras licenses platforms platform-tools tools
john@desktop:~/VirtualWineDrives/B4X/drive_c/Android$ cd platform-tools
john@desktop:~/VirtualWineDrives/B4X/drive_c/Android/platform-tools$ dir
adb.exe etc1tool.exe make_f2fs_casefold.exe NOTICE.txt
AdbWinApi.dll fastboot.exe make_f2fs.exe source.properties
AdbWinUsbApi.dll hprof-conv.exe mke2fs.conf sqlite3.exe
dmtracedump.exe libwinpthread-1.dll mke2fs.exe systrace
john@desktop:~/VirtualWineDrives/B4X/drive_c/Android/platform-tools$ wine adb.exe version
adb.exe F 03-08 08:05:59 408 253 sysdeps_win32.cpp:2908] _wenviron is not set, did you link with -municode?
abnormal program termination
Code: Select all
ohn@desktop:~$ B4X/platform-tools/adb version
Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as /home/john/B4X/platform-tools/adb
john@desktop:~$
adb.exe is required by Windows app B4A (part of app suite B4X) which runs under Wine Ok apart from an adb.exe problem. B4A stands for Basic4Android, which is a RAD tool to develop Android apps.Ebiko wrote: ↑Mon Mar 07, 2022 4:37 pm Sry, but why on earth are you trying to run adb with wine ?
Adb runs fine Natively in basically any Linux ?
You don't need wine for it.
Just sudo apt install adb ?
Google it.
You do not need wine to run adb and fastboot.
Both are available in official software repositories.
Code: Select all
ohn@desktop:~$ B4X/platform-tools/adb version
Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as /home/john/B4X/platform-tools/adb
john@desktop:~$
Code: Select all
john@desktop:~$ cd /home/john/VirtualWineDrives/B4X/drive_c/Android/platform-tools
john@desktop:~/VirtualWineDrives/B4X/drive_c/Android/platform-tools$ wine adb.exe version
adb.exe F 03-11 06:43:39 403 375 sysdeps_win32.cpp:2908] _wenviron is not set, did you link with -municode?
abnormal program termination
john@desktop:~/VirtualWineDrives/B4X/drive_c/Android/platform-tools$