The classes that you deleted from the Android studio come out of the Logcat.

Asked 2 years ago, Updated 2 years ago, 38 views

The error statement is java.lang.NullPointerException:Attempt to invoke virtual method, which shows the package, class, and function that you deleted earlier. I tried to use another class in the same package before, but when I typed Alt+Enter, the class I deleted now was imported, not another class. I think there is a systematic problem, so if you know the solution, please answer.

android-studio

2022-09-21 11:55

1 Answers

There is a safe delete function that excludes files from the project without really deleting them Of course, that shouldn't be a logcat or an import, but as you said, it could be because of an error in the Android studio

Open the folder directly to the project directory to see if any deleted files remain


2022-09-21 11:55

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.