Solved

Android Development

Posted on 2011-09-07
7
601 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Let me explain this picture a little bit.  First, in case you haven't already guessed, you are looking at my 2 phones, an Android Samsung Galaxy S5 on the left and an iPhone 5 on the right.  They are on their respective cradles on my desk.  But, you…
Introduction This article is a continuation of Part-1 as evident from the title. Please visit this page (http://www.experts-exchange.com/articles/18706/Backing-up-personal-data-on-your-Android-device-Part-1.html) to read the earlier Part -1. If y…
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.
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now