• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Setting up the environment to run Android Apps

 
Ranch Hand
Posts: 262
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings,

I've been following instructions in this page to install the ADT bundle on my Windows 7.

This is the sequence of steps I have followed so far.

1. I had Java 7 installed on my laptop. So I downloaded JDK and JRE 6 first. Haven't changed my path variable yet as I'll be using the IDE or the emulator ( I don't know what that looks like as of now ) probably.
2. Now the next step for me was to install the ADT bundle for windows. So, I went to this page.
3. Since I already have Eclipse IDE ( Kepler ) on my machine, I clicked on the 'use an existing IDE' tab and downloaded the SDK tool by clicking on 'Download the SDK tool for Windows'. So I got the installer.

Now while installing it, it picks the Java7 I have on my laptop and there is no option to change it to pick Java6.

Has anybody else faced the same issue? What did you do about it?

By the way, do you think I am following the right sequence of steps? Would you suggest that I let my current IDE stay as is and download the SDK Ant Bundle instead that comes integrated with everything including the IDE?

Thanks.

Oh yes, I have Windows 7 on my laptop.
 
Heena Agarwal
Ranch Hand
Posts: 262
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is 'sort of' resolved.

I downloaded the SDK ADT bundle and I could launch my first Android app on my phone and on an emulator.
 
Greenhorn
Posts: 10
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
appreciate for your interest so far..
1.click windows in your eclipse development environment
2.select software development kit manager
3.select all the components to install
4.this is particularly important because we need to check our app in different target levels..


have you started activities?..if not let me know..

thank you..
 
Heena Agarwal
Ranch Hand
Posts: 262
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dinesh, thanks for your response.

I'm not sure yet if I agree entirely with what you've said but allow me to
get back to you tomortow.

I figured later that the installer would have picked the correct JDK if I had changed the path & java_homr vars.
But I downloaded and installed the SDK ADT kit later.

I've installed a couple of components like the google APIs and the versions highet than 4.0
cause I'd like to test my apps in all of the versions higher than 4.0.

But I've not installed many other components cause I think we don't require them ( at least not yet ).

No ( unfortunately) I haven't started with the week 2 lectures yet.

 
Dinesh Goud
Greenhorn
Posts: 10
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
not a problem.. stop worrying about the lectures ok..even I joined today... let me know your progress as of now.. i mean where exactly are you on now? are you still in configuring the software or you started any coding ?..

let me know your status so that i can provide you some useful stuff like ppts,pdf files, source code for your reference..
thank you
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is using Java 7 an actual problem? I would imagine that it works just as well as Java 6 - that page is just about the minimum requirements. (And Android is a superset of a subset of Java 5, so you have to be careful not to use any Java methods and classes that Android doesn't have anyway, regardless of which JDK you're using.)
 
Heena Agarwal
Ranch Hand
Posts: 262
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah I thought the same but the instructor said we should have JDK 6. I followed all the instructions, so I downloaded JDK 6 which is what I'm currently using but I didn't face any problems even though I created my apps ( short add two numbers etc types ) with JDK 7 initially.

 
Dinesh Goud
Greenhorn
Posts: 10
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
as a beginner it is fine working with 6 ok...ulf is right
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It has nothing to do with being a beginner. JDK 7 should work with the Android SDK just as well as JDK 6.
 
Dinesh Goud
Greenhorn
Posts: 10
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
apologize me ulf ,i came to that conclusion after listening to sir..
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic