检查以校验是否在使用前已全部初始化( 不是无效)
if (upSound != null)
upSound.start();
.....................................................................................................................................................
您可以初始化苍蝇上的声音, 以确保声音是空的, 反正它会被播放 。
if (upSound == null)
upSound = MediaPlayer.create(Directions.this, R.raw.up_sound);
upSound.start();
Additionally, your textView En_description
may also be null which could cause this crash as well.
Make sure wherever you are retrieving En_description
(using findViewById) it is completing successfully