Android Tutorial Basic4android works on linux!

carlosvzz

Member
Licensed User
Longtime User
AVD Manager


I had this same problem (DevSchema in AVD Manager) and i couldn't find the solution in forums or google.....

Until I tried with not the newest versions and finally worked .... I used Java JDK 6u31 and Android SDK 18 .

Now i can use B4A under Wine with Linux Mint......
 

johnaaronrose

Active Member
Licensed User
Longtime User

The oldest JDK is 6u39 on Oracle's JDK Download site. The oldest Android SDK on developer.andoid.com is r21. Could you point me to where JDK 6u31 and Android SDK 18 can be obtained?
 

carlosvzz

Member
Licensed User
Longtime User
The oldest JDK is 6u39 on Oracle's JDK Download site. The oldest Android SDK on developer.andoid.com is r21. Could you point me to where JDK 6u31 and Android SDK 18 can be obtained?

Maybe the Java JDK 6u39 could work .... i tried with the version from this post
http://www.b4x.com/forum/basic4android-getting-started-tutorials/21202-b4a-2-02-wine-ubuntu-12-04-a.html#post140307

You can obtain the programs from :
JDK 6u31 Java Archive Downloads - Java SE 6

Android SDK 18 http://dl.google.com/android/installer_r18-windows.exe
 

johnaaronrose

Active Member
Licensed User
Longtime User

Thank you. I just tried using my amended android.bat & find_java.bat etc. It didn't work. Perhaps I need to do exactly as in
HOW-TO: Installing MoSync and Android SDK on Ubuntu using Wine | MoSync Forum Topic

Is that what you did?

PS I also noticed that if you use SDK Manager to install the API for ICS (I think that it's 18) then it requires r21 tools. Did you do that?
 

johnaaronrose

Active Member
Licensed User
Longtime User

carlosvzz,

I've now done exactly as the MoSync method and ensuring that r21 tools were not downloaded. In addition to Android 2.3.3 api SDK Platform, I downloaded Android Support Library & Google USB driver as they were selected by default. However, I still had the same problem with AVD Manager. I'm baffled. I'm using Ubuntu 32 bit Precise. Any ideas?

I installed .Net2 & .Net2sp1 & .Net2sp2 using winetricks. I'm using Wine 1.5.2 from the Ubuntu Wine Team's ppa so that I could install .Net2sp1 & .Net2sp2. Did you install .Net2sp1 & .Net2sp2? Also, what version of Wine are you using?
 
Last edited:

carlosvzz

Member
Licensed User
Longtime User

I also followed the same instructions from the MoSync method.

I use Wine 1.5.15 (via Crossover, but it should work with wine too), and i have installed .Net 2.0 and .Net Service Pack 2

I got the Android 4.0 Ice Cream Sandwich API , downloading in another computer (with windows, and with the latest version from Java and Android SDK 21)... i just copy the folder from Platforms / android-14

i don't know what could be the problem in your computer , but i also had to try many times until finally got the correct installation.....
 

Theera

Expert
Licensed User
Longtime User
Hi gobblegob,
My Strategy is different yours which used VirtualBox,I use Wine directly. But I have problem where is the license.txt should paste? Please feedback to me,Thank you
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…