When an error occurs during Android Studio debugging, the error message cannot be located. Solution

When working on a project, a problem will occur when running the project, but the specific location cannot be found, as shown in the figure below: Doesn’t it feel very confusing~, and the Log does not show where the problem is.

Insert image description here

Solution, select Gradle-app-build in the right navigation bar, and then click Run

Insert image description here

The running results are as follows. The location information of the problem is clearly located, as shown below:

Insert image description here

Guess you like

Origin blog.csdn.net/Chen_xiaobao/article/details/132431002