








7.0 以下,需要在 build.gradle 文件中加入allprojects {
repositories {
// JitPack 远程仓库:https://jitpack.io
maven { url 'https://jitpack.io' }
}
}
7.0 及以上,则需要在 settings.gradle 文件中加入dependencyResolutionManagement {
repositories {
// JitPack 远程仓库:https://jitpack.io
maven { url 'https://jitpack.io' }
}
}
build.gradle 文件中加入远程依赖android {
// 支持 JDK 1.8 及以上
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
// 日志调试框架:https://github.com/getActivity/Logcat
debugImplementation 'com.github.getActivity:Logcat:13.2'
}
dependencies {
// 日志调试框架:https://github.com/getActivity/Logcat
debugImplementation 'com.github.getActivity:Logcat:12.5'
}
方案二:如果你的项目仍处于 Support 阶段,目前不方便转到 AndroidX 中来,但又想用最新版本的框架,可以使用 Google 提供的 JetifierStandalone 工具将已发布版本 Release 中的 aar 包通过反向模式转成 Support 版本的 aar 包来使用。
上述两种方案任选其一即可,但是仍旧不推荐你那样做,因为这些只是权宜之计,并非长久之计,框架后续的版本已不再支持 Support 项目,最好的方案是将项目迁移到 AndroidX。
将项目从 Support 迁移 AndroidX 相关的教程:AndroidX 踩坑指南
compileSdkVersion 小于 34,则需要先升级成 34android {
compileSdkVersion 34
}
compileSdkVersion 大于等于 34,则不需要修改此配置AAPT: error: unexpected element <property> found in <manifest><application><service>.
Gradle 及 Android Gradle Plugin 版本太低导致的,请将 Gradle 升级到 gradle-7.4-all 及以上版本,并将 Android Gradle Plugin 升级到 7.1.0 及以上版本无需调用,直接运行,然后授予悬浮窗权限即可
在 debug 模式下运行即可,在 release 正式打包的时不会集成本库,尽管放心
只需集成,无需调用
日志长按可复制分享
支持将日志保存到本地
长日志点击可收缩展开显示
日志搜索结果支持文本高亮
支持对指定 TAG 的日志屏蔽
多个相同 TAG 日志自动合并显示
仅在 Debug 下集成,无需手动初始化
安卓技术中台:AndroidProject
安卓技术中台 Kt 版:AndroidProject-Kotlin
权限框架:XXPermissions
吐司框架:Toaster
网络框架:EasyHttp
标题栏框架:TitleBar
悬浮窗框架:EasyWindow
设备兼容框架:DeviceCompat
ShapeView 框架:ShapeView
ShapeDrawable 框架:ShapeDrawable
语种切换框架:MultiLanguages
Gson 解析容错:GsonFactory
嵌套滚动布局框架:NestedScrollLayout
Android 版本适配:AndroidVersionAdapter
Android 代码规范:AndroidCodeStandard
Android 资源大汇总:AndroidIndex
Android 开源排行榜:AndroidGithubBoss
Studio 精品插件:StudioPlugins
表情包大集合:EmojiPackage
AI 资源大汇总:AiIndex
省市区 Json 数据:ProvinceJson
Markdown 语法文档:MarkdownDoc


Copyright 2020 Huang JinQun
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
76 commits
3 commits
Java
100.0%









7.0 以下,需要在 build.gradle 文件中加入allprojects {
repositories {
// JitPack 远程仓库:https://jitpack.io
maven { url 'https://jitpack.io' }
}
}
7.0 及以上,则需要在 settings.gradle 文件中加入dependencyResolutionManagement {
repositories {
// JitPack 远程仓库:https://jitpack.io
maven { url 'https://jitpack.io' }
}
}
build.gradle 文件中加入远程依赖android {
// 支持 JDK 1.8 及以上
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
// 日志调试框架:https://github.com/getActivity/Logcat
debugImplementation 'com.github.getActivity:Logcat:13.2'
}
dependencies {
// 日志调试框架:https://github.com/getActivity/Logcat
debugImplementation 'com.github.getActivity:Logcat:12.5'
}
方案二:如果你的项目仍处于 Support 阶段,目前不方便转到 AndroidX 中来,但又想用最新版本的框架,可以使用 Google 提供的 JetifierStandalone 工具将已发布版本 Release 中的 aar 包通过反向模式转成 Support 版本的 aar 包来使用。
上述两种方案任选其一即可,但是仍旧不推荐你那样做,因为这些只是权宜之计,并非长久之计,框架后续的版本已不再支持 Support 项目,最好的方案是将项目迁移到 AndroidX。
将项目从 Support 迁移 AndroidX 相关的教程:AndroidX 踩坑指南
compileSdkVersion 小于 34,则需要先升级成 34android {
compileSdkVersion 34
}
compileSdkVersion 大于等于 34,则不需要修改此配置AAPT: error: unexpected element <property> found in <manifest><application><service>.
Gradle 及 Android Gradle Plugin 版本太低导致的,请将 Gradle 升级到 gradle-7.4-all 及以上版本,并将 Android Gradle Plugin 升级到 7.1.0 及以上版本无需调用,直接运行,然后授予悬浮窗权限即可
在 debug 模式下运行即可,在 release 正式打包的时不会集成本库,尽管放心
只需集成,无需调用
日志长按可复制分享
支持将日志保存到本地
长日志点击可收缩展开显示
日志搜索结果支持文本高亮
支持对指定 TAG 的日志屏蔽
多个相同 TAG 日志自动合并显示
仅在 Debug 下集成,无需手动初始化
安卓技术中台:AndroidProject
安卓技术中台 Kt 版:AndroidProject-Kotlin
权限框架:XXPermissions
吐司框架:Toaster
网络框架:EasyHttp
标题栏框架:TitleBar
悬浮窗框架:EasyWindow
设备兼容框架:DeviceCompat
ShapeView 框架:ShapeView
ShapeDrawable 框架:ShapeDrawable
语种切换框架:MultiLanguages
Gson 解析容错:GsonFactory
嵌套滚动布局框架:NestedScrollLayout
Android 版本适配:AndroidVersionAdapter
Android 代码规范:AndroidCodeStandard
Android 资源大汇总:AndroidIndex
Android 开源排行榜:AndroidGithubBoss
Studio 精品插件:StudioPlugins
表情包大集合:EmojiPackage
AI 资源大汇总:AiIndex
省市区 Json 数据:ProvinceJson
Markdown 语法文档:MarkdownDoc


Copyright 2020 Huang JinQun
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
76 commits
3 commits
Java
100.0%