tvAllQuantity.setText(anIntAllAmount + "");


setText是String但是你的应该是Int型的,所以加个空就行了。