EXCELENT news for everyone who uses Ubuntu!!!
I have figured out how to use adb on B4A.
Just follow these steps:
1. Reboot your PC (Yes, do this first!)
2. Install adb tools. Do this opening the terminal (Ctrl+Alt+T), write following below and press Enter.
Code:
sudo apt-get install android-tools-adb
3. When installed, connect your phone on your pc. (Be sure to have USB Debugging enabled pn your phone.)
4. When connected, leave the terminal open,write following below and press Enter:
5. Now copy the contents from the downloaded zip
(You find the zip on the end of this post) file in the folderpath below: (Replace "valentino" with your username)
Code:
/home/valentino/workspace_b4/android-sdk-linux/android-sdk-linux/platform-tools/<copy all files here>
6. Start your B4A and compile your project. ADB will work now (perfectly fine with all its functions)!
Just note, that:
Every time you start ubuntu you must, at least once, open the terminal and write:
(If you don't want to write this every time, paste it in the autostart of Ubuntu.)
If you don't write this at least once, adb on wine
will not recognize your device!
If you have compiled your project without doing that, you will see adb failing to detect your device and then you automatically have messed up with your drivers. In that case, reboot your pc and try again! This time, with the command!!
ZIP File:
https://www.sendspace.com/file/iy4i0v
Credits: The (probably) modified ADB version was found by decompil.....nah, it was just opened with the native zip reader on Ubuntu following file: https://goo.im/devs/AdamOutler/JOdin3/
(Oh, that file? This is ODIN for Linux. It's a java file, just download and run with Java installed on your machine.)