Setting environment variable in eclipse

Hi

I tried to download ODK Collect in eclipse and also build the environment
as provided in the following link.
http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android

But I am getting the following errors while trying to launch in emulator...

GeoPoint cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/android/activities line 57 Java Problem
MapActivity cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/android/activities line 47 Java Problem
MapController cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/android/activities line 52 Java Problem

Is it something to do with the AVD or the version of the emulator

regards
Arindsm

··· --

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

Hi Arindsm,
Do you have the android Google APIshttps://developers.google.com/android/add-ons/google-apis/installinginstalled?
Regards,
-Nathan

··· On Thursday, August 16, 2012 2:10:35 PM UTC-7, Arindam Bhattacharjee wrote: > > Hi > > I tried to download ODK Collect in eclipse and also build the environment > as provided in the following link. > > http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android > > But I am getting the following errors while trying to launch in emulator... > > GeoPoint cannot be resolved to a type GeoPointMapActivity.java /ODK > Collect/src/org/odk/collect/android/activities line 57 Java Problem > MapActivity cannot be resolved to a type GeoPointMapActivity.java /ODK > Collect/src/org/odk/collect/android/activities line 47 Java Problem > MapController cannot be resolved to a type GeoPointMapActivity.java /ODK > Collect/src/org/odk/collect/android/activities line 52 Java Problem > > Is it something to do with the AVD or the version of the emulator > > regards > Arindsm > > > > > -- > > > The secret of health for both mind and body is not to mourn for the past, > worry about the future, or anticipate troubles, but to live in the present > moment wisely and earnestly..... > Gautam Buddha > >

Yes, I followed most of the steps....

··· On Thu, Aug 16, 2012 at 5:38 PM, Nathan wrote:

Hi Arindsm,
Do you have the android Google APIshttps://developers.google.com/android/add-ons/google-apis/installinginstalled?
Regards,
-Nathan

On Thursday, August 16, 2012 2:10:35 PM UTC-7, Arindam Bhattacharjee wrote:

Hi

I tried to download ODK Collect in eclipse and also build the environment
as provided in the following link.
http://code.google.com/p/opendatakit/wiki/
DevelopmentEnvironment#Setup_**for_Androidhttp://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android

But I am getting the following errors while trying to launch in
emulator...

GeoPoint cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 57 Java Problem
MapActivity cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 47 Java Problem
MapController cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 52 Java Problem

Is it something to do with the AVD or the version of the emulator

regards
Arindsm

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

Hello,

I've solved this problem (I'm using eclipse 4.2.0) going to project
properties and under android part, I selected "Project Build Target"
with the option: "Google APIs" Platform 2.1, level 7. This option
includes Android + Google APIs.

Hope this helps you.

Al 16/08/2012 23:10, En/na Arindam Bhattacharjee ha escrit:

··· > Hi > > I tried to download ODK Collect in eclipse and also build > the environment as provided in the following link. > http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android > > But I am getting the following errors while trying to launch in > emulator... > > GeoPoint cannot be resolved to a typeGeoPointMapActivity.java/ODK > Collect/src/org/odk/collect/android/activitiesline 57Java Problem > MapActivity cannot be resolved to a typeGeoPointMapActivity.java/ODK > Collect/src/org/odk/collect/android/activitiesline 47Java Problem > MapController cannot be resolved to a typeGeoPointMapActivity.java/ODK > Collect/src/org/odk/collect/android/activitiesline 52Java Problem > > Is it something to do with the AVD or the version of the emulator > > regards > Arindsm > > > > > -- > > > The secret of health for both mind and body is not to mourn for the > past, worry about the future, or anticipate troubles, but to live in > the present moment wisely and earnestly..... > Gautam Buddha > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

More detail:

under Project / Properties, click on "Android" and ensure that you have
"Google APIs" checked for Platform 2.2, API Level 8

Mitch

··· On Thu, Aug 16, 2012 at 2:56 PM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

Yes, I followed most of the steps....

On Thu, Aug 16, 2012 at 5:38 PM, Nathan nabreit@gmail.com wrote:

Hi Arindsm,
Do you have the android Google APIshttps://developers.google.com/android/add-ons/google-apis/installinginstalled?
Regards,
-Nathan

On Thursday, August 16, 2012 2:10:35 PM UTC-7, Arindam Bhattacharjee wrote:

Hi

I tried to download ODK Collect in eclipse and also build
the environment as provided in the following link.
http://code.google.com/p/opendatakit/wiki/
DevelopmentEnvironment#Setup_**for_Androidhttp://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android

But I am getting the following errors while trying to launch in
emulator...

GeoPoint cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 57 Java Problem
MapActivity cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 47 Java Problem
MapController cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 52 Java Problem

Is it something to do with the AVD or the version of the emulator

regards
Arindsm

--

The secret of health for both mind and body is not to mourn for the
past, worry about the future, or anticipate troubles, but to live in the
present moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

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

I am getting the error in the file
GeoPointMapActivity.java

Its error in importing. Do you think I am missing a library

import com.google.android.maps.GeoPoint;

