Reputation:
I accidentally made my package com.example.appname so when I tried to publish it, it wouldn't go through. I changed the package name to myname.app1.appname and everything works the same except my maps implementation. I'm using v2 and it worked before I changed my package but now the map is just a white screen with google in the corner and zoom buttons. The log cat says: E/Google Maps Android API(18983): Authorization failure. Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map.
I've followed every guide I could find, and read every single question that had anything to do with this, nothing is fixing it.
Map xml
<fragment android:id="@+id/the_map" android:layout_width="match_parent" android:layout_height="450dp" android:name="com.google.android.gms.maps.MapFragment" map:cameraTargetLat="43.804871" map:cameraTargetLng="-79.137248" map:cameraTilt="45" map:cameraZoom="14"/>
Map java
GoogleMap googleMap = ((MapFragment) getFragmentManager().findFragmentById(R.id.the_map)).getMap();
Upvotes: 1
Views: 273
Reputation: 3458
Upvotes: 1