Android SDK for Linux? - Android Software Development

I installed linux just to help with the android development, now what?

same basic process as with windows, download the Android SDK from the dev site, and follow the directions on the site. If you have Ubuntu just use the software explore to get/install Java JDK, and Eclipse. From eclipse install android plugin, and then android components
you can add the Android/tools folder to Path if you so desire as well (for ADB), I believe that is also on the dev site.

Related

is there a How-To for rooting from Linux bootcd ?

have a bootcd for Kubuntu 9 Carmic Koala.
is there a how-to for rooting from the bootcd without installing anything?
check the how to root the htc aria topic. the same rules apply with a linux live cd and linux install.
heres a link.
http://forum.xda-developers.com/showthread.php?t=714250
Read the post because it states for the prerequisites: "If you're in Linux, you only need to do Step 4, Step 6, and Step 7." then follow the rest of the guide.
your going to need the android sdk for linux though so you can adb to the device.
jasonyump said:
your going to need the android sdk for linux though so you can adb to the device.
Click to expand...
Click to collapse
any directions on how it is applied in a BOOTCD only system where nothing is changed on system?
ie. where downloaded? how installed? where?
yes, I read the post previously but there is a dearth of information on how-to for linux, yet many posts recommend doing the rom flash/root in linux
You just download the sdk. There are no drivers for your phone for linux. I used an ubuntu x86 cd and when you run adb for the first time it installs the service and you just go from there.

run exe files on android (run linux ubuntu )

how can we run exe files or ubuntu when we installed android on hd2????????????????????????
majidmajd said:
how can we run exe files or ubuntu when we installed android on hd2????????????????????????
Click to expand...
Click to collapse
We can't, exe files are Windows only files. And we can't compile wine for ubuntu, so emulation is also out of the question.
ubuntu installation
Hootyhoo2 here! Man I sure hope I can download and run this properly...wanna install "ubuntu for linux" on my stratosphereso as I canget " chrome for Android" I'm running 2.3.5. W/ linux kernel. Any suggestions or alt upgrades would be greatly appreciated...self taught so far with all the smartphone hoopla!!!!

[Q]Trouble with Java JDK 5 for Ubuntu

Hi guys. I have trouble with installing Java JDK 5 on Ubuntu 11.04. It's necessary for custom ROM development, so I really need it. I've had it installed before, but I had to format my Ubuntu partition and I lost it. I've followed all the steps, but there's an error telling that the sources are missing. Any ideas guys? It's very important, so please help!
Thanks in advance!
Did you add Path variables?
PATH=$PATH:/path/to/executables
Are you using OpenJDK or Oracle JDK.
Ubuntu comes with OpenJDK by default so if you want the Oracle version go to their website. Download JDK 5 extract the JDK then add the Path variables to the executable folder.
Also make sure you get the self-extracting download and not the rpm download.
en4bz said:
Did you add Path variables?
PATH=$PATH:/path/to/executables
Are you using OpenJDK or Oracle JDK.
Ubuntu comes with OpenJDK by default so if you want the Oracle version go to their website. Download JDK 5 extract the JDK then add the Path variables to the executable folder.
Also make sure you get the self-extracting download and not the rpm download.
Click to expand...
Click to collapse
Thanks for the info! Will definitely try this.
en4bz said:
Did you add Path variables?
PATH=$PATH:/path/to/executables
Are you using OpenJDK or Oracle JDK.
Ubuntu comes with OpenJDK by default so if you want the Oracle version go to their website. Download JDK 5 extract the JDK then add the Path variables to the executable folder.
Also make sure you get the self-extracting download and not the rpm download.
Click to expand...
Click to collapse
Where's JDK 5? I can't see it.
Sent from my GT540 using XDA App
I just had to install an Ubuntu machine for the same reason: to build AOSP from source and I couldn't do in in my preferred environment, Gentoo (JDK5 is officially dropped from Gentoo due to security issues).
Ubuntu didn't have any qualms about installing JDK5. Just ran:
sudo apt-get install sun-java5-jdk
then followed the instructions here:
http://source.android.com/source/initializing.html
Gene Poole said:
I just had to install an Ubuntu machine for the same reason: to build AOSP from source and I couldn't do in in my preferred environment, Gentoo (JDK5 is officially dropped from Gentoo due to security issues).
Ubuntu didn't have any qualms about installing JDK5. Just ran:
sudo apt-get install sun-java5-jdk
then followed the instructions here:
http://source.android.com/source/initializing.html
Click to expand...
Click to collapse
Thanks a lot! I successfully installed Java JDK5 on my Ubuntu!

[Q] re BurritoRoot, is JavaSDK reg to use ADB from Android SDK?

I know to use BurritoRoot3 I need to download and extract the Android SDK so I can use ADB. Java SDK is listed as a requirement for the Android SDK, but is it necessary to have it to run ADB if I am not going to do app development?
I ask because I downloaded and extracted the Java 7 SDK, but haven't found where I need to drop the folders. While looking for that information, I found default-jdk and openjdk-7 in the Debian repros (packages.debian.org imply they are equivalent, I'm running lmde), but both want to replace Pulse Audio packages, I would as soon not take a chance on messing with my sound if installing Java SDK is not required.

SDK Manager won't start

Hi, i'm having troubles to open the SDK manager. I have Windows 7 64-bit and i Installed de jdk 1.7.0_25 64-bit. This are the solutiones i've tried but with no success:
Installing SDK in c:\
Adding JAVA_HOME enviroment variable to the system pointing to jdk1.7.0_25
Adding JDK_HOME pointing the same place...
adding c:\program files.....jdk...\bin; to Path in enviroment variables
Editing few lines of android.bat file like:
Code:
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF
to
Code:
set java_exe="c:\Program Files\Java\jdk1.7.0_25\bin\java.exe"
Downloading the version that comes with eclipse... same results..
Finally i tried with Android Studio but when i try to open SDK Manager inside this program it comes an error that say:
ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
http://www.oracle.com/technetwork/java/javase/downloads
If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.
You can find the complete Android SDK requirements here:
http://developer.android.com/sdk/requirements.html
As it writes you this
ERROR: No suitable Java found. In order to properly use the Android Developer
Click to expand...
Click to collapse
maybe it wants 32-bit Java for you 64-bit system anyway?
Like an obvious hint: Try 32-bit Eclipse 32-bit Java and 32-bit ADT plugin in you system. It should work.

Categories

Resources