简体   繁体   中英

Logcat not showing logs in android studio chipmunk

From the last 3 days, I try to load logs in logcat window but for some reason, I am unable to track the issue and there is no log printed.

I am useing Android Studio Chipmunk 2021.2.1 Patch 1 Please have a look logcat image.

在此处输入图像描述

After spending too much time to loading LOGCAT issue I am able to resolve it in a very simple way.

Before you try any SOLUTION , create a new project and check LOGCAT window is printing the device log or not!

If your new project prints the device log it means your older project has some issue. To solve that issue you follow these steps.

  1. Close the project and remove the project from the recent project.
  2. Jump to directory/folder in Mac/Windows.
  3. Remove .idea and .gradle directory/folder from Mac/Windows.
  4. Open the project again and its works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM