Hi Alexis,

Where you had changed this part of code?
"com.google.android.maps" % "maps" % "7_r1" % "compile"



On Tuesday, 7 February 2012 19:39:41 UTC+5:30, Alexis Agahi wrote:
>
> Ok after a coffee break I got it.
>
> I've added "provided" in the lib dependency
> "com.google.android.maps" % "maps" % "7_r1" % "provided"
>
> instead of
> "com.google.android.maps" % "maps" % "7_r1" % "compile"
>
> Sorry for the trouble ;)
>
>
> On Tue, Feb 7, 2012 at 2:56 PM, Alexis Agahi <alexis...@gmail.com 
> <javascript:>> wrote:
> > Ok thank for the help, but... I'm missing something next stage...
> >
> > At runtime its seems that maps.jar is not in classpath (or something),
> > see the emulator trace here.
> >
> > W/dalvikvm(  355): Class resolved by unexpected DEX:
> > Lcom/spotmint/MainActivity;(0x44e835d0):0x126148 ref
> > [Lcom/google/android/maps/MapActivity;]
> > Lcom/google/android/maps/MapActivity;(0x44e835d0):0x11cd88
> > W/dalvikvm(  355): (Lcom/spotmint/MainActivity; had used a different
> > Lcom/google/android/maps/MapActivity; during pre-verification)
> > W/dalvikvm(  355): Unable to resolve superclass of
> > Lcom/spotmint/MainActivity; (18)
> > W/dalvikvm(  355): Link of class 'Lcom/spotmint/MainActivity;' failed
> >
> >
> > Even if I've the
> >        <uses-library 
> android:name="com.google.android.maps"></uses-library>
> > in the AndroidManifest.xml
> >
> > The "had used a different Lcom/google/android/maps/MapActivity; during
> > pre-verification" is supposed to help, but I im my case I have no
> > clue...
> >
> > If you have an idea...?
> >
> >
> >
> >
> >
> > On Mon, Feb 6, 2012 at 11:55 PM, Jan Berkel <jan.b...@gmail.com 
> <javascript:>> wrote:
> >> On Mon, Feb 6, 2012 at 7:50 PM, Alexis Agahi <alexis...@gmail.com 
> <javascript:>> wrote:
> >>> Hi,
> >>>
> >>> This might sounds obvious, but how can I add google map support to my
> >>> project? Is there a best practice here?
> >>>
> >>> I don't see any hint in the doc, even the plugin source don't refer 
> anymore
> >>> to add-ons (it seems that older version use to have support using the
> >>> manifest.xml declaration).
> >>>
> >>> Thanks for your help.
> >>
> >> the way to do this now is via the maven-android-sdk-deployer
> >> (https://github.com/mosabua/maven-android-sdk-deployer)
> >>
> >> it copies the maps files to your local maven repository, then you can
> >> reference it as a normal depdendency from your build files. sorry
> >> don't have any examples for this but you should be able to figure it
> >> out from the deployer docs.
> >>
> >> all other dependencies are available via maven central - only maps
> >> cannot be included for licensing reasons (i think)
> >>
> >>
> >>  Jan
> >
> >
> >
> > --
> > Al
>
> -- 
> Al
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scala-on-android+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to