import com.google.android.maps.MapActivity;

import com.google.android.maps.MapController;

import com.google.android.maps.MapView;

import com.google.android.maps.MyLocationOverlay;

import com.google.android.maps.Overlay;

··· On Thu, Aug 16, 2012 at 5:56 PM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

Yes, I followed most of the steps....

On Thu, Aug 16, 2012 at 5:38 PM, Nathan nabreit@gmail.com wrote:

Hi Arindsm,
Do you have the android Google APIshttps://developers.google.com/android/add-ons/google-apis/installinginstalled?
Regards,
-Nathan

On Thursday, August 16, 2012 2:10:35 PM UTC-7, Arindam Bhattacharjee wrote:

Hi

I tried to download ODK Collect in eclipse and also build
the environment as provided in the following link.
http://code.google.com/p/opendatakit/wiki/
DevelopmentEnvironment#Setup_**for_Androidhttp://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android

But I am getting the following errors while trying to launch in
emulator...

GeoPoint cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 57 Java Problem
MapActivity cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 47 Java Problem
MapController cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 52 Java Problem

Is it something to do with the AVD or the version of the emulator

regards
Arindsm

--

The secret of health for both mind and body is not to mourn for the
past, worry about the future, or anticipate troubles, but to live in the
present moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

See the previous responses.

Have you followed these steps:
https://developers.google.com/android/add-ons/google-apis/installing to get
the Google APIs installed within your Android SDK?

You must then perform either of the steps outlined in the 2 preceding
e-mails, depending upon your version of Eclipse.

After that, try Project / Clean, Refresh, and Build.

If that doesn't resolve your issue, what version of Eclipse are you using?

Mitch

··· On Fri, Aug 17, 2012 at 10:21 AM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

I am getting the error in the file
GeoPointMapActivity.java

Its error in importing. Do you think I am missing a library

import com.google.android.maps.GeoPoint;

import com.google.android.maps.MapActivity;

import com.google.android.maps.MapController;

import com.google.android.maps.MapView;

import com.google.android.maps.MyLocationOverlay;

import com.google.android.maps.Overlay;

On Thu, Aug 16, 2012 at 5:56 PM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

Yes, I followed most of the steps....

On Thu, Aug 16, 2012 at 5:38 PM, Nathan nabreit@gmail.com wrote:

Hi Arindsm,
Do you have the android Google APIshttps://developers.google.com/android/add-ons/google-apis/installinginstalled?
Regards,
-Nathan

On Thursday, August 16, 2012 2:10:35 PM UTC-7, Arindam Bhattacharjee wrote:

Hi

I tried to download ODK Collect in eclipse and also build
the environment as provided in the following link.
http://code.google.com/p/opendatakit/wiki/
DevelopmentEnvironment#Setup_**for_Androidhttp://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android

But I am getting the following errors while trying to launch in
emulator...

GeoPoint cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 57 Java Problem
MapActivity cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 47 Java Problem
MapController cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 52 Java Problem

Is it something to do with the AVD or the version of the emulator

regards
Arindsm

--

The secret of health for both mind and body is not to mourn for the
past, worry about the future, or anticipate troubles, but to live in the
present moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

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

Nevermind its working,
This was my issue:

··· On Fri, Aug 17, 2012 at 1:21 PM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

I am getting the error in the file
GeoPointMapActivity.java

Its error in importing. Do you think I am missing a library

import com.google.android.maps.GeoPoint;

import com.google.android.maps.MapActivity;

import com.google.android.maps.MapController;

import com.google.android.maps.MapView;

import com.google.android.maps.MyLocationOverlay;

import com.google.android.maps.Overlay;

On Thu, Aug 16, 2012 at 5:56 PM, Arindam Bhattacharjee < arindam.rbt@gmail.com> wrote:

Yes, I followed most of the steps....

On Thu, Aug 16, 2012 at 5:38 PM, Nathan nabreit@gmail.com wrote:

Hi Arindsm,
Do you have the android Google APIshttps://developers.google.com/android/add-ons/google-apis/installinginstalled?
Regards,
-Nathan

On Thursday, August 16, 2012 2:10:35 PM UTC-7, Arindam Bhattacharjee wrote:

Hi

I tried to download ODK Collect in eclipse and also build
the environment as provided in the following link.
http://code.google.com/p/opendatakit/wiki/
DevelopmentEnvironment#Setup_**for_Androidhttp://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment#Setup_for_Android

But I am getting the following errors while trying to launch in
emulator...

GeoPoint cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 57 Java Problem
MapActivity cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 47 Java Problem
MapController cannot be resolved to a type GeoPointMapActivity.java /ODK
Collect/src/org/odk/collect/**android/activities line 52 Java Problem

Is it something to do with the AVD or the version of the emulator

regards
Arindsm

--

The secret of health for both mind and body is not to mourn for the
past, worry about the future, or anticipate troubles, but to live in the
present moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha

--

The secret of health for both mind and body is not to mourn for the past,
worry about the future, or anticipate troubles, but to live in the present
moment wisely and earnestly.....
Gautam Buddha