Android MediaPlayer.Create() returns null
问题 I am developing an Android App that plays some sounds. For that I am creating an object of MediaPlayer. Below is the code: mp = MediaPlayer.create(this, R.raw.testSound); Here mp is null for Android 2.3.3 (API Level 10), i tried with other versions of Android (2.1, 2.2 etc.) it works fine. However with Android 2.3.3 (API Level 10) MediaPlayer.create() call returns null. The sound file (testSound.wav) is a wav file. I tried parsing the wav file to see if it is corrupted or not. It seems just