Test B4A on Linux Mint without Virtualbox

Theera

Well-Known Member
Licensed User
Longtime User
Hi all,
I have tried to install B4A . I have problems are these belows.

1.Not Supported Thai Language,How to set UTF-8 coding?
2.Cann't to create AVD Manager.
3. Cann't to use B4A's Bridge version 2.07,unkhown ip address?


P.S.
1. I use Playonlinux instead of wine+Virtualbox
2. install jdk via Playonlinux
3. install sdk for linux version 21.1
4. install B4A via Playonlinux include dotnet 2.0 without service pack
 
Last edited:

alienhunter

Active Member
Licensed User
Longtime User
It has error which I sent in the forum."ping failed..." I cann't connect to the real device. and the google's sdk for linux doesn't supported USB(please see the picture before)


theera , your ip from the virtual machine has to be the same as the linux machine
ther should be a setting = ip same as host, or ip passtrough then B4a sees your device thru your router/homenetwork (if you have one)
if not you have to tell your virtual machine to connect to usb ports of your computer and connect your device
and since you run the virtual machine under windows you have to install the google sdk for windows in your virtual machine
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Hi alienhunter,

since you run the virtual machine under windows you have to install the google sdk for windows in your virtual machine

My strategy wasn't used the virtualbox(I have no windows in this case),I'm newbie about linux. I don't know how to setting ip adress in linux. I tired to not used the virtualbox,I used only dotnet framework2.0.
 
Upvote 0

alienhunter

Active Member
Licensed User
Longtime User
Hi alienhunter,



My strategy wasn't used the virtualbox(I have no windows in this case),I'm newbie about linux. I don't know how to setting ip adress in linux. I tired to not used the virtualbox,I used only dotnet framework2.0.


you have to read here it might solve your network problem

http://http://www.playonlinux.com/en/commentaires-792.html




Today, a new plugin for your favourite software is available. This plugin will allows you to install all PlayOnLinux scripts without internet access !
Indeed, we had worked on numerous solutions for people who don't have internet on their computer. But these solution was partial, they were efficient only for a few scripts

Never the less, Internet access is still needed for downloading wine version

But how does it work ?

For the beginers
You just need to download the plugin here:

Then, use PlayOnLinux settings menu to install it and configure it in beginers mode
This method is easy, but you will need to have at least an access to the internet to download all our scripts.

For the advanced users
You can run your own PlayOnLinux scripts server
This server can be used for your own computer, or to share scripts through a whole network, without having access to the internet. It works on all python-compatible operating system. I tested it on Linux and Mac OS X
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Hi alienhunter,
Thank you for your infomations,I think that it isn't concerned to resolved my problem. However,it help me more to learn. Perhaps, I think that there is another way to link for installation i.e. the bluetooth.
Example
if my real device is connect with pc then I use adb install myapp.apk command
 
Last edited:
Upvote 0

johnaaronrose

Active Member
Licensed User
Longtime User
I do not know why the IP address is not pingable. What I'm saying is that you should try to connect with ADB instead. It can work.
I haven't had any replies to this query on the current thread (b4linuxinstall-script-to-use-b4x-tools-in-linux.45092) for installing B4A on Linux so I thought I'd try asking you. I hope that you won't regard this as duplicate posting.

Using Linux, app compiles OK with .apk created but no connection using B4A-Bridge on WiFi: I put in ip address given by B4A-Bridge into B4A but "Error on ping address", even though I can ping same ip address OK from my Ubuntu desktop using Terminal.

I can connect by Bluetooth from my desktop to my phone and send files, after standard procedure of requesting connection and entering desktop supplied PIN into phone. But B4A-Bridge says that it's waiting for Bluetooth connections!
 
Last edited:
Upvote 0
Top