Yesterday, my shoes in the Group encountered an egg bug and listened to me carefully.
1. compiling environment:
Maven
2. Problem:
A png under drawbable, in 2. under the x machine, it is always reported that filenotfound is a situation of magic horse (E/AndroidRuntime (30508): Caused by: java. io. fileNotFoundException: res/drawable/img_line_night.png );
4. X is normal.
3. Try the following methods:
Re-compilation, image change, and name change failed
4. solution:
The error message returned by logcat is incorrect. A theme attribute is missing, but the error message cannot be found in other files.
5. Experience summary:
Sometimes the location reported by Android logcat logs is not accurate enough. In special cases, we need to perform more careful and in-depth analysis on the logs, so we cannot blindly process the logs. Otherwise, we will waste a lot of time.