You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-05-17 19:37:00

Conker1r
AB Artist
From: GlobeVille
Registered: 2010-10-07
Posts: 144

Android SDK on 64bit Archbang

So I am into android and I just found out that the Android SDK does not run in Archbang 64bit. It ran perfect on my laptop, so wtf right? It turns out that the Android SDK is 32bit only, that's why it ran on my laptop and not on the 64bit machine.
So after a little digging I found what I needed to do to get this thing running.

1. Download and update the sdk.
This step will work without 32bit libraries
 
2. Enable the multilib repo in /etc/pacman.conf

[multilib]
Include = /etc/pacman.d/mirrorlist

3. Update the system (this is optional but I did it anyway)

pacman -Syyu

4. Install multilib-devel. This is needed for the next step.

pacman -S multilib-devel 

push enter to install all 3 packages.

NOTE: this will replace base-devel on your system.
So if you are not into android don't do it.

5. Install lib32-ncurses
without it ./adb and other critical functions will not work.

pacman -S lib32-ncurses 

6.(Optional) Install various tools needed for working with android systems all all kinds.

pacman -S openjdk6 perl git gnupg flex bison gperf zip unzip sdl wxgtk squashfs-tools ncurses libpng zlib libusb libusb-compat readline 

Whoala! You now have a functional Android SDK setup that you can use to play with Android.
I like to root my systems and replace them with CyanogenMod. Or any other rom I may find interesting. CHEERS!


It's only chaos to those not interested.

"Power aint nothing if you don't use it."
"I call it a sin Not to rule the world, if you've been blessed, with the strength!"

Offline

#2 2012-05-18 03:55:44

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,618
Website

Re: Android SDK on 64bit Archbang

Thanks for letting us know...


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#3 2012-06-05 20:43:49

doug piston
Member
Registered: 2011-12-18
Posts: 64

Re: Android SDK on 64bit Archbang

I know this is an older thread but I've always just enabled multilib and ran 'packer -S android-sdk android-sdk-platform-tools android-udev'. I am very much into Android myself and have never had an issue

You could also install the needed eclipse plugins from the AUR.
https://aur.archlinux.org/packages.php?ID=14544

Last edited by doug piston (2012-06-05 20:45:44)

Offline

#4 2012-06-07 08:37:59

jdarnold
Member
From: Medford MA USA
Registered: 2011-11-26
Posts: 23
Website

Re: Android SDK on 64bit Archbang

I agree with Doug - it's always just 'worked' for me when using the packages. It is a little bit of a pain because you can't use the Android SDK Manager to update things, because the permissions are more restrictive. But the packages are updated fairly quickly.

The packages I have installed are:

$ pacman -Q |grep android
android-2.2 r03-2
android-2.3 r02-2
android-3.0 r02-1
android-4.0 r03-4
android-google-apis-10 2.3.3_r02-1
android-google-apis-11 3.0_r01-1
android-ndk r8-1
android-platform-10 2.3.3_r02-2
android-platform-11 3.0_r02-2
android-sdk r18-1
android-sdk-platform-tools r11-2
android-udev 1.1-1
eclipse-android 18.0.0-2
emacs-android-git 20091205-1

Offline

#5 2012-06-07 13:53:37

doug piston
Member
Registered: 2011-12-18
Posts: 64

Re: Android SDK on 64bit Archbang

jdarnold wrote:

I agree with Doug - it's always just 'worked' for me when using the packages. It is a little bit of a pain because you can't use the Android SDK Manager to update things, because the permissions are more restrictive. But the packages are updated fairly quickly.

The packages I have installed are:

$ pacman -Q |grep android
android-2.2 r03-2
android-2.3 r02-2
android-3.0 r02-1
android-4.0 r03-4
android-google-apis-10 2.3.3_r02-1
android-google-apis-11 3.0_r01-1
android-ndk r8-1
android-platform-10 2.3.3_r02-2
android-platform-11 3.0_r02-2
android-sdk r18-1
android-sdk-platform-tools r11-2
android-udev 1.1-1
eclipse-android 18.0.0-2
emacs-android-git 20091205-1

I see you have emacs-android... Have you tried vim + eclim?

Offline

#6 2012-06-07 20:04:33

jdarnold
Member
From: Medford MA USA
Registered: 2011-11-26
Posts: 23
Website

Re: Android SDK on 64bit Archbang

Ah no, I'm an Emacs man, through and through. Been using it since the mid-80s. My .emacs file probably goes back that far smile

Offline

#7 2012-06-07 21:10:44

doug piston
Member
Registered: 2011-12-18
Posts: 64

Re: Android SDK on 64bit Archbang

Well if you've been using emacs for that amount of time there will be no convincing you. smile

Offline

#8 2012-06-29 06:06:03

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,742

Re: Android SDK on 64bit Archbang

Would like to give Jelly Bean a go, what else do I need to do in addition to above guide?

Found it https://wiki.archlinux.org/index.php/Android

Offline

#9 2012-06-29 14:00:46

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,618
Website

Re: Android SDK on 64bit Archbang

Jelly Bean on the desirable Nexus 7 (the biggest disadvantage is, that it hasn't a micro sd slot): http://www.youtube.com/watch?v=PVqKVNtQ7Yg
After you manage to open the box, it is all about fluidity: http://www.youtube.com/watch?v=Z3pePDUVpgI
Jelly Bean seems to have found a nice middle  in between innovation and continuity.
Voice search is really impressive: http://www.youtube.com/watch?src_vid=iI … N3EXAFRxKQ
Touch reactivity seems incredible fast: project butter seems a full success.

Browsing the web is in another league now on Jelly Bean and it seems very exciting.

Will be happy to try it on my tablet.
A not yet fully functional version is available for some devices like the rooted Samsung Galaxy Nexus: http://forum.xda-developers.com/showthr … ?t=1737849


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#10 2012-06-30 10:20:51

doug piston
Member
Registered: 2011-12-18
Posts: 64

Re: Android SDK on 64bit Archbang

I have been using JellyBean that is completely functional on my LTE nexus. Its a hack job off of the GSM version that was released at I/O but it is running very well. Big step in Android if you ask me. We have it up on our forum, just follow the link. smile

This is for a CDMA device, if you need a GSM version please let me know. Also this is for a rooted Nexus.

http://www.teambamf.net/topic/4064-rom-jellybamf-12/

Offline

#11 2012-06-30 12:50:27

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,618
Website

Re: Android SDK on 64bit Archbang

Thanks for the link, but I would be interested in using it on my Momo 11 Bird tablet.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#12 2012-06-30 13:36:47

doug piston
Member
Registered: 2011-12-18
Posts: 64

Re: Android SDK on 64bit Archbang

pablokal wrote:

Thanks for the link, but I would be interested in using it on my Momo 11 Bird tablet.

Sorry, sad

Offline

#13 2012-07-01 00:42:36

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,742

Re: Android SDK on 64bit Archbang

Slightly off topic ...

2012_07_01_1341124709_1360x768_scrot.jpg

Loaded into Virtualbox running fullscreen on my desktop [scaled as large as I could get it]

Offline

#14 2012-07-01 07:46:37

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,618
Website

Re: Android SDK on 64bit Archbang

What image did you use of jelly bean?


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#15 2012-07-01 07:48:52

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,742

Re: Android SDK on 64bit Archbang

Have got ice cream sandwich it was the only virtualbox image that worked

Found this on you tube

http://www.youtube.com/watch?v=ltadM2qRmoM

Follow his links under video....

Offline

#16 2012-08-01 15:52:36

debraquinn
New member
Registered: 2012-08-01
Posts: 1

Re: Android SDK on 64bit Archbang

There are many app that are in making & which are meant to be made previously but recently has not been able to came out with it. Really there has been alot of other stuff too.....

Offline

Board footer

Powered by FluxBB