markzhai / AndroidPerformanceMonitor

A transparent ui-block detection library for Android. (known as BlockCanary)
Apache License 2.0
6.66k stars 1.02k forks source link

can't import in gradle #65

Closed zhuruyi2013 closed 8 years ago

zhuruyi2013 commented 8 years ago

detail error : Error:Could not find AndroidPerformanceMonitor:blockcanary-analyzer:unspecified. Required by: tvbox:box:unspecified > com.github.moduth:blockcanary-android:1.3.1

markzhai commented 8 years ago
dependencies {
    // most often used way, enable notification to notify block event
    compile 'com.github.markzhai:blockcanary-android:1.3.1'

    // this way you only enable BlockCanary in debug package
    // debugCompile 'com.github.markzhai:blockcanary-android:1.3.1'
    // releaseCompile 'com.github.markzhai:blockcanary-no-op:1.3.1'
}

Please use this, sorry for mistake in readme