You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
[Android] Cannot enable the location service (NoClassDefFoundError) #156
Reacted by Skintillion, Isaac Hernandez, jorugit, Nakorn Sinpadung, Matías Vilches, Jeremy PELE, Yegor Medvedev, Carlos Delfino and Alexey Shagiakhmetov
Reacted by christofferfleat, tahir jamil and SENECHAL Maxime
Reacted by Nakorn Sinpadung, GrEg00z and Yegor Medvedev
Reacted by jorugit, Nakorn Sinpadung, Matías Vilches, marcosnc08 and Yegor Medvedev
I don't know why this issue is closed.
I get the same error, it has been 6h i'm working on nativescript-geolocation to have a map / marker and get my current location, that last thing who doesn't work because of this same error.
And i tried what is listed here and here : #172
This shit doesn't work neither. sorry. android { project.ext { googlePlayServicesVersion = "15.0.1" } }
I don't know why this issue is closed.
I get the same error, it has been 6h i'm working on nativescript-geolocation to have a map / marker and get my current location, that last thing who doesn't work because of this same error.
And i tried what is listed here and here : #172
This shit doesn't work neither. sorry. android { project.ext { googlePlayServicesVersion = "15.0.1" } }
I tested it and it works with nativescript 6, nativescript-geolocation 5.1.0, angular 8.2.0
Activity
[-]Cannot enable the location service[/-][+][Android] Cannot enable the location service (NoClassDefFoundError)[/+]kefahB commentedon Sep 8, 2018
@DimitarTodorov please can you answer.
kefahB commentedon Sep 8, 2018
The solution is to add the flowing in
app/App_Resources/Android/app.gradleas explain in the documentation :And if like my case you do not have a
include.gradlein the same path add it :S-Maxime commentedon Aug 27, 2019
I don't know why this issue is closed.
I get the same error, it has been 6h i'm working on nativescript-geolocation to have a map / marker and get my current location, that last thing who doesn't work because of this same error.
And i tried what is listed here and here : #172
This shit doesn't work neither. sorry.
android { project.ext { googlePlayServicesVersion = "15.0.1" } }cabaji9 commentedon Sep 9, 2019
I tested it and it works with nativescript 6, nativescript-geolocation 5.1.0, angular 8.2.0
project.ext {
googlePlayServicesVersion = "16.+"
}
dependencies {
def googlePlayServicesVersion = project.googlePlayServicesVersion
compile "com.google.android.gms:play-services-location:$googlePlayServicesVersion"
}