Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Developer 101

Developer 101 101 Tutorials



Reply
 
LinkBack Thread Tools
Old November 1st, 2011, 08:06 PM   #1 (permalink)
New Member
 
Join Date: May 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Android Installation Problems

I tried hard but no success. Need helpful advice ….
Do not see ‘Android’ in Left panel of Eclipse 'Preference' nor can I open a new Android project.


I did the following (on Windows, Vista computer)

  • Eclipse (Java EE IDE) installed.
  • Installed Android-sdk ( c:\Program Files\Android\Android-sdk)
  • Set path in windows Vista in Environmental variable (Systems window. Added in PATH C:\ :\Program Files\Android\Android-sdk\Tools)
  • Installed ‘Developer Tools’ through Eclipse Help\Install Software (from https://dl-ssl.google.com/android/eclipse)

Still I do not see any Android in preference, nor can I open a new Android project. Help! Thanks

husainsn is offline  
Reply With Quote
Sponsors
Old November 2nd, 2011, 02:58 AM   #2 (permalink)
Senior Member
 
TheCompBoy's Avatar
 
Join Date: Oct 2010
Location: Sweden
Posts: 594
 
Device(s): Samsung Galaxy S w DarkyROM v10.1
Thanks: 4
Thanked 56 Times in 51 Posts
Send a message via Skype™ to TheCompBoy
Default

EDIT: I read your question wrong.
__________________
Please check out my blogg: www.thecompboy.blogspot.com
If you want to support me please subscribe / follow the blogg!

OCalc - First App: https://market.android.com/details?id=mendel.calculator.simple&feature=search _result
TheCompBoy is offline  
Reply With Quote
Old November 2nd, 2011, 03:10 AM   #3 (permalink)
Premium Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
Default

The PATH environment variable would need to be:
Code:
"C:\Program Files\Android\Android-sdk\tools";"C:\Program Files\Android\Android-sdk\platform-tools";%SystemRoot%\system32;%SystemRoot%
Confirm that you have the PATH env var is correct.
  1. Open Command Prompt
  2. Type in zipalign and press enter
  3. You should get output in the Command Prompt starting with: Zip alignment utility
  4. Type in dexdump and press enter
  5. You should get output starting with: dexdump: no file specified

If you get 'zipalign' is not recognized as an internal or external command, the path to tools is incorrect.

If you get 'dexdump' is not recognised as an internal or external command, you may not have added a platform to your sdk. See step 4 of Installing the SDK. Use Windows Explorer to check to both a platform-tools folder and stuff in that folder.


Let us know the results of this. This should confirm that at least the SDK is installed and setup correctly. Then we can move on to checking Eclipse.
jiminaus is offline  
Last edited by jiminaus; November 2nd, 2011 at 03:15 AM. Reason: Forgot the trailing default paths
Reply With Quote
Old November 3rd, 2011, 10:58 AM   #4 (permalink)
New Member
 
Join Date: May 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installation Problem

Hello Jiminaus:

Still no joy.

1. I set in System Variable window under Path – exactly as follows:

"C:\Program Files\Android\Android-sdk\tools";"C:\Program Files\Android\Android-sdk\platform-tools";%SystemRoot%\system32;%SystemRoot%

  • Zipalign is recognized (following received)

Usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
zipalign -c [-v] <align> infile.zip

<align>: alignment in bytes, e.g. '4' provides 32-bit alignment
-c: check alignment only (does not modify file)
-f: overwrite existing outfile.zip
-v: verbose output

3. dexdump is recognized (following is received)

C:\Users\Owner>dexdump
dexdump: no file specified
Copyright (C) 2007 The Android Open Source Project

dexdump: [-c] [-d] [-f] [-h] [-i] [-l layout] [-m] [-t tempfile] dexfile...

-c : verify checksum and exit
-d : disassemble code sections
-f : display summary information from file header
-h : display file header details
-i : ignore checksum failures
-l : output layout, either 'plain' or 'xml'
-m : dump register maps (and nothing else)
-t : temp file name (defaults to /sdcard/dex-temp-*)

  • I made sure that in SDK Manager, Tools, Platform-tools and Platform are installed. Attached picture.

Still no sign of Android in the left portion of Preference.

Screen shot of Android SDK Manager showing items installed.
http://www.flickr.com/photos/69417357@N06/6309061855/

husainsn is offline  
Last edited by husainsn; November 3rd, 2011 at 02:01 PM. Reason: url for screen shot of Android SDK Manager
Reply With Quote
Old November 3rd, 2011, 06:10 PM   #5 (permalink)
Premium Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
Default

So it's good to know that you have the Android SDK installed and the r14 platform installed inside it.

(I'm suspicious of it being in Program Files because of the potential for problems associated with having spaces in path. But that could just be my paranoia.)

In the Eclipse help (?) menu, go into About Eclipse. Click the Installation Details button. Under the Installed Software tab, I have 4 Android components: Android DDMS, Android Development Tools, Android Hierarchy Viewer, and Android Traceview. All at version 15.0.0. Does your Eclipse have these?

If it does, go in the Eclipse preferences. Under General > Startup and Shutdown, is Android Development Toolkit ticked under Plug-ins activated on startup? If it isn't, tick it and restart Eclipse.
jiminaus is offline  
Last edited by jiminaus; November 3rd, 2011 at 06:13 PM.
Reply With Quote
Old November 3rd, 2011, 06:34 PM   #6 (permalink)
New Member
 
Join Date: May 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Jiminaus:

Many thanks for your help.

Attached screen shots indicate that all 4 components of Android SDK were installed.

Preference >> General >> Startup and shut down has no mention of Android plugin.


Preference-Startup and shut down | Flickr - Photo Sharing!

Eclipse Installation Details | Flickr - Photo Sharing!

Thanks again
husainsn is offline  
Reply With Quote
Old November 3rd, 2011, 06:43 PM   #7 (permalink)
Premium Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
Default

I don't know what's going wrong, and I don't really know Eclipse plug-ins well enough to diagnose further.

Perhaps try rolling back your Eclipse configuration and re-installing.

In About Eclipse > Installation Details > Installation History, select the most recent previous configuration that doesn't include the Android components, click Revert and restart Eclipse.

Then try re-installing the Android ADT plugin. ADT Plugin for Eclipse | Android Developers
jiminaus is offline  
Reply With Quote
Old November 3rd, 2011, 06:46 PM   #8 (permalink)
New Member
 
Join Date: May 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

1. Please check if your startup (Gen>Startup) has ADT (Android development tool)?

2. How do I check if I have ADT installed?

Thanks
husainsn is offline  
Reply With Quote
Old November 3rd, 2011, 06:54 PM   #9 (permalink)
Premium Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
Default

Yes, I have ADT in ticked in my Eclipse startup and shutdown preferences.

I would have thought that presence of the ADT under installed software would confirm. You could further confirm I guess by going into Plug-ins tab of the Eclipse installation details and sort by provider. I have 5 plugins provided by The Android Open Source Project, one of which is Android Development Toolkit.

BTW Which version of Eclipse do you have installed? I have version 3.7.1.
jiminaus is offline  
Last edited by jiminaus; November 3rd, 2011 at 06:57 PM.
Reply With Quote
Old November 3rd, 2011, 07:20 PM   #10 (permalink)
New Member
 
Join Date: May 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
I reverted and then down loaded zipped ADT and installed it in Eclipse. No plugin of Android can be seen and niether it is Preference.

Is there a sequence to be followed in installation? I wonder. Can you suggest another Android Forum?

Thanks
husainsn is offline  
Reply With Quote
Sponsors
Old November 4th, 2011, 04:07 AM   #11 (permalink)
Member
 
Join Date: Aug 2010
Location: Norway
Posts: 308
 
Device(s): Samsung Galaxy Nexus
Thanks: 0
Thanked 52 Times in 51 Posts
Default

Android SDK doesn't like to be in a path with spaces in it. You should move it to for example: C:\android-sdk\
__________________
Android: Personal Storage, Lars Monsen Facts(Norwegian)
miXer is offline  
Reply With Quote
The Following User Says Thank You to miXer For This Useful Post:
jiminaus (November 4th, 2011)
Old November 4th, 2011, 11:36 AM   #12 (permalink)
New Member
 
Join Date: May 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Success ! After few weeks of persistence

My special thanks to JimiNaus & Mixer

While going over forum I found "Eclipse Ganymede is no longer supported by the latest ADT plugin: source. So you should upgrade your Eclipse IDE."

This lead to think that Eclipse IDE was the problem.

1. I moved androidSDK directory from program files to C:\
2. Deleted Gallileo Eclipse
3. Installed INDIGO Eclipse for Java Developers

And in first go after installation of ADT everything happened!

Let me tell you about myself I am a 71 year old retired engineer, hell bent to learn Android programming. In the past I mastered Drupal. I have no technical back ground just persistence.

Thanks again

Shah Husain
Canada
husainsn is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development > Developer 101 User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 08:11 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo