Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unresolved reference: Napier

See original GitHub issue

hi, i’m getting Unresolved reference: Napier when trying to run this library. This is my gradle setup:

  sourceSets["commonMain"].dependencies {

        // Logging
        implementation("com.github.aakira:napier:${ extra.get("napierVersion") }")
 sourceSets["androidMain"].dependencies {
        // Logging
        implementation("com.github.aakira:napier-android:${ extra.get("napierVersion") }")

        // Logging
        implementation("com.github.aakira:napier-ios:${ extra.get("napierVersion") }")

i can import and use this library with no error in IDE, but when trying to compile i get the error.

please help.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

gotamafandycommented, Oct 13, 2019

thanks i’ll take a look. I’m going to close this issue now

AAkiracommented, Oct 10, 2019

I think you should add a build.gradle in root directory.

I add the example of napier. You can check here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unresolved reference: Napier · Issue #28 · AAkira ... - GitHub
I've got an issue when trying to use the Napier logging library in the kotlin mpp project. The symptoms are exactly the same...
Read more >
KotlinJsonAdapterFactory unresolved reference - Stack Overflow
But when building Moshi it says KotlinJsonAdapteryFactory - unresolved reference, and I can't use Moshi since it gives me an error in this ......
Read more >
EX-2.1 -
There are no outstanding or unresolved comments in comment letters from the SEC ... (b) Except for (i) Manning & Napier Advisors, LLC...
Read more >
Napier Dagger - Wikipedia
The Napier Dagger was a 24-cylinder H-pattern (or H-Block) air-cooled engine designed by Frank Halford and built by Napier before World War II....
Read more >
On appeal, Napier argues that the Board erred by granting PSE&G's motion for summary decision. He contends there were at least three unresolved...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found