Discussion Forums  >  Uncategorized

Replies: 4    Views: 362

cragas
Android Fan
Profile
Posts: 32
Reg: May 04, 2011
gosport
320
08/10/11 04:19 AM (14 years ago)

Obj_MapLocation.java file has an error?

Hi guys, Just started to create a new app and downloaded the source file and opened in eclipse. I ahevn't done anything yet and already have an error on the obj_maplocation.java file. It says the import com.google.com can not be resolved and has another error further down saying Geopoint can't be resolved to a type? Any help would be much appreciated Thanks Craig
 
slater
Android Fan
Profile
Posts: 87
Reg: Aug 09, 2011
St. Pete FL
870
like
08/10/11 06:31 AM (14 years ago)
This is one of my problems too. Subscribed
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/10/11 07:31 AM (14 years ago)
Could it be that are not using the Google v1.6 API's for the project (Projects > Settings > Android)....thousands of these maps are in use and it does get confusing...however...it's highly unlikey that your code doesn't work and while so many others do. Check to make sure you're project is buidling against Google v1.6 API's and that you have the Google Maps external library installed: http://developer.android.com/guide/topics/location/index.html Scroll down a bit
 
cragas
Android Fan
Profile
Posts: 32
Reg: May 04, 2011
gosport
320
like
08/10/11 08:54 AM (14 years ago)
Hi David, Your correct, i swithced to 1.6api and it's working. I've never had to do this before though, how strange!
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
11/09/11 02:52 AM (14 years ago)
Thanks David - I had the same issue and your advice got me sorted out in just a few minutes. Thank you. Kind regards, John
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.