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
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
© 2024 OneMinuteCode. All rights reserved.