ODK Collect Android Project Eclipse Error

Hello,
When i import the ODK Collect source into Eclipse I get and Error through
out my activities every time the code import org.odk.collect.android.R; Im
not sure why i am using the right Google API and the SDK has all
the necessary packages installed.

Jon

Also when i import the project the name of the project
is SplashScreenActivity

··· On Tuesday, December 18, 2012 3:32:45 PM UTC-5, Jon Nordling wrote: > > Hello, > When i import the ODK Collect source into Eclipse I get and Error through > out my activities every time the code import org.odk.collect.android.R; Im > not sure why i am using the right Google API and the SDK has all > the necessary packages installed. > > Jon >

If this is your first time working on Android, I recommend the Android
tutorial: http://developer.android.com/training/basics/firstapp/index.html

The first error is due to the way Android projects work. They construct an
R file for all resource ids. This usually clears if you do an F5 (refresh)
and then a rebuild-all.

The second, I have no idea; there is an Eclipse Android project checked
into the source tree, so you should be importing an existing project, not
importing from source.

Mitch

··· On Tue, Dec 18, 2012 at 12:34 PM, Jon Nordling wrote:

Also when i import the project the name of the project
is SplashScreenActivity

On Tuesday, December 18, 2012 3:32:45 PM UTC-5, Jon Nordling wrote:

Hello,
When i import the ODK Collect source into Eclipse I get and Error through
out my activities every time the code import org.odk.collect.android.R; Im
not sure why i am using the right Google API and the SDK has all
the necessary packages installed.

Jon

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Ok thanks,

I have figured it out. The problem was that i was importing from
Android->Existing Android Code Into Workspace, For for some reason it did
not like that. It worked when i imported from General->Existing Project
into Workspace. Then i ran as a Android Application and it worked.

Jon

··· On Tuesday, December 18, 2012 3:40:51 PM UTC-5, Mitch wrote: > > If this is your first time working on Android, I recommend the Android > tutorial: http://developer.android.com/training/basics/firstapp/index.html > > The first error is due to the way Android projects work. They construct an > R file for all resource ids. This usually clears if you do an F5 (refresh) > and then a rebuild-all. > > The second, I have no idea; there is an Eclipse Android project checked > into the source tree, so you should be importing an existing project, not > importing from source. > > Mitch > > On Tue, Dec 18, 2012 at 12:34 PM, Jon Nordling <jonno...@gmail.com wrote: > >> Also when i import the project the name of the project >> is SplashScreenActivity >> >> >> On Tuesday, December 18, 2012 3:32:45 PM UTC-5, Jon Nordling wrote: >>> >>> Hello, >>> When i import the ODK Collect source into Eclipse I get and Error >>> through out my activities every time the code import >>> org.odk.collect.android.R; Im not sure why i am using the right Google API >>> and the SDK has all the necessary packages installed. >>> >>> Jon >>> >> > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

Ok thanks,

I have figured it out. The problem was that i was importing from Android->Existing Android Code Into Workspace, For for some reason it did not like that. It worked when i imported from General->Existing Project into Workspace. Then i ran as a Android Application and it worked.

Jon

On Tuesday, December 18, 2012 3:40:51 PM UTC-5, Mitch wrote:If this is your first time working on Android, I recommend the Android tutorial: http://developer.android.com/training/basics/firstapp/index.html

The first error is due to the way Android projects work. They construct an R file for all resource ids. This usually clears if you do an F5 (refresh) and then a rebuild-all.

The second, I have no idea; there is an Eclipse Android project checked into the source tree, so you should be importing an existing project, not importing from source.

Mitch

Also when i import the project the name of the project is SplashScreenActivity

Hello,
When i import the ODK Collect source into Eclipse I get and Error through out my activities every time the code import org.odk.collect.android.R; Im not sure why i am using the right Google API and the SDK has all the necessary packages installed.

Jon

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Hi guys, i my projects generates always some error when i debug it in eclipse.help me please

··· Le mardi 18 décembre 2012 20:54:18 UTC, Jon Nordling a écrit : > On Tue, Dec 18, 2012 at 12:34 PM, Jon Nordling wrote: > On Tuesday, December 18, 2012 3:32:45 PM UTC-5, Jon Nordling wrote:

This is not an ODK tool question and is inappropriate for this list.

··· On Thu, Mar 17, 2016 at 2:50 AM, wrote:

Le mardi 18 décembre 2012 20:54:18 UTC, Jon Nordling a écrit :

Ok thanks,

I have figured it out. The problem was that i was importing from
Android->Existing Android Code Into Workspace, For for some reason it did
not like that. It worked when i imported from General->Existing Project
into Workspace. Then i ran as a Android Application and it worked.

Jon

On Tuesday, December 18, 2012 3:40:51 PM UTC-5, Mitch wrote:If this is
your first time working on Android, I recommend the Android tutorial:
http://developer.android.com/training/basics/firstapp/index.html

The first error is due to the way Android projects work. They construct
an R file for all resource ids. This usually clears if you do an F5
(refresh) and then a rebuild-all.

The second, I have no idea; there is an Eclipse Android project checked
into the source tree, so you should be importing an existing project, not
importing from source.

Mitch

On Tue, Dec 18, 2012 at 12:34 PM, Jon Nordling jonno...@gmail.com wrote:

Also when i import the project the name of the project
is SplashScreenActivity

On Tuesday, December 18, 2012 3:32:45 PM UTC-5, Jon Nordling wrote:
Hello,
When i import the ODK Collect source into Eclipse I get and Error
through out my activities every time the code import
org.odk.collect.android.R; Im not sure why i am using the right Google API
and the SDK has all the necessary packages installed.

Jon

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Hi guys, i my projects generates always some error when i debug it in
eclipse.help me please

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com