Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2014
    Posts
    10

    Porting Google Maps v2 to HERE Maps ProGuard

    Hi,
    I just ported Google Maps V2 to HERE Maps but when I want to eport my .apk I get lots of Errors from Proguard.
    Does anyone know how to configure Proguard to work with HERE Maps or is there a manual that tells me how to do that?


    Cheers,
    Stefan

  2. #2
    Registered User
    Join Date
    Feb 2014
    Posts
    10

    Re: Porting Google Maps v2 to HERE Maps ProGuard

    Had to add this:


    -keep class com.here.**
    -dontwarn com.here.**

  3. #3
    Nokia Developer Expert
    Join Date
    Feb 2014
    Posts
    1

    Re: Porting Google Maps v2 to HERE Maps ProGuard

    Try adding the following lines to your proguard-android.txt
    -keep class com.nokia.** {*;}
    -keep interface com.nokia.** {*;}
    -dontwarn com.nokia.**
    -keep class com.here.** {*;}
    -keep interface com.here.** {*;}
    -dontwarn com.here.**

    To tell Proguard to leave NAA wrapper API intact by adding
    -keep class com.google.android.gms.maps** {*;}
    -keep interface com.google.android.gms.maps.** {*;}
    -dontwarn com.google.android.gms.maps.**

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,184

    Re: Porting Google Maps v2 to HERE Maps ProGuard

    BTW, TMP I suppose it migth be a good idea to write a short wiki article on the issue, that way we could find answers easier, as well as we could update the things nicely when needed. Ping me if you need help on creating the page.

Similar Threads

  1. Porting Google Maps v2 to HERE Maps
    By soucecastle in forum Nokia X Announcements and Feedback
    Replies: 6
    Last Post: 2014-02-27, 14:32
  2. Nokia maps and Google maps
    By MTi in forum Symbian
    Replies: 10
    Last Post: 2011-12-08, 14:23
  3. Is there a way to convert Maps Data from Nokia Maps 3 to be compatible with N Maps 2
    By dimchopicha in forum General Development Questions
    Replies: 6
    Last Post: 2011-01-09, 18:50
  4. LBS using google maps
    By a4akshatha in forum Mobile Java General
    Replies: 2
    Last Post: 2009-03-26, 11:22
  5. About Google Maps API
    By lysander in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-01-23, 14:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×