[needs-packaging] android SDK

Bug #565635 reported by aporter
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Debian
New
Unknown
Ubuntu
Confirmed
Wishlist
Unassigned

Bug Description

Android is a FOSS operating system with a linux kernel and software stack used by millions of smartphone owners. The SDK would be immensely useful for open source developers wanting to create software.

URL: http://source.android.com/ and http://source.android.com/download
License: GPL, LGPL, and Apache. The toolchain includes other licenses including BSD.
Notes: I'm new to packaging, but please let me know if you would like my help.

Outdated debian request here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459219

aporter (aporter)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
aporter (aporter) wrote :

Alwin suggested I post these notes here. I have more notes on how to install and test the SDK, let me know if you would like those too.

setup on 64bit:

(lucid or maverick)

1. sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libsdl-dev openjdk-6-jdk curl

setup on 32bit:

(lucid or maverick)

1. sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev openjdk-6-jdk curl

checkout:

1. curl https://android.git.kernel.org/repo >repo && chmod +x repo
2. mkdir android-sdk && cd android-sdk
3. ../repo init -u git://android.git.kernel.org/platform/manifest.git
  asks a few questions
4. ../repo sync
  takes ~.5 hours
5. sed -i 's/^$(error stop)/#&/' build/core/main.mk
  java5 does not exist in karmic, lucid, or maverick.
  this might cause problems.

building:

1. make
  ignore the errors about java (see #5 above)
  takes ~2 hours
  outputs to "out/host/linux-x86" directory?
2. cd ..

assuming no errors, you're done BULIDING the SDK.
(installing, packaging, or testing is more complicated and described later)

sources:
 http://source.android.com/download
 http://developer.android.com/sdk/

Again, I have more notes on how to install and test the SDK so let me know if you want those notes.

adrian

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Mirzet Kadic (caracal-enl) wrote :

I just wanted to propose this needs-packaging too. Fortunately you did it long time ago but unfortunately nothing happens. Now we have a better chance because we can share it on Twitter, Facebook or Google+.

The Point is that Ubuntu is not ready to be the best gameing plattform or the best platform for business apps because those apps are not available for Linux. But Ubuntu could be the besst platform for developers and this is a very important point for the whole ecosystem.

Android and Ubuntu (Ubuntu for Android) have a great future and we should prepare our system for the future. Ubuntu should be the best platform for Android-Devs.
Google uses Ubuntu as their OS (and Mac), we should give this guys a better Dev.-Experience

Always when I install my system fresh, I have to follow this how-to to prepare my system to use the Android SDK, ADB and fastboot:
http://forum.xda-developers.com/showpost.php?p=19446284&postcount=62

Changed in debian:
status: Unknown → New
Revision history for this message
Siep Kroonenberg (siepo) wrote :

For non-developers, a separately packaged adb would also be of interest. Since UMS mount is not supported for many ICS devices, and mtp has troubles of its own, adb often is the best way to copy files between device and computer.

I am successfully using a standalone adb downloaded from http://code.google.com/p/texasice-cream-sandwich-mirror/downloads/detail?name=adb_fastboot.zip&can=2&q= so

Googling for adbfs also turns up several hits. I hope something like that will eventually make its way into Ubuntu.

Revision history for this message
Mirzet Kadic (caracal-enl) wrote :
Revision history for this message
Jeremy Bícha (jbicha) wrote :

android-tools-adb and android-tools-fastboot are now available for install in Ubuntu 12.10 Alpha "Quantal Quetzal."

Revision history for this message
Siep Kroonenberg (siepo) wrote :

Great!

Revision history for this message
Mirzet Kadic (caracal-enl) wrote :

because android-tools-adb and android-tools-fastboot are available in the repos, I think this bug/feature request can be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.