Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bash command line + eclipse - build/run NDK project?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
SChaser  
View profile  
 More options Nov 25 2010, 6:50 pm
From: SChaser <crotalistig...@gmail.com>
Date: Thu, 25 Nov 2010 15:50:24 -0800 (PST)
Local: Thurs, Nov 25 2010 6:50 pm
Subject: Bash command line + eclipse - build/run NDK project?
I have an NDK project which I have been developing using Eclipse for
the Java, and Cygwin command line (ndkbld) for the NDK.

However, I'd like to avoid the multi-step build/run process if
possible. Right now, that process is:

ndk-build

go to eclipse

select project->refresh (builds project)

run project

select logcat, maximize it

When I'm doing a bunch of NDK, I'd rather just go from the bash
(cygwin) command line and type one command (presumably using Ant) that
would:

 build the ndk,

build the java,

package it up,

send it to the device,

and do whatever it takes to display the logcat output.

I'm sure its possible to do an Ant build.xml to do this, but I'm
hoping someone already has one I could use as a model.

Tks in advance.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kelly  
View profile  
 More options Nov 26 2010, 4:37 am
From: Kelly <senor...@gmail.com>
Date: Fri, 26 Nov 2010 01:37:51 -0800 (PST)
Local: Fri, Nov 26 2010 4:37 am
Subject: Re: Bash command line + eclipse - build/run NDK project?
http://developer.android.com/guide/developing/other-ide.html

Read it. If you want to use ant, your build or not, it can only help
to understand what's going on. Secondarilarily, you need to see how
ant executes externals: http://ant.apache.org/faq.html#batch-shell-execute

That will tell you how to call ndk-build from ant.

Cheers

On Nov 25, 3:50 pm, SChaser <crotalistig...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Edenfield  
View profile  
 More options Nov 28 2010, 8:54 pm
From: Mike Edenfield <kut...@kutulu.org>
Date: Sun, 28 Nov 2010 20:54:20 -0500
Local: Sun, Nov 28 2010 8:54 pm
Subject: Re: Bash command line + eclipse - build/run NDK project?

On Thu, 2010-11-25 at 15:50 -0800, SChaser wrote:
> I have an NDK project which I have been developing using Eclipse for
> the Java, and Cygwin command line (ndkbld) for the NDK.

> However, I'd like to avoid the multi-step build/run process if
> possible. Right now, that process is:

If you are using Eclipse 3.6, then I'd strongly suggest you add the
latest p2 repo from the Sequoyah project (1.1 -- not the one that's
already in the Eclipse software list) and install the Android Native
Support plug-in.

It provides the scaffolding that the CDT plug-in needs to properly do
NDK builds -- a "Build" command will build your NDK components, then
your Java components, all at once.  And unlike the previous attempts to
integrate the NDK into Eclipse, I've never had this one fail to actually
produce a new .apk file.

(It also gives you integrated step-through debugging via gdbserver,
including stepping native <--> managed code, though that takes a bit
more work because the ndk's version of gdbserver is useless.)

--Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ict-guys ictguys  
View profile  
 More options Nov 29 2010, 9:58 pm
From: ict-guys ictguys <ict.numb...@gmail.com>
Date: Tue, 30 Nov 2010 08:28:24 +0530
Local: Mon, Nov 29 2010 9:58 pm
Subject: Re: Bash command line + eclipse - build/run NDK project?

I would also back that up. With sequoyah I am able to build the native
project as well in the eclipse environment and debugging the native code too
is possible but i am not able to set it up properly. I am getting the error
"Error creating process when the C++ debug configuration is invoked.

Regards,
Murari

--
Regards,
Murari Krishnan

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »