ezralazuardy / orb

Android network monitoring made easy 🎉️
https://orb.ezralazuardy.com
MIT License
20 stars 3 forks source link

Library dont seem to dowload with gradle dependency #6

Closed burhankhanzada closed 4 years ago

burhankhanzada commented 4 years ago

Describe the bug I added jitpack url in my project level gradle and your library dependency in my app level gradle file but when i try to use

Orb.with(this).observe { response ->
    Log.d(this::javaClass.simpleName, response.toString())
    // do something awesome..
}

then when i try to auto-import it doesn't import any class then i dig in project view external libraries and seems like no classes downloaded Capture

To Reproduce Steps to reproduce the behavior:

  1. Create a new project in Android Studio
  2. Add dependency
  3. Try to use
ezralazuardy commented 4 years ago

do you have add this in your project level gradle:

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

and this in your module level gradle:

dependencies {
    implementation 'com.github.ezralazuardy:orb:$version' //replace '$version' with the latest version of orb
}

please make sure that you should replace the $version with the current latest version of orb. check it here.

ezralazuardy commented 4 years ago

ok, I've try installing in new project and it's not installed properly. looks like there is something wrong in the jitpack repo. I'm confirming this issue now. thanks for reporting.

ezralazuardy commented 4 years ago

this bug have been fixed in v0.0.3. please let me know if it's working in your project too.

the main problem was orb proguard and i've remove it in the new release. now everything should work as expected.

burhankhanzada commented 4 years ago

yeah its fix now thanks for the quick fix