Error prompt:
Android.content.res.Resources$NotFoundException: String resource ID #0x0
Error reason:
The parameter of int type is used in settext()
Error resolution:
Settext() converts an integer type to a string type. The method is as follows:
1.String s=String.valueOf(i);
2.String s=Integer.toString(i);
3.Striing s=””+i;
Similar Posts:
- [Solved] android.content.res.Resources$NotFoundException: String resource ID #0xffffff85
- [Solved] Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x2
- Settext notes of Textview (How to Use)
- [Solved] Java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double
- [Solved] Android Warning: android.content.res.Resources$NotFoundException: Resource ID #0x7f08010a
- hibernate java.lang.StackOverflowError: null
- [Solved] Mybatis Mapping Error: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘id’ in ‘class java.lang.String
- [Solved] Spark Streaming:updateStateByKey is not applicable for the arguments…
- Call requires API level 4 (current min is 3) [How to Solve]
- C# String was not recognized as a valid DateTime [How to Solve]