hugo
hugo copied to clipboard
No output from Hugo
Hi, I've added hugo to my application. However, I don't have any output from hugo. I am not using retrolambda or similar and I can't identify any potential problem. Here is my build.gradle from project:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1'
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
and build.gradle from module:
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'com.jakewharton.hugo'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "pl.hydroid.android.podcatcher"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
dataBinding {
enabled = true
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.android.support:support-v4:23.+'
compile 'com.google.dagger:dagger:2.0.2'
apt 'com.google.dagger:dagger-compiler:2.0.2'
provided 'org.glassfish:javax.annotation:10.0-b28'
compile 'com.android.support:recyclerview-v7:23.+'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'joda-time:joda-time:2.8.+'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
compile 'com.squareup.okhttp:okhttp:2.0.0'
compile 'com.jakewharton:butterknife:7.+'
compile 'com.marshalchen.ultimaterecyclerview:library:+'
compile 'com.android.support:cardview-v7:23.+'
compile 'com.facebook.fresco:fresco:0.9.+'
compile 'com.github.dmytrodanylyk:android-morphing-button:e271da6fd524d8f8855d1016d72f6b69dfcbae8c'
}
All required elements of hugo are present, so I don't know what might be problematic here.
I'm having the same issue, configured everything as documented, but don't see any output. So +1 for this issue.
1.Do you use a debug build? 2. Do you use it with other Annotation?
@tinybright, to answer your questions for my project
- Yes, I use a debug build.
- Other libs I use annotations for in my project: Realm, Retrofit, OkHttp. The @DebugLog annotation never is used on the same function with these annotations however.
Can you provide a screenshot of your logcat?
See these two screenshots. What are you expecting to see in the logcatscreen?
Ok, that was stupid from me. Indeed didn't put logging to verbose. Thank you!
@connexion2000: Don't know if this 'solved' your problem, if not: sorry for hijacking your thread..
I'm having the same issue, configured everything as documented, but don't see any output about hugo. I have put put logging to verbose,it is useless。please help me...