-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: all buttons in the sample of Kotlin&v3 cause a crash #118
Comments
Hi @AndroidDeveloperLB . The sample code has differed since you open this request. Could you check that it is working? The issue seems to have been fixed in the meantime. |
@kikoso Now it doesn't crash. |
@AndroidDeveloperLB , can you specify where the permissions are not being asked, and where are the weird coloring options? |
Here, screenshot for both, with the number I've shown for each : |
Also of note, v3 of the Maps SDK for Android is deprecated as of August 2021 and soon to be decommissioned. #452 adds permission handling to the main version of this demo app, but we will not be updating the v3 version. |
@wangela Can you please show the old vs new dependency on gradle? I have these on one of the projects I work on:
|
@AndroidDeveloperLB , the dependencies seem correct. What @wangela is mentioning is that the v3 of the Maps SDK (which you seem to be using according to the crash log, Could you check out with the standard Maps SDK version? |
@kikoso What do you mean? What should I look for in the gradle file? What is the dependency, if it's not what I wrote? He mentioned v3 . |
@AndroidDeveloperLB , check out the project structure. You seem to be using the v3, which is deprecated. It is recommended to switch to the standard package. |
@kikoso I didn't post a project for a long time here. Which dependencies should I search for, to make sure they are on the newest version? Where do you see on the dependencies I've mentioned that it's v3 or anything else? |
@AndroidDeveloperLB, the versions you are using for your project are good to go.
The reference to the v3 of the Maps SDK was based on your original crash report. |
@kikoso Are you talking about my first one post of this thread, on 2020 ? |
Yes, and the title of this issue also mentions "v3" which is why we thought the issue you are reporting is related to usage of the v3 folder of this demo repo. If that is not the case, please edit the title of the issue. |
@wangela The original issue existed, and was fixed. Now the new issue is this one: I will close the current thread. Please create a new one with the information I've given . |
@AndroidDeveloperLB , there are a couple of PRs fixing the issues you mentioned, they will get merged soon but just FYI: |
Environment details
Specify the API at the beginning of the title (for example, "Places: ...")
v3
OS type and version
Emulator API 30
Library version and other environment information
// GMS
gmsImplementation 'com.google.android.libraries.places:places:2.4.0'
// V3
v3Implementation name:'places-maps-sdk-3.1.0-beta', ext:'aar'
v3Implementation 'com.android.volley:volley:1.1.1'
v3Implementation 'com.google.android.gms:play-services-base:17.4.0'
v3Implementation 'com.google.android.gms:play-services-basement:17.4.0'
v3Implementation 'com.google.android.gms:play-services-gcm:17.0.0'
v3Implementation 'com.google.android.gms:play-services-location:17.1.0'
v3Implementation 'com.google.android.gms:play-services-tasks:17.2.0'
v3Implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
v3Implementation 'com.google.auto.value:auto-value-annotations:1.7.4'
v3Implementation 'com.google.code.gson:gson:2.8.6'
Steps to reproduce
https://github.com/googlemaps/android-places-demos/tree/main/demo-kotlin
Code example
It's just what's on the sample.
Stack trace
Following these steps will guarantee the quickest resolution possible.
I've tried each of the buttons. All cause a crash.
See attached:
https://github.com/kataklisma/android-google-places/files/5399937/2020-10-19_10-42-11.zip
And the project (without the real key):
https://github.com/kataklisma/android-google-places/files/5399948/demo-kotlin.zip
The text was updated successfully, but these errors were encountered: