Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
02/09/14 06:10 AM (10 years ago)

Error, again in Maps

Good morning I have re-download the source for the application and followed the same steps to make it work. https://www.dropbox.com/s/be0ncytiz1708df/maps.tiff keytool Api Key v2 play services But now simulator shows me this, in pluglin map. Before (with code antifuo two weeks ago, I see in white, but not lack of pluglin) Any idea?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/09/14 06:30 AM (10 years ago)
Go to project properties-->Android and make sure Google Play Services is added to your libraries.
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
02/09/14 06:35 AM (10 years ago)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/09/14 06:37 AM (10 years ago)
What does your LogCat show?
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
02/09/14 06:51 AM (10 years ago)
Yes 02-09 14:02:46.801: W/ZZ(519): BT_screen_map:onStart JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:02:46.801: W/ZZ(519): BT_screen_map:onResume JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:02:46.801: W/ZZ(519): BT_screen_map:onCreateOptionsMenu JSON itemId: "F83002EC542439F90F4FAAD" 02-09 14:02:46.811: W/ZZ(519): BT_screen_map:onCreateOptionsMenu JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion"
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/09/14 06:58 AM (10 years ago)
Probably need some more than that - at least as much, immediately proceeding that section
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/09/14 07:05 AM (10 years ago)
Noticed this: 02-09 14:55:57.002: E/GooglePlayServicesUtil(19076): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. May need to delete the library from your project (both in project properties and the libs folder), and re-add. Or may need to reinstall the library to your workspace.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/09/14 07:07 AM (10 years ago)
I'm going to delete your above post with all the logcat, since it shows your Google API key.
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
02/09/14 09:49 AM (10 years ago)
I tried to test with a real device, nor leaves the map ... but do not miss the lack of pluglin royalty. I'm a little desconcdrtado, but it must be a problem with the keystore. I'll keep on trying
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
02/09/14 11:27 AM (10 years ago)
The new log with simulator.. but the problem is the same. i´m confused 02-09 14:26:48.351: D/dalvikvm(446): GC_EXPLICIT freed 10K, 7% free 7738K/8259K, paused 4ms+3ms 02-09 14:26:53.390: D/dalvikvm(259): GC_EXPLICIT freed 146K, 9% free 8300K/9095K, paused 4ms+7ms 02-09 14:26:58.382: D/dalvikvm(292): GC_EXPLICIT freed 3K, 6% free 18677K/19719K, paused 5ms+6ms 02-09 14:27:45.161: W/ZZ(776): BT_screen_menuButtons:button clicked 02-09 14:27:45.161: W/ZZ(776): BT_screen_menuButtons:handleItemTap loads screen with itemId: "F83002EC542439F90F4FAAD" 02-09 14:27:45.171: W/ZZ(776): BT_application:getScreenDataByItemId itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.171: W/ZZ(776): BT_screen_menuButtons:loadScreenObject. Loading screen with JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.171: W/ZZ(776): BT_activity_host:initPluginWithScreenData. Calling helper method in BT_application 02-09 14:27:45.171: W/ZZ(776): BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.171: W/ZZ(776): BT_screen_map:setScreenData JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.171: W/ZZ(776): BT_activity_host:showFragmentForPlugin. Showing plugin with JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.171: W/ZZ(776): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 02-09 14:27:45.221: W/ZZ(776): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.221: W/ZZ(776): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.391: D/dalvikvm(776): GC_FOR_ALLOC freed 4844K, 29% free 16103K/22407K, paused 83ms 02-09 14:27:45.602: W/ZZ(776): BT_screen_menuButtons:onPause JSON itemId: "C9D601A7D7BE4EFCF16B894" itemType: "BT_screen_menuButtons" itemNickname: "Botones" 02-09 14:27:45.602: W/ZZ(776): BT_screen_menuButtons:onStop JSON itemId: "C9D601A7D7BE4EFCF16B894" itemType: "BT_screen_menuButtons" itemNickname: "Botones" 02-09 14:27:45.654: W/ZZ(776): BT_screen_map:onAttach JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.692: W/ZZ(776): BT_screen_map:onCreateOptionsMenu JSON itemId: "F83002EC542439F90F4FAAD" 02-09 14:27:45.692: W/ZZ(776): BT_screen_map:onCreateOptionsMenu JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.701: W/ZZ(776): BT_screen_map:onCreate JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.701: W/ZZ(776): BT_screen_map:onCreateView JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.842: W/ZZ(776): BT_screen_map:onCreate. Found Google Maps v2 API Key: delete 02-09 14:27:45.860: D/dalvikvm(776): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp 02-09 14:27:45.860: W/dalvikvm(776): VFY: unable to resolve instance field 32 02-09 14:27:45.860: D/dalvikvm(776): VFY: replacing opcode 0x52 at 0x0012 02-09 14:27:45.901: W/GooglePlayServicesUtil(776): Google Play Store is missing. 02-09 14:27:45.901: W/ZZ(776): BT_screen_map:onActivityCreated JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.901: W/ZZ(776): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 02-09 14:27:45.921: W/ZZ(776): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.921: W/ZZ(776): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.931: W/ZZ(776): BT_screen_map:onStart JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.931: W/ZZ(776): BT_screen_map:onResume JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion" 02-09 14:27:45.941: W/ZZ(776): BT_screen_map:onCreateOptionsMenu JSON itemId: "F83002EC542439F90F4FAAD" 02-09 14:27:45.941: W/ZZ(776): BT_screen_map:onCreateOptionsMenu JSON itemId: "F83002EC542439F90F4FAAD" itemType: "BT_screen_map" itemNickname: "Localizacion"
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/09/14 01:34 PM (10 years ago)
Maps do NOT work in the emulator for Android at all for the v2 API. It's an issue on the Android side, and one that Google doesn't seem to have a priority on fixing. If you run it on your real device, it should work just fine. Mark
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
02/09/14 01:39 PM (10 years ago)
Hi @Don Javi, Just in case, here is Smug's tut on Google Play Services. http://www.buzztouch.com/files/howtos/GPSRefBT.pdf Did you delete the Google-Play-Services-Remove.Jar file? Farcat
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/09/14 03:30 PM (10 years ago)
Good call Mark - I didn't pick up on the fact he was using the emulator. You'll definitely need an actual device to see the map, as Google Play Services doesn't work with emulators by Google design.
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
02/09/14 03:38 PM (10 years ago)
Thanks for the interest .. But I've tested with simulator and does not work. In Xperia Z and Xperia L Wear a few days following tutoraiales all that ye have, of the smug and the others. Maybe there is something wrong with me in this.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/09/14 03:51 PM (10 years ago)
@DonJavi - just to be clear, but maps will not work in any emulator at all. It's simply not supported. You need to run the app on a real device to see maps working. Mark
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
02/09/14 04:01 PM (10 years ago)
Hi sorry, confused before my words .. I wanted to say that I have tried the apk on an actual device,, A and Z xperia xperia L.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/09/14 04:44 PM (10 years ago)
What does LogCat show on an actual device? Did you try reinstalling Google Play Services?
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
02/17/14 04:03 AM (10 years ago)
I finally got up the google application to play, and it seems to work. What is not is how I did touch many parameters again and again. GoNorthWest,chris1,farcat... thank you all! Without you it would not have been possible
 

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.