Comments (12)
from android-maps-utils.
Thanks for the quick reply. I am yet unaware of the aar extension, I mostly worked with jars. Should I select the aar file as an external library? I can't see it in the Add jars browser.
from android-maps-utils.
I think it will be easier for you to just download a very simple app that has Android Maps Utils configured and start working on that. Here is my project that displays 3 markers and uses AMUtils to generate icons with text: https://github.com/mg6maciej/presentation-handy-maps-extensions
from android-maps-utils.
Why is it hard to create a jar file from it? I'd like to add it to my project and try how it works. Can an aar file be converted to jar?
from android-maps-utils.
Aar contains jar and a couple of other things: res/ folder and AndroidManifest.xml.
I guess you can unzip that aar and copy resources to your project and it will work.
from android-maps-utils.
I don't understand. IF the gradlew finished, it would create a library.jar file. I can't finish it, as it throws that aforementioned exception. IF anyone could use the gradlew (and if it succeeds), that person could attach the library.jar. If you run gradlew, does it throw an exception for you OR does it create the library.jar?
from android-maps-utils.
If you're using Gradle, the best way to include the library is via:
dependencies {
compile 'com.google.maps.android:android-maps-utils:0.2.+'
}
from android-maps-utils.
See the initial post, gradle couldn't be used to create anything from the project, as it couldn't determine dependencies. I copied out the classes.jar file from the aar file and now I can compile, but my project cannot start, it seems, lots of permission issues are in the log. Didn't know this is so hard to use,
from android-maps-utils.
Have you installed the "Google repository" from the Android SDK?
Can you post a full log? Are you trying to build your own project, or the android-maps-utils
project?
from android-maps-utils.
I have installed both Google Repository and Support repository. I simply downloaded the master.zip and tried to use gradlew.bat. It couldn't find any google-play-services jar, so I modified gradle.build to compile files('google-play-services.jar'), and when I try to use gradlew tasks, I get that 'Could not determine the dependencies of task ':library:compileReleaseJava' message. So I asked for the jar, and from the aar file, I extracted the classes.jar and now I can compile my project but my project won't start on the phone, I have to determine why.
from android-maps-utils.
Have you set ANDROID_HOME correctly?
That is, ls $ANDROID_HOME/extras/google/m2repository
should exist. (sorry, I don't know the equivalent Windows command.
from android-maps-utils.
Yes, it is set. I managed to get the jar file by ripping it out of the aar.
from android-maps-utils.
Related Issues (20)
- Add support for Advanced Markers HOT 1
- Ability to specify `anchor` marker option for `ClusterItem`
- Refdocs stuck at v3.4.0 HOT 3
- Change documentation link to GitHub page HOT 1
- Set documentation title as "android-maps-utils" HOT 1
- A lot of unnecessary warnings HOT 1
- Add StreetViewSource parameter to fetchStreetViewData HOT 2
- Remove outdated CHANGELOG.md file HOT 2
- Add kml layer in compose HOT 1
- Creating Kotlin demos for android-maps-utils
- Add Header Check to android-maps-utils
- Improve javadoc descriptions to marker clustering algorithms
- java.lang.IllegalArgumentException : Unmanaged descriptor HOT 3
- Android Map development encountered Google Map deadlock issue: HOT 3
- Incorrect operation of the marker information window HOT 3
- Multiple google api keys (MAPS_API_KEY) per Application HOT 1
- Odd cluster behavior during clustering HOT 1
- Add AdvancedMarkerManager Collection HOT 2
- setOnMarkerDragListener does not report marker drag event HOT 2
- Google Maps is not loading on Android 8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-maps-utils.