Android Development

Posted on 2011-09-07
Medium Priority
Last Modified: 2012-06-22
I was trying to get started with developing on Android and came across a page ( http://www.makeuseof.com/tag/write-google-android-application ) that seemed to be helpful. It advised the following requirements:

Eclipse - I ended up downloading Indigo version
JDK - I downloaded v.7
Android SDK - I seem to have downloaded nearly everything!

Once you have downloaded all these, you need to configure Eclipse for Android. It tells you how to do this by pointing to a library - https://dl-ssl.google.com/android/eclipse  - but I keep on getting errors regarding missing dependencies and try as I might via various hints and tips on the web, I still end up with:

Cannot complete the install because one or more required items could not be found.
  Software currently installed: Shared profile (SharedProfile_epp.package.java
  Missing requirement: Shared profile (SharedProfile_epp.package.java requires 'org.maven.ide.eclipse []' but it could not be found

I've messed around with Maven libraries - but they they complain about a Zest bundle - so, you include Zest and it moans about GEF. You include GEF and it then moans about maven!

I feel I'm rather going round in circles with no knowledge of what I am doing.

So, whilst this question could be about the technicalities of the above, the first thing I would like answered is:

What is the best way to get started in order to be able to write Android Apps - and THEN if the answer is Eclipse/JDK/Android SDK - please can someone tell me how to make them all work together.

Please assume I have absolutely no knowledge of any of the above. I don't even know Java - but I assume all of it must be fairly straightforward once you have some for of IDE and required packages etc.
Question by:highlawn
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
LVL 24

Expert Comment

ID: 36496947
usually it is relatively straightforward at this stage, so you define new Update site and install all you're offered :)


Author Comment

ID: 36497196
Indeed. That is the scenario as described. Sadly, that isn't the way it has manifested and the error persists. As a result, no Android objects are available and the whole thing is fairly useless for its intended purpose.
I am taking you're lack of comment  wrt the first question as some form of support that the environment as described is a decent choice for my stated purpose. Would that be a reasonable assumption?

If so, then the second question becomes more important.

Author Comment

ID: 36497412
I note - reviewing the Android SDK documentation that it does state Java SDK 5 or 6 and NOT 7. Would this likely make a difference? It doesn't seem to be JDK components that are being complained about though, as far as I can see.
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

LVL 24

Expert Comment

ID: 36501434
the best is to install JDK 6 and make sure it is visible in PATH variable

Author Comment

ID: 36501805
OK, I have found the solution. You need to add http://download.eclipse.org/releases/helios as a site - I gave it the name Helios - but you can call it what you will.

Then, you select your Android site, expand it if you wish, and select the four options and install them. They should now all install correctly as they find the missing package from the Helios site.

As an aside, JDK 7 appears to work fine.

The next wrinkle has now appeared in trying to create an Android Virtual Machine - or, more correctly in trying to start it. More later after I've had a play.

Accepted Solution

highlawn earned 0 total points
ID: 36504419
OK - the last issue is because there is a bug in the Android SDK and it doesn't like directories with space names in it. So, if you have loaded in C:\Program Files\android\... then you need to change that (Eclipse Window / Preferences) to C:\PROGRA~1\android\... - if that is the FIRST folder beginning with Program in your list else PROGRA~2 and so on.

I'm probably going to close this shortly but I don't really see that I can award any points to anyone here.

Author Closing Comment

ID: 37098842
No-one else supplied the answer and I found it for myself. Not 100% - but close enough

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question