Şöyle bir şey yazdım ama sistem hata veriyor.

//Buton
Button buton = (Button)findViewById(R.id.buton);

//Rastgele Sayılar
Random number = new Random();
int rnd0 = number.nextInt(10)+1;
int rnd1 = rnd0 + 1;
int rnd2 = rnd0 + 2;
int rnd3 = rnd0 - 1;

//Integera çevirme
String a = Integer.toString(rnd0);
String b = Integer.toString(rnd1);
String c = Integer.toString(rnd2);
String d = Integer.toString(rnd3);

//Ana sayısı ekrana yazdırma
((TextView) findViewById(R.id.display)).setText(Integer.toString(rnd0));

//Butonlara değerleri atayıp karışık sırada ekrana yazdırma
String[] arrayOfString = {"a", "b", "c", "d"};
List<String> arrayList = new LinkedList<String>();
for(String s: arrayOfString)
    arrayList.add(s);
    Collections.shuffle(arrayList);
    buton.setText((CharSequence) arrayList);