old world meaningandroid.content.res.Resources$NotFoundException: String resource ID #0xa code example
Example: android.content.res.Resources$NotFoundException: String resource ID #0x0
(Just assumption, less info of Exception stacktrace)
I think, this line, incercari.setText(valIncercari); throws Exception because valIncercari is int
So it should be,
incercari.setText(valIncercari+"");
Or
incercari.setText(Integer.toString(valIncercari));