-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DebugLog does not work in library module #80
Comments
XLog requires root access so it can not be used on real projects. |
A project with XLog can run on any devices with or without Xposed(or rooted). But you have to root and install Xposed & XLog module to see the method log. Without xposed (or rooted), XLog just doing noting at all. So XLog will not log any thing and cause any problems in a release version on the final user's device. |
@curilpe Were you able to get Hugo to work in your library project when you had it build in debug mode? I tried recently, but was unable to see any Hugo output in my debug library build. |
I was able to use hugo in only a specific module by using the following code in the build.gradle file of my module :
|
@MessuKilkain In this way, everytime it outputs debug.aar, how can we configure it outputs release.aar when the whole project buildType is release? |
@curilpe do you find method to fix this problem |
Project with multi-module setup (application + library) does not log methods annotated with @debuglog from library module. In application module it works fine.
here is example https://github.com/curilpe/hugo-test
EDIT:
problem is not in hugo but in android gradle plugin because all library modules are release builds regardless of build type of application.
to change it to debug build just put in build file of library module
android {
defaultPublishConfig "debug"
}
The text was updated successfully, but these errors were encountered: