We want to add a new feature into our own customized ODK collect. i.e A
Google map to show the road way from MyLoacation to the destination whose
Lat-Long is present.
We have the Lat-Long of the destination in our DB. We have successfully
created an independent app which selected Lat-Long from server through a
Web Service and showing the road in Google Map.
But the problem is, when we are trying add the same feature into ODK
collect through a new menu , the activity which need to show map crashes by
showing the error
java.lang.NoClassDefFoundError: Failed resolution of:
Lcom/google/android/gms/R$styleable;
Here is our gradle.build file
I don't know a ton about the gradle files, but it sounds like you
aren't including the Play Services project properly. I'd start from
the trunk version of Collect with the correct project structure and
then move in your code changes.
Yaw
ยทยทยท
--
Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.
We want to add a new feature into our own customized ODK collect. i.e A
Google map to show the road way from MyLoacation to the destination whose
Lat-Long is present.
We have the Lat-Long of the destination in our DB. We have successfully
created an independent app which selected Lat-Long from server through a Web
Service and showing the road in Google Map.
But the problem is, when we are trying add the same feature into ODK collect
through a new menu , the activity which need to show map crashes by showing
the error
java.lang.NoClassDefFoundError: Failed resolution of:
Lcom/google/android/gms/R$styleable;
Here is our gradle.build file