Author Topic: Android development: any hints, please?  (Read 484 times)

Offline satuser083

  • Hero Member
  • *****
  • Posts: 510
Android development: any hints, please?
« on: November 23, 2012, 06:14:40 AM »
I'm thinking of playing with some android-app development, and have come across a site (http://developer.android.com/sdk/index.html) which offers a package (adt-bundle-linux-x86.zip) for use under linux. There's no such package in the repos, and I've always avoided installing external packages up until now  :o . In any case, I'm not sure that I'd know how to do it.

Has anyone out there done android-app development with this package - or anything similar - and are there any things to look out for. Thanks in advance.
« Last Edit: November 23, 2012, 12:19:12 PM by satuser083 »

Offline thorper

  • Hero Member
  • *****
  • Posts: 851
  • Linux Counter #490490
Re: Android development: any hints, please?
« Reply #1 on: November 24, 2012, 02:37:21 AM »
Have you made a package request for this? No doubt there are others users that enjoy coding and would be interested in doing some Android stuff, maybe full blown working Android tablet version of PCLinuxOS  ::) ::)
Too many cops, too few donuts.

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: Android development: any hints, please?
« Reply #2 on: November 24, 2012, 02:48:12 AM »
I downloaded the 32-bit version and simply ran <home>/android-sdk/tools/android. No additional installations are necessary outside of the sdk.

In my .bashrc file I added

Code: [Select]
export PATH=$PATH:/home/torsten/Computer/Android/android-sdk-linux/platform-tools
so that I have direct access to adb, fastboot, etc.
« Last Edit: November 24, 2012, 02:49:53 AM by tschommer »
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline satuser083

  • Hero Member
  • *****
  • Posts: 510
Re: Android development: any hints, please?
« Reply #3 on: November 24, 2012, 09:14:57 AM »
I downloaded the 32-bit version and simply ran <home>/android-sdk/tools/android. No additional installations are necessary outside of the sdk.

In my .bashrc file I added

Code: [Select]
export PATH=$PATH:/home/torsten/Computer/Android/android-sdk-linux/platform-tools
so that I have direct access to adb, fastboot, etc.

Many thanks.  Did as you suggested, seems to have worked - or, at least, there were no error-messages  ;) . Next step, according to the web-site quoted above, is to launch the ADT by clicking on eclipse, which does indeed start the ADT; when I click on Build Your First App, however, the ADT does something for about 30 seconds and then dies  >:( . Looks like I'm doing something wrong there. Don't suppose you have any further tips, do you? Thanks, once again.

Edit: I've just noticed that, whenever I run eclipse (which then seems to fail) and then want to shut the machine down, I get a message "AT SPI Registry not responding", which I then have to manually kill. Could this be relevant  ??? ?
« Last Edit: November 24, 2012, 09:20:41 AM by satuser083 »