Test B4A on Linux Mint without Virtualbox

Discussion in 'Android Questions' started by Theera, Mar 20, 2013.

  1. Theera

    Theera Well-Known Member Licensed 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: Apr 10, 2013
  2. alienhunter

    alienhunter Active Member Licensed User


    did this on linux (ubuntu)

    1. You should use Virtualbox and run Windowsxx for B4A
    2. install on your Virtualbox windows the AVD manger/java for windows since B4A runs in windows
    3. you have to configure the virtualbox so it is taking the the ip form your host(linux)

    AH
     
  3. Theera

    Theera Well-Known Member Licensed User

    Hi alienhunter,

    I have use Linux Mint 14 which based from Ubuntu,I don't want Vbox to solved this because if I use it,I should to use windows directly. I have seen the webpage which can done,but I don't understand English very well. I understand only 5-10%.I need to do continue.
     
  4. Theera

    Theera Well-Known Member Licensed User

    Hi Erel,
    Every times I setup B4A ,it has b4aV0.1.ini occured,it's right? I think that if I found it,I cound fix Thai fonts instead of them,it's right?
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    b4av0.1.ini is saved each time you close the IDE or after you set the paths.
     
  6. Theera

    Theera Well-Known Member Licensed User

    Hi Erel,
    I'm still new programmer,I don't know to set path for adb.exe in b4av0.1.ini,I can adjust Thai for B4A already.
     
    Last edited: Apr 10, 2013
  7. Erel

    Erel Administrator Staff Member Licensed User

    What have you set under Tools - Configure Paths? ADB path is based on android.jar path.
     
  8. Theera

    Theera Well-Known Member Licensed User

    Yes,I do. All of them done within Playonlinux's the virtual Windows ,unless sdk from google's linux directly(sdk for linux ,don't use sdk for windows because it unkown the bat files).
     
    Last edited: Apr 10, 2013
  9. Theera

    Theera Well-Known Member Licensed User

    Hi all,
    I have donwloaded adb.exe from internet ,it could finished this problem already. But I cann't create AVD manager , make to know ip address which linked to B4A's bridge and make compatible to USB drive . Who are follow me,please to guide me too.
     
    Last edited: Mar 22, 2013
  10. Theera

    Theera Well-Known Member Licensed User

    Hi Erel,
    The lastest,I could finished avd manager,and it could run as picture below. But I couldn't compile to Emulator and device. I have copied filles (i.e. adb.exe,aapt.exe and Zipalign.exe ) which B4A's requested. I don't know that I must copy some files too in order to compile b4a's app.
     
    Last edited: Apr 10, 2013
  11. Theera

    Theera Well-Known Member Licensed User

    Hi Erel,

    I can make B4A run on Linux Mint. But I still find the stratgy to solve with B4A's bridge. The picture is shown as B4A could run on linux Mint without using MS Windows or Virtual MS Windows. The B4A isn't attached with MS Windows.
     
    Last edited: Apr 10, 2013
  12. Theera

    Theera Well-Known Member Licensed User

    Here you are.My details I'm sorry.I must write only Thai language.
     
  13. Theera

    Theera Well-Known Member Licensed User

    My strategy still be not solved about bridge.I don't know to do work with the bridge v. 2.07 see the picture
     
    Last edited: Mar 24, 2013
  14. Erel

    Erel Administrator Staff Member Licensed User

    Are you trying to connect to a real device? Which error do you get?
     
  15. Theera

    Theera Well-Known Member Licensed 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)
     
    Last edited: Mar 24, 2013
  16. Erel

    Erel Administrator Staff Member Licensed User

  17. Theera

    Theera Well-Known Member Licensed User

    I don't understand that after I re-install the google's sdk for linux,it has the same problem. he said that "google usb driver is not compatible with Linux"
    I don't know that it's concerned to B4a bridge's IP address? Is there way to adjust the B4a bridge's connection programming in this case?
     
    Last edited: Mar 24, 2013
  18. Erel

    Erel Administrator Staff Member Licensed 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.
     
  19. Theera

    Theera Well-Known Member Licensed User

    Hi Erel,
    I'm still a newbie. I have never used ADB command before.Please guide me to use. Do I must use terminal program before?
     
  20. Theera

    Theera Well-Known Member Licensed User

    I think What you are saying that the refer to website,OK?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice