matomo-org / matomo-sdk-android

SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
BSD 3-Clause "New" or "Revised" License
388 stars 162 forks source link

compile source for local maven repository #140

Closed croniserb closed 7 years ago

croniserb commented 7 years ago

For our development project, I am required to gather all third party source and build them. Then host them on an internal maven repository for CM requirements. I have built the jar file successfully and deployed it to the maven repository. The issue is the timber dependency of piwik. My project is crashing at run time due to the dependency. The project compiles without errors. I have tried to add the timber jar to my project but I have been unable to get around the issue. compile 'org.piwik.sdk:piwik-sdk:1.0.1' does not work if I deploy the aar to the local repository. Attached it the crash log. Thanks in advance. CRASH_2016_12_14_09_18_12.txt

dotsbb commented 7 years ago

I can see error java.lang.ClassNotFoundException: Didn't find class "timber.log.Timber" @croniserb could you try to add compile 'com.jakewharton.timber:timber:4.1.2' or similar?

croniserb commented 7 years ago

@dotsbb I tried https://github.com/JakeWharton/timber/releases the 4.1.2. I have tried both the aar and the jar as I have done with piwik. I have even tried to put them in a local libs directory instead of maven. I still am getting the error that is attached. It seems like the piwik dependency is not being picked up when I attempt to use it locally. Thanks.

d4rken commented 7 years ago

@croniserb If this is no longer a current topic, please close it. Preferably add your solutation if you solved it.

d4rken commented 7 years ago

Stale.