我这里是一个oksound.wav格式的声音,你找一个类似的WAV声音放在res的raw文件夹下面,然后下面的代码放在你的button的点击事件里就行了。一点就响除非你的声音格式有问题SoundPool soundPool=new SoundPool(3, AudioManager.STREAM_MUSIC,0);
        soundPoolMap=new HashMap<Integer, Integer>();
        soundPoolMap.put(1,soundPool.load(MainActivity.this,R.raw.oksound,1));
soundPool.play(soundPoolMap.get(1), 1, 1, 1, 0, 1);