Google maps aren't loaded after ProGuard Obfuscation in Eclipse

android

Solution

It is most likely issue with the Maps API Key. You should generate the Key with the signature used while exporting the app and use it in your map view. Its unlikely that Obfuscation using ProGuard will affect the map rendering.

Problem

I am developing an app that uses google maps. The app works fine up until I Export the signed app package .After the code has been obfuscated the maps are no longer loaded. I am pretty new to ProGuard,I've tried modifying proguard.cfg but soo far nothing has worked. Here are some of the different things that i've tried: ``` -libraryjars C:/Program Files/Android/android-sdk/add-ons/addon-google_apis-google_inc_-10/libs/maps.jar -keep class android.location.** { *; } -keepnames class com.google.android.maps.** {*;} -keep public class com.google.android.maps.** {*;} -dontwarn com.google.android.maps.GeoPoint -dontwarn com.google.android.maps.MapActivity -dontwarn com.google.android.maps.MapView -dontwarn com.google.android.maps.MapController -dontwarn com.google.android.maps.Overlay ``` Thanks

Original source