Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Newbie to Eclipse...(probably an easy question?)
Newbie to Eclipse... [message #788301] Wed, 01 February 2012 16:09 Go to next message
Matthew Millar is currently offline Matthew MillarFriend
Messages: 2
Registered: February 2012
Junior Member
For the hell of it, I decided recently to start learning a bit about programming for Android. It seems fun, and increasingly useful as of late. I am also pretty decent at coding, so I figured I would give it a go.

I have never messed with virtual devices though before, and am at a loss here. It seems every time I compile and launch my project, I have to re-launch the emulator (that takes forever and a half to load mind you)? I did some searching and found ways to SPEED UP the launch, but it still takes longer than is convenient to preview my project.

I saw that setting the run configuration to manual would simply re-install my apk without re-launching the emulator, but the emulator (or virtual device) is not listed under available devices (in fact, nothing is). It only gives me the option to select the launcher and start it anew.

Is there some hidden setting I am missing here? I am assuming this line is the problem (shown in the consol section when running my project with a virtual device all ready open):
[2012-02-01 10:17:33 - Hello World] Automatic Target Mode: Preferred AVD 'DefaultAndroidEmu' is not available. Launching new emulator.

Any help is appreciated, any more information needed, I will provide. Thanks in advance!!
Re: Newbie to Eclipse... [message #788328 is a reply to message #788301] Wed, 01 February 2012 16:58 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2/1/2012 9:09 AM, Matthew Millar wrote:
> For the hell of it, I decided recently to start learning a bit about
> programming for Android. It seems fun, and increasingly useful as of
> late. I am also pretty decent at coding, so I figured I would give it a go.
> I have never messed with virtual devices though before, and am at a loss
> here. It seems every time I compile and launch my project, I have to
> re-launch the emulator (that takes forever and a half to load mind you)?
> I did some searching and found ways to SPEED UP the launch, but it still
> takes longer than is convenient to preview my project.
> I saw that setting the run configuration to manual would simply
> re-install my apk without re-launching the emulator, but the emulator
> (or virtual device) is not listed under available devices (in fact,
> nothing is). It only gives me the option to select the launcher and
> start it anew.
> Is there some hidden setting I am missing here? I am assuming this line
> is the problem (shown in the consol section when running my project with
> a virtual device all ready open):
> [2012-02-01 10:17:33 - Hello World] Automatic Target Mode: Preferred AVD
> 'DefaultAndroidEmu' is not available. Launching new emulator.
>
> Any help is appreciated, any more information needed, I will provide.
> Thanks in advance!!

Android programming is done using Eclipse, but Eclipse itself has
nothing to do with Android programming. You'll want to find a good
Android support forum. I did some of this about 18 months ago and
continued for about 4 months. If you'd like to read my notes (I list
some good Android support forums), go to
http://www.javahotchocolate.com/tutorials/android.html.
Re: Newbie to Eclipse... [message #788355 is a reply to message #788328] Wed, 01 February 2012 17:48 Go to previous messageGo to next message
Matthew Millar is currently offline Matthew MillarFriend
Messages: 2
Registered: February 2012
Junior Member
While I understand that, the issue arises with the actual Eclipse program. I am not asking for coding help, I am asking for help configuring the Eclipse program.
Re: Newbie to Eclipse... [message #788495 is a reply to message #788355] Wed, 01 February 2012 21:58 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 2/1/12 12:48 PM, Matthew Millar wrote:
> While I understand that, the issue arises with the actual Eclipse
> program. I am not asking for coding help, I am asking for help
> configuring the Eclipse program.

No, you're asking about the Android Emulator and the Android Development
Toolkit (ADT), which are tools provided by Android (Google). They're
built on top of and integrated with Eclipse, but they are not Eclipse.
Eclipse is a general-purpose platform for building applications (mostly
IDEs). The distinction isn't always obvious to newbies, but it is,
nonetheless, important.
There's a "sticky" post at the top of this forum that explains this and
lists some good Android developer support channels.

Eric
Re: Newbie to Eclipse... [message #791350 is a reply to message #788495] Sun, 05 February 2012 17:43 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
Also new to eclipse I'm running Mac OS X 10.7.2

I need to program in C for my degree. I've been using Netbeans before.
I know this is a stupid question, but how do I install the plugins for C/C++ on a Mac?
I've installed eclipse classic indigo?
I've gone on youtube but had no luck finding instructions.

Any suggestons?
Cheers
Re: Newbie to Eclipse... [message #791967 is a reply to message #791350] Mon, 06 February 2012 13:26 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.02.05 10:43, Victoria Hulse wrote:
> Also new to eclipse I'm running Mac OS X 10.7.2
>
> I need to program in C for my degree. I've been using Netbeans before. I
> know this is a stupid question, but how do I install the plugins for
> C/C++ on a Mac? I've installed eclipse classic indigo?
> I've gone on youtube but had no luck finding instructions.
>
> Any suggestons?
> Cheers
1) Install Eclipse IDE for C/C++ Development.
2) Read sticky posts at top of this forum.
Re: Newbie to Eclipse... [message #792827 is a reply to message #791967] Tue, 07 February 2012 13:14 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
which sticky?
I have managed to install eclipse classic, I've gone back to the eclipse site to get the C/C++ plugin, but which one do I need to download for Mac?
Re: Newbie to Eclipse... [message #792916 is a reply to message #792827] Tue, 07 February 2012 15:04 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2/7/2012 6:14 AM, Hicks incoming wrote:
> which sticky? I have managed to install eclipse classic, I've gone back
> to the eclipse site to get the C/C++ plugin, but which one do I need to
> download for Mac?

Your best bet, if you wish to develop applications in C/C++, is to
download Eclipse IDE for C/C++ Developers--no matter what hardware/OS
platform you use.
Re: Newbie to Eclipse... [message #794517 is a reply to message #792916] Thu, 09 February 2012 11:48 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
ok when I go to the plug insite for the Eclipse C/C++ IDE Indigo IDE SD-1 there are two git repos. cdt - master 8.0.1.zip and cdt - master 8.0.0.zip, which one do I need if I'm running Mac OS X 10.7.2?

Cheers
Re: Newbie to Eclipse... [message #794675 is a reply to message #794517] Thu, 09 February 2012 15:04 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2/9/2012 4:48 AM, Hicks incoming wrote:
> ok when I go to the plug insite for the Eclipse C/C++ IDE Indigo IDE
> SD-1 there are two git repos. cdt - master 8.0.1.zip and cdt - master
> 8.0.0.zip, which one do I need if I'm running Mac OS X 10.7.2?
>
> Cheers

It's possible to endow any existing Eclipse download with additional
features, like the C/C++ plug-ins, but where possible, I try to download
the dedicated Eclipse package. That way, I know I'm getting exactly what
I want. If your main interest is C/C++, I'd download that Eclipse
package directly, then finesse anything else I wanted by means of Help
-> Install New Software.

Someone else may be able to give a more direct answer to your question,
which I dodged (sorry). Plus, I'm not a Macintosh guy.

Best of luck.
Re: Newbie to Eclipse... [message #794683 is a reply to message #794675] Thu, 09 February 2012 15:10 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2/9/2012 8:04 AM, Russell Bateman wrote:
> On 2/9/2012 4:48 AM, Hicks incoming wrote:
>> ok when I go to the plug insite for the Eclipse C/C++ IDE Indigo IDE
>> SD-1 there are two git repos. cdt - master 8.0.1.zip and cdt - master
>> 8.0.0.zip, which one do I need if I'm running Mac OS X 10.7.2?
>>
>> Cheers
>
> It's possible to endow any existing Eclipse download with additional
> features, like the C/C++ plug-ins, but where possible, I try to download
> the dedicated Eclipse package. That way, I know I'm getting exactly what
> I want. If your main interest is C/C++, I'd download that Eclipse
> package directly, then finesse anything else I wanted by means of Help
> -> Install New Software.
>
> Someone else may be able to give a more direct answer to your question,
> which I dodged (sorry). Plus, I'm not a Macintosh guy.
>
> Best of luck.

Sorry. I didn't fully appreciate your confusion. Whatever you were
trying, try this link instead.

http://eclipse.org/downloads/?osType=macosx

Click on Mac OS X 32 Bit or 64 Bit next to "Eclipse IDE for C/C++
Developers". This will get you what I was talking about in my previous
response. If this is not what you were trying to do, you'll have to wait
for one of the Mac guys that haunt this forum to come along.
Re: Newbie to Eclipse... [message #795557 is a reply to message #794683] Fri, 10 February 2012 15:55 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
I would downloads the dedicated C/C++ Version but I've already got the version I need set up for Java, hence the reason I need the plug in. Anyway of finding out which of those git-repos might be the right one?
I suppose I could download and install both, but I bet doing this sets up some in-compatibility issues.
Re: Newbie to Eclipse... [message #795812 is a reply to message #795557] Sat, 11 February 2012 00:20 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 02/10/2012 09:55 AM, Hicks incoming wrote:
> I would downloads the dedicated C/C++ Version but I've already got the
> version I need set up for Java, hence the reason I need the plug in.
> Anyway of finding out which of those git-repos might be the right one? I
> suppose I could download and install both, but I bet doing this sets up
> some in-compatibility issues.
>
To install additional plugins, you open Eclipse and go to Help->Install
new Software. Select the Indigo site in the Work With combo box. Look
in the Programming Languages category for C++ and select the ones you
want to use.
Re: Newbie to Eclipse... [message #798350 is a reply to message #795812] Tue, 14 February 2012 15:18 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
No Message Body

[Updated on: Tue, 14 February 2012 17:13]

Report message to a moderator

Re: Newbie to Eclipse... [message #798414 is a reply to message #798350] Tue, 14 February 2012 17:12 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
Thank you, that's what I was looking for.
I'm at the end of the plug in installation and I'm trying to accept the licence agreements to install the plug in, when I select the "accept" radio button the "next" option is still unavailable. Any ideas why this is, I don't think I've selected any plug ins that require special licences, I think all the C/C++ plug ins are open source. Any help would be appreciated.
The items i'm trying to install are C/C++ Development tools, C/C++ Development tools SDK, C/C++ Library API Documentation Hover help(incubation) CDT Visual C++ Support, XL C/C++ Compiler support.
Should I leave any of these out?

Cheers
Re: Newbie to Eclipse... [message #798469 is a reply to message #788301] Tue, 14 February 2012 18:33 Go to previous messageGo to next message
Anthony DePalma is currently offline Anthony DePalmaFriend
Messages: 4
Registered: February 2012
Junior Member
Just leave the emulator open after the first time, when you launch again it will reupload your latest application onto it instead of starting a new one.
Re: Newbie to Eclipse... [message #799248 is a reply to message #798469] Wed, 15 February 2012 16:50 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
what's an emulator?
sorry for a stupid question.
Re: Newbie to Eclipse... [message #799257 is a reply to message #799248] Wed, 15 February 2012 16:57 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2/15/2012 9:50 AM, Hicks incoming wrote:
> what's an emulator? sorry for a stupid question.

He's referring to the mock Android phone by which you test your application.
Re: Newbie to Eclipse... [message #799280 is a reply to message #799257] Wed, 15 February 2012 17:36 Go to previous messageGo to next message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
Sorry you've lost me now, i'm just trying to install the plug-in's in eclipse indigo.
I'm new to eclipse too, so if this is something realy obvious I should know about, spell it out for me in detail, because I must be missing some obvious "know how" here.
Cheers
Re: Newbie to Eclipse... [message #799288 is a reply to message #799280] Wed, 15 February 2012 17:47 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2/15/2012 10:36 AM, Hicks incoming wrote:
> Sorry you've lost me now, i'm just trying to install the plug-in's in
> eclipse indigo. I'm new to eclipse too, so if this is something realy
> obvious I should know about, spell it out for me in detail, because I
> must be missing some obvious "know how" here. Cheers

This thread is a little out of control. The original post was looking
for help installing and using ADT, which has nothing to do with Eclipse.
Anthony was replying about the ADT emulator. As you were replying to his
post, I thought you were on about that too.

Best would be just to post a new question and ask what you'd like to
know. It's always precarious to come on top of an existing thread and
steer it toward your own needs.

Please start a new thread and we'll make it all about you!
Re: Newbie to Eclipse... [message #799294 is a reply to message #799288] Wed, 15 February 2012 18:01 Go to previous message
Hicks incoming is currently offline Hicks incomingFriend
Messages: 16
Registered: February 2012
Junior Member
Ok sorry. Didn't mean to hijack.
Previous Topic:Changing System Editor(s)
Next Topic:include on php
Goto Forum:
  


Current Time: Fri Apr 19 18:05:17 GMT 2024

Powered by FUDForum. Page generated in 0.09744 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top