Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 612
  • Last Modified:

Android Development

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
highlawn
Asked:
highlawn
  • 5
  • 2
1 Solution
 
alexey_gusevCommented:
usually it is relatively straightforward at this stage, so you define new Update site and install all you're offered :)

0
 
highlawnAuthor Commented:
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
 
highlawnAuthor Commented:
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
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

 
alexey_gusevCommented:
the best is to install JDK 6 and make sure it is visible in PATH variable
0
 
highlawnAuthor Commented:
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
 
highlawnAuthor Commented:
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
 
highlawnAuthor Commented:
No-one else supplied the answer and I found it for myself. Not 100% - but close enough
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now