E/trace (28187): Error opening Trace file:no such file or directory (2)
Error reason: The Android API version and emulator version are inconsistent and have no impact on development.
android.content.res.resources$notfoundexception:string Resource ID #0x36
Error reason: Generally occurs in the parameter int resid error, the string is assigned to the resid of int, so the compiler can not find the correct resource error. Check for functions such as Toast.maketext (), textview.settext, which typically have several overloads, such as:
Textview.settext (charsequence text);
Textview.settext (int resId);
......
If you accidentally pass an int value to it, it will not show the int value, but to the project to find a corresponding resource ID, of course, is not found, so error.
Solution: Example: Count.settext (Incall.getcount ()); modified to: Count.settext (string.valueof (Incall.getcount ())); or Count.settext (Incall.getcount () + ""); .
Common mistakes in Android development