TourGuide
TourGuide copied to clipboard
Crash on setting tooltip
Crashes as soon as I start my app and the method play is called, but happens only if I am setting tooltip. This is what I get always No static field toolTip_container of type I in class Ltourguide/tourguide/R$id; or its superclasses (declaration of 'tourguide.tourguide.R$id' appears in /data/app
I'm not sure why you're encountering this.
Can you run the example of the project? Then you can compare what is different from your app vs. the example of TourGuide.
Besides, can you post your relevant code? Maybe I can spot something strange..
I drilled into it and found while adding it via gradle, the asset toolTip_container is missing, thats why it was happening.
Did you manage to resolve the issue?
You don't actually need to include toolTip_container
, because this library is an aar type, so the resources (like layout) should already be included.
@worker8 I'm using 1.0.16-SNAPSHOT and also get the same problem....I simply followed the guide to setup.
i'm using TourGuide inside Fragment....my setup code is simply:
mTourGuideHandler = TourGuide.init(getActivity()).with(TourGuide.Technique.Click)
.setPointer(null)
.setToolTip(new ToolTip().setTitle(title).setDescription(text))
.setOverlay(new Overlay())
.playOn(targetView);
I had the same problem. I had layout file called "tooltip.xml" in my app. So library was loading my layout and trying to find view with id toolTip_container, but there was none, since it wasn't layout from library. I changed file name of layout in my app, and now everything works.