{"id":15471678,"url":"https://github.com/getactivity/logcat","last_synced_at":"2026-04-05T15:01:59.593Z","repository":{"id":41539437,"uuid":"235941952","full_name":"getActivity/Logcat","owner":"getActivity","description":"Android 日志打印框架，在手机上可以直接看到 Logcat 日志啦","archived":false,"fork":false,"pushed_at":"2025-09-03T08:46:56.000Z","size":50533,"stargazers_count":939,"open_issues_count":2,"forks_count":116,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-09-03T10:25:43.171Z","etag":null,"topics":["android","android-studio","debug","debugger","log","logcat-viewer","logcatview","logcatviewer","logger","logging","logutils","xlog","xlogger"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getActivity.png","metadata":{"files":{"readme":"README-en.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://raw.githubusercontent.com/getActivity/Donate/master/picture/pay_ali.png"}},"created_at":"2020-01-24T04:56:07.000Z","updated_at":"2025-09-03T08:44:27.000Z","dependencies_parsed_at":"2023-01-30T04:01:06.215Z","dependency_job_id":"9ed6c4cd-d535-40f3-9783-907d0f7270ef","html_url":"https://github.com/getActivity/Logcat","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/getActivity/Logcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getActivity%2FLogcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getActivity%2FLogcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getActivity%2FLogcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getActivity%2FLogcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getActivity","download_url":"https://codeload.github.com/getActivity/Logcat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getActivity%2FLogcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31439442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T13:13:19.330Z","status":"ssl_error","status_checked_at":"2026-04-05T13:13:17.778Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-studio","debug","debugger","log","logcat-viewer","logcatview","logcatviewer","logger","logging","logutils","xlog","xlogger"],"created_at":"2024-10-02T02:21:15.399Z","updated_at":"2026-04-05T15:01:59.588Z","avatar_url":"https://github.com/getActivity.png","language":"Java","readme":"# [中文文档](README.md)\n\n# Log Viewing Framework\n\n![](logo.png)\n\n* Project address: [Github](https://github.com/getActivity/Logcat)\n\n* [Click here to download demo apk directly](https://github.com/getActivity/Logcat/releases/download/13.0/Logcat.apk)\n\n![](picture/en/logcat_notify_entrance.jpg) ![](picture/en/logcat_window_entrance.jpg) ![](picture/en/logcat_activity_landscape.jpg)\n\n![](picture/en/logcat_activity_portrait.jpg)\n\n![](picture/en/logcat_level_select.jpg)\n\n![](picture/en/logcat_filter_level.jpg)\n\n![](picture/en/logcat_filter_content.jpg)\n\n![](picture/en/logcat_long_click_menu.jpg)\n\n![](picture/en/logcat_system_share.jpg)\n\n#### Integration Steps\n\n* If your project's Gradle configuration is `7.0 or below`, add the following to your `build.gradle` file:\n\n```groovy\nallprojects {\n    repositories {\n        // JitPack remote repository: https://jitpack.io\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n* If your Gradle configuration is `7.0 or above`, add the following to your `settings.gradle` file:\n\n```groovy\ndependencyResolutionManagement {\n    repositories {\n        // JitPack remote repository: https://jitpack.io\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n* After configuring the remote repository, add the remote dependency in the `build.gradle` file under the app module:\n\n```groovy\nandroid {\n    // Supports JDK 1.8 and above\n    compileOptions {\n        targetCompatibility JavaVersion.VERSION_1_8\n        sourceCompatibility JavaVersion.VERSION_1_8\n    }\n}\n\ndependencies {\n    // Log debugging framework: https://github.com/getActivity/Logcat\n    debugImplementation 'com.github.getActivity:Logcat:13.0'\n}\n```\n\n#### Support library compatible\n\n* Option 1: Use remote dependencies of the old version framework\n\n```groovy\ndependencies {\n    // Log debugging framework: https://github.com/getActivity/Logcat\n    debugImplementation 'com.github.getActivity:Logcat:12.5'\n}\n```\n\n* Option 2: If your project is still in the Support phase and it's not convenient to migrate to **AndroidX** yet, but you want to use the latest version of the framework, you can use the [JetifierStandalone](https://developer.android.com/tools/jetifier#install) tool provided by **Google** to convert the **aar** packages from the released Release versions into **Support-compatible aar** packages using reverse mode.\n\n* You can choose either of the above two options, but it's still not recommended. These are only stopgap measures, not long-term solutions. Subsequent versions of the framework will no longer support **Support** projects. The best approach is to migrate your project to **AndroidX**.\n\n#### compileSdk Version Requirement\n\n* If your project's `compileSdkVersion` is less than 34, please upgrade it to 34 first:\n\n```groovy\nandroid {\n    compileSdkVersion 34\n}\n```\n\n* If your project's `compileSdkVersion` is greater than or equal to 34, no modification is needed.\n\n#### Compilation Error Handling\n\n* If you encounter the following compilation error after referencing the framework dependency:\n\n```text\nAAPT: error: unexpected element \u003cproperty\u003e found in \u003cmanifest\u003e\u003capplication\u003e\u003cservice\u003e.\n```\n\n* This indicates that your `Gradle` and `Android Gradle Plugin` versions are too low. Please upgrade `Gradle` to `gradle-7.4-all` or above, and upgrade `Android Gradle Plugin` to `7.1.0` or above.\n\n#### Usage\n\n* No need to call any methods, just run the app and grant the floating window permission.\n\n* It works directly in debug mode. In release mode, the library will not be included in the official package, so you can rest assured.\n\n## [For detailed usage of the framework, please click here](HelpDoc-en.md)\n\n#### Framework Highlights\n\n* Only integration is required, no need to call any methods\n\n* Long press on logs to copy or share\n\n* Supports saving logs locally\n\n* Long logs can be collapsed or expanded by clicking\n\n* Log search results support text highlighting\n\n* Supports filtering logs by specified TAG\n\n* Multiple logs with the same TAG are automatically merged and displayed\n\n* Integrated only in Debug, no manual initialization required\n\n#### Other Open Source Projects by the Author\n\n* Android middle office: [AndroidProject](https://github.com/getActivity/AndroidProject)![](https://img.shields.io/github/stars/getActivity/AndroidProject.svg)![](https://img.shields.io/github/forks/getActivity/AndroidProject.svg)\n\n* Android middle office kt version: [AndroidProject-Kotlin](https://github.com/getActivity/AndroidProject-Kotlin)![](https://img.shields.io/github/stars/getActivity/AndroidProject-Kotlin.svg)![](https://img.shields.io/github/forks/getActivity/AndroidProject-Kotlin.svg)\n\n* Permissions framework: [XXPermissions](https://github.com/getActivity/XXPermissions) ![](https://img.shields.io/github/stars/getActivity/XXPermissions.svg) ![](https://img.shields.io/github/forks/getActivity/XXPermissions.svg)\n\n* Toast framework: [Toaster](https://github.com/getActivity/Toaster)![](https://img.shields.io/github/stars/getActivity/Toaster.svg)![](https://img.shields.io/github/forks/getActivity/Toaster.svg)\n\n* Network framework: [EasyHttp](https://github.com/getActivity/EasyHttp)![](https://img.shields.io/github/stars/getActivity/EasyHttp.svg)![](https://img.shields.io/github/forks/getActivity/EasyHttp.svg)\n\n* Title bar framework: [TitleBar](https://github.com/getActivity/TitleBar)![](https://img.shields.io/github/stars/getActivity/TitleBar.svg)![](https://img.shields.io/github/forks/getActivity/TitleBar.svg)\n\n* Floating window framework: [EasyWindow](https://github.com/getActivity/EasyWindow)![](https://img.shields.io/github/stars/getActivity/EasyWindow.svg)![](https://img.shields.io/github/forks/getActivity/EasyWindow.svg)\n\n* Device compatibility framework：[DeviceCompat](https://github.com/getActivity/DeviceCompat) ![](https://img.shields.io/github/stars/getActivity/DeviceCompat.svg) ![](https://img.shields.io/github/forks/getActivity/DeviceCompat.svg)\n\n* Shape view framework: [ShapeView](https://github.com/getActivity/ShapeView)![](https://img.shields.io/github/stars/getActivity/ShapeView.svg)![](https://img.shields.io/github/forks/getActivity/ShapeView.svg)\n\n* Shape drawable framework: [ShapeDrawable](https://github.com/getActivity/ShapeDrawable)![](https://img.shields.io/github/stars/getActivity/ShapeDrawable.svg)![](https://img.shields.io/github/forks/getActivity/ShapeDrawable.svg)\n\n* Language switching framework: [Multi Languages](https://github.com/getActivity/MultiLanguages)![](https://img.shields.io/github/stars/getActivity/MultiLanguages.svg)![](https://img.shields.io/github/forks/getActivity/MultiLanguages.svg)\n\n* Gson parsing fault tolerance: [GsonFactory](https://github.com/getActivity/GsonFactory)![](https://img.shields.io/github/stars/getActivity/GsonFactory.svg)![](https://img.shields.io/github/forks/getActivity/GsonFactory.svg)\n\n* Nested scrolling layout framework：[NestedScrollLayout](https://github.com/getActivity/NestedScrollLayout) ![](https://img.shields.io/github/stars/getActivity/NestedScrollLayout.svg) ![](https://img.shields.io/github/forks/getActivity/NestedScrollLayout.svg)\n\n* Android version guide: [AndroidVersionAdapter](https://github.com/getActivity/AndroidVersionAdapter)![](https://img.shields.io/github/stars/getActivity/AndroidVersionAdapter.svg)![](https://img.shields.io/github/forks/getActivity/AndroidVersionAdapter.svg)\n\n* Android code standard: [AndroidCodeStandard](https://github.com/getActivity/AndroidCodeStandard)![](https://img.shields.io/github/stars/getActivity/AndroidCodeStandard.svg)![](https://img.shields.io/github/forks/getActivity/AndroidCodeStandard.svg)\n\n* Android resource summary：[AndroidIndex](https://github.com/getActivity/AndroidIndex) ![](https://img.shields.io/github/stars/getActivity/AndroidIndex.svg) ![](https://img.shields.io/github/forks/getActivity/AndroidIndex.svg)\n\n* Android open source leaderboard: [AndroidGithubBoss](https://github.com/getActivity/AndroidGithubBoss)![](https://img.shields.io/github/stars/getActivity/AndroidGithubBoss.svg)![](https://img.shields.io/github/forks/getActivity/AndroidGithubBoss.svg)\n\n* Studio boutique plugins: [StudioPlugins](https://github.com/getActivity/StudioPlugins)![](https://img.shields.io/github/stars/getActivity/StudioPlugins.svg)![](https://img.shields.io/github/forks/getActivity/StudioPlugins.svg)\n\n* Emoji collection: [EmojiPackage](https://github.com/getActivity/EmojiPackage)![](https://img.shields.io/github/stars/getActivity/EmojiPackage.svg)![](https://img.shields.io/github/forks/getActivity/EmojiPackage.svg)\n\n* China provinces json: [ProvinceJson](https://github.com/getActivity/ProvinceJson)![](https://img.shields.io/github/stars/getActivity/ProvinceJson.svg)![](https://img.shields.io/github/forks/getActivity/ProvinceJson.svg)\n\n* Markdown documentation：[MarkdownDoc](https://github.com/getActivity/MarkdownDoc) ![](https://img.shields.io/github/stars/getActivity/MarkdownDoc.svg) ![](https://img.shields.io/github/forks/getActivity/MarkdownDoc.svg)\n\n## License\n\n```text\nCopyright 2020 Huang JinQun\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```","funding_links":["https://raw.githubusercontent.com/getActivity/Donate/master/picture/pay_ali.png"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetactivity%2Flogcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetactivity%2Flogcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetactivity%2Flogcat/lists"}