LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2015, 06:41 PM   #1
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Resolving Android SDK dependencies


I am trying to install Android SDK under Linux-Porteus (Slackware wanabe). Instructions tell me how to unpack it, so I unpack it to ~/Apps/Android/<Android-Home>. Instructions tell me to finish installing by running <Android-Home>/tools/android to download the rest of the suite, including Android kernel libraries and adb. However, all I get is java 'command not found' errors. This leads me to believe there are dependencies that I don't know about. Usually, dependencies are addressed when I use the standard installation method, which includes "./configure, make, make install". How do I get Android-SDK to tell me exactly what it is missing?

Here's what I keep getting:

guest@porteus:~/Apps/Android-SDK/android-sdk-linux/tools$ ./android --no-ui
./android: line 84: java: command not found
./android: line 94: java: command not found
./android: line 110: exec: java: not found

Last edited by lectraplayer; 08-31-2015 at 09:50 PM.
 
Old 09-01-2015, 03:45 PM   #2
Mars13
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Rep: Reputation: Disabled
if the java command is not found then you may be dealing with a simple issue ... you dont have java installed.

Confirm this by running java -version. If there is not output or java command is not found again you need to 1. download java. 2. point the JAVA_HOME to the java directory. But before moving too far ahead let's see if that is indeed the issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Java JDK, Android SDK, and Eclipse for Android app development leupi Linux - Software 1 12-25-2014 01:01 AM
LXer: The Android SDK: Top tools for effective Android app development LXer Syndicated Linux News 0 10-30-2012 12:01 AM
LXer: The Android SDK: Top tools for effective Android app development LXer Syndicated Linux News 0 10-29-2012 04:10 PM
LXer: Android App Build Environment With Eclipse, Android SDK, PhoneGap (Fedora 14) LXer Syndicated Linux News 2 02-01-2011 11:11 AM
LXer: Get Started with Android application development using Linux and Android SDK LXer Syndicated Linux News 0 01-06-2011 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration