Android 屏幕窗口Log日志调试库 LogcatViewer
LogcatViewer
README of English
LogcatViewer功能介绍
- 日志输出过滤
- 悬浮窗口拖动
- 日志输出清除
- 分享保存log日志文本
- log日志页面放大缩小
GooglePlay下载或二维码扫码下载Apk
Usage
Step 1. Add a JitPack repertory
allprojects {repositories {...maven { url "https://jitpack.io" }}
}
Step 2. Add a gradle dependency
dependencies {implementation 'com.github.weijiaxing:LogcatViewer:1.0.3'
}
Step 3. Add following provider code to your AndroidManifest.xml
<providerandroid:name="com.weijiaxing.logviewer.LogcatFileProvider"android:authorities="${applicationId}.logcat_fileprovider"android:grantUriPermissions="true"android:exported="false"><meta-dataandroid:name="android.support.FILE_PROVIDER_PATHS"android:resource="@xml/logcat_filepaths" />
</provider>
Step 4. Use the class in the need to print the log
public class MainActivity extends AppCompatActivity {@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);//Use this methodLogcatActivity.launch(MainActivity.this);}
}
Screenshots
样例示例应用
项目实战应用
Thanks
- fatangare:LogcatViewer
- kyze8439690:logcatviewer
License
Copyright (C) weijiaxing Inc. Open source codes for study only.
Do not use for commercial purpose.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 athttp://www.apache.org/licenses/LICENSE-2.0Unless 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.
Android 屏幕窗口Log日志调试库 LogcatViewer相关推荐
- Android中对Log日志文件的分析
Android中对Log日志文件的分析 如何分析和研究Log文件 ,如何看日志信息 Log 在android中的地位非常重要,要是作为一个android程序员不能过分析log这关,算是android没 ...
- Android -- Log日志调试(android.utl.log类)
Android调试要通过模拟器运行,或者直接USB远程连接到一部手机调试.即使在不关闭模拟进行调试时候,也要经过编译.apk打包.上传apk.运行apk的过程,时间也不短,所以应该在程序固定一次运行中 ...
- Windows环境下Android Studio系列5—日志调试
为什么80%的码农都做不了架构师?>>> 1. 定制Logcat调试日志字体颜色 Logcat是Android开发调试中最常用的一个工具,Android Studio 1.2. ...
- Android中对Log日志文件的分析[转]
一,Bug出现了, 需要"干掉"它 bug一听挺吓人的,但是只要你懂了,android里的bug是很好解决的,因为android里提供了LOG机制,具体的底层代码,以后在来分析,只 ...
- Linux断开usb调试命令,Android关闭USB的ADB调试和文件传输功能(禁用USB)【转】
通过设置系统属性(System Property)[persist.sys.usb.config]即可实现关闭或打开USB调试和文件传输功能,其中mtp表示文件传输,adb表示adb调试,none表示 ...
- Logger-功能强大使用方便的Log日志打印工具类
介绍 Android开发中Log日志打印对开发者来说是非常重要的功能.但是感觉Log写多了也是烦,每次都需要设置一个TAG过滤值和具体的打印信息,而且打印的信息也不够丰富. 这里我推荐一个功能强大的L ...
- 02_JNI中Java代码调用C代码,Android中使用log库打印日志,javah命令的使用,Android.mk文件的编写,交叉编译
1 编写以下案例(下面的三个按钮都调用了底层的C语言): 项目案例的代码结构如下: 2 编写DataProvider的代码: package com.example.ndkpassdata; ...
- android 不通过数据线打印日志_人人都可写代码-Android零基础编程-开发调试、APK编译04...
欢迎来到人人都可写代码,大家好,我是杨晓华,今天我们的课程内容是,讲解Android开发中如何调试代码程序,开发完后如何打包成可发布的apk文件. 开发调试 在开发中,难免我们会遇到BUG,快速定位问 ...
- Android SIGABRT的可能原因及开启手机Log日志
问题:bugly中崩溃分析SIGABRT 手机信息: 例一: 设备机型:模拟器SIMULATOR ANDROID 系统版本:Android 6.0.1,level 23 ROM:OnePlus/One ...
最新文章
- java培训分享:学习java开发的优势是什么
- 通信专业考研考C语言,2016年北京邮电大学信息与通信工程学院C语言程序设计考研复试题库...
- 轻量级UIImageView分类缓存 库 AsyncImageView 使用
- 安卓dalvik和art区别
- ZOJ 1004 Anagrams by Stack(DFS+数据结构)
- tengine2.2.3报错502的The proxy server received an invalid response from an upstream server问题处理...
- 深入浅出统计学-第二章
- 电阻阻值标准以及选择参照表
- ios 获取沙盒文件名_iOS 获取沙盒文件路径及 写入/删除 沙盒文件
- 无法访问共享计算机文件,电脑无法访问共享文件怎么解决?
- 买卖股票的最佳时机(第一版)
- Ubuntu连接WiFi开热点
- 局域网内固定自己的ip
- GRE 词汇2(词根)
- 生物制剂时代的SpA研究正站在十字路口_Appel,Sieper2009
- 英特尔大师挑战赛燃爆斗鱼直播节,华硕ROG热血助阵
- 如何快速关联/ 修改 Git 远程仓库地址
- Spring Cloud 学习笔记(2 3)
- 方差、标准差和协方差三者之间的定义与计算
- 备考第3天:RHEL7 系统安装与基本调试