Solved

Android Development

Posted on 2011-09-07
7
600 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 24

Expert Comment

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

Author Comment

by:highlawn
Comment Utility
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
Comment Utility
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
Comment Utility
No-one else supplied the answer and I found it for myself. Not 100% - but close enough
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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.

763 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

7 Experts available now in Live!

Get 1:1 Help Now