Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Module depends on one or more Android Libraries but is a jar #6
Comments
|
Same issue here... did you find any solution by the time ? |
|
Maybe a workaround is to implement this lib : https://github.com/inrista/loggliest |
|
I believe this is caused by loggly-client's dependency on dependencies {
compile ('com.github.tony19:timber-loggly:1.0.1') {
exclude group:'com.jakewharton.timber', module:'timber'
}
} |
|
You're right, no more error with this fix ! Thanks a lot ! With this method, we consider importing Timber on a separate import statement. The fix : removing the exclude method as mentionned in tony19's answer, and removing the Timber separate import (as it will be imported with timber-loggly)... Then now it works... but you will lose all the Timber subclasses you may have done before... |
|
I am also still seeing the above issue where I can no longer use LogglyTree when I exclude the timber module. Any chance of this library being updated to support newer Timber versions? |
When I add timber-loggly as a dependency in my Gradle file, I get 2 warnings:
Warning:Module 'com.github.tony19:timber-loggly:1.0.1' depends on one or more Android Libraries but is a jar
Warning:Module 'com.github.tony19:loggly-client:1.0.3' depends on one or more Android Libraries but is a jar
The modules don't download, and so I am unable to use this library at all.
I'm using Android Studio 2.0 Preview 4, and the related dependencies I'm referencing are:
compile 'com.android.support:support-v4:23.1.1'
compile 'com.jakewharton.timber:timber:4.1.0'
compile 'com.github.tony19:timber-loggly:1.0.1'
compile 'com.squareup.retrofit:retrofit:1.9.0'
A quick Googling leads me to believe v4:23.1.1 of the support library is the problem, but I can't downgrade to an older version.