Open GoogleCodeExporter opened 8 years ago
I also had met this problem. I use android studio for development. And I put
'Google Analytics'(which I will call it 'analytics' module later) as an
independent module for my project.In my main App module,I add a compile
dependency on another library module called 'third_module',and the
'third_module' has a compilation dependency on 'analytics' module. But when
compile, it was reported that the xml.global_tracker cannot be found. It seems
that the xml.global_tracker is generated in compile time,and inserted to the
R.java file under the project's package.But when compiled my 'analytics'
module, the xml.global_tracker hadn't been generated successfully.
Original comment by john.sha...@oceanwing.com
on 19 Dec 2015 at 3:25
[deleted comment]
I ran into the same problem and had to resort to changing the
R.xml.global_tracker to a string containing my tracking code.
E.g. Tracker mTracker = analytics.newTracker("UA-XXXXXX");
Original comment by james.b...@ubnt.com
on 4 Jan 2016 at 10:56
The same with me, I spent 30 minutes looking for that file. The documentation
is so flowed. yack yack.
Original comment by codephil...@gmail.com
on 23 Jan 2016 at 10:23
Original issue reported on code.google.com by
playthep...@gmail.com
on 18 Dec 2015 at 12:54