Solved

Android Development

Posted on 2011-09-07
7
606 Views
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 1.0.0.1308118925849 (SharedProfile_epp.package.java 1.0.0.1308118925849)
  Missing requirement: Shared profile 1.0.0.1308118925849 (SharedProfile_epp.package.java 1.0.0.1308118925849) requires 'org.maven.ide.eclipse [1.0.0.20110607-2117]' 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.
0
Comment
Question by:highlawn
  • 5
  • 2
7 Comments
 
LVL 24

Expert Comment

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

0
 

Author Comment

by:highlawn
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.
0
 

Author Comment

by:highlawn
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.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 24

Expert Comment

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

Author Comment

by:highlawn
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.
0
 

Accepted Solution

by:
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.
0
 

Author Closing Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
A short article about a problem I had getting the GPS LocationListener working.
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.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

856 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