Closed GoogleCodeExporter closed 8 years ago
I double checked the maps.jar location in the SDK as well. Looks fine to me. I
even ran the build and there were no issues.
Try this. In the top-level pom.xml replace,
addon-google_apis-google_inc_-10 with
addon-google_apis-google_inc_-${version.android.api}
Not sure what difference its going to make, except that thats what the value
should be for the maps dependency
Original comment by openmobs...@gmail.com
on 14 Mar 2013 at 4:28
I have already test that, I always have the same error.
Original comment by gestin.r...@gmail.com
on 14 Mar 2013 at 4:36
Maybe move the jar to some other simpler location and test it. like say
c:\maps.jar
For some reason maven is not resolving the file location. Maybe try '/' instead
of '\' in your location
I am just guessing wildly at this point ;)
Original comment by openmobs...@gmail.com
on 14 Mar 2013 at 5:44
it's ok when I have copy maps.jar in C:\
thx
Original comment by gestin.r...@gmail.com
on 18 Mar 2013 at 2:32
I had to make the following change to get the build to work:
svn diff
Index: dev-tools/sampleApps/locationapp/pom.xml
===================================================================
--- dev-tools/sampleApps/locationapp/pom.xml (revision 12972)
+++ dev-tools/sampleApps/locationapp/pom.xml (working copy)
@@ -121,7 +121,7 @@
<artifactId>maps</artifactId>
<version>2.0</version>
<scope>system</scope>
- <systemPath>${env.ANDROID_HOME}/add-ons/addon-google_apis-google_inc_-10/li
bs/maps.jar
+ <systemPath>${env.ANDROID_HOME}/add-ons/addon-google_apis-google-${version.
android.api}/libs/maps.jar
</systemPath>
</dependency>
@@ -185,4 +185,4 @@
</plugins>
</pluginManagement>
</build>
-</project>
\ No newline at end of file
+</project>
Note not just the version handling change, but the base path is different as
well (no _inc_).
Original comment by flakfi...@gmail.com
on 10 Jun 2013 at 2:09
Thanks for the feedback. I will incorporate this change in the codebase. Thanks
again
Original comment by openmobs...@gmail.com
on 10 Jun 2013 at 2:22
Original comment by openmobs...@gmail.com
on 10 Jun 2013 at 2:23
The Location App is now deprecated. The build should work out of the box
Original comment by openmobs...@gmail.com
on 12 Nov 2013 at 10:32
Original comment by openmobs...@gmail.com
on 12 Nov 2013 at 10:33
Original issue reported on code.google.com by
gestin.r...@gmail.com
on 13 Mar 2013 at 2:02