I'm testing my app on different APIs and screen resolutions and ran into a problem using Android 2.1. Whenever I run the app, the main menu works along with all the other activities I made for it, except for one: the main game activity. I believe it's because the first error shown below. I'm guessing Android 2.1 doesn't support the SoundPool's OnLoadCompleteListener. I'm struggling to figure out an alternative to this so it works on both 2.2 and higher and 2.1 and lower Android versions. I'm pretty sure the OnLoadCompleteListener method is required when using SoundPool in 2.2 and above. I remember it not working without it. Anyone have suggestions?
Thanks
07-10 15:48:28.685: INFO/dalvikvm(363): Failed resolving Lorg/chinesetones/teacher/Game; interface 8 'Landroid/media/SoundPool$OnLoadCompleteListener;'
07-10 15:48:28.685: WARN/dalvikvm(363): Link of class 'Lorg/chinesetones/teacher/Game;' failed
07-10 15:48:28.685: ERROR/dalvikvm(363): Could not find class 'org.chinesetones.teacher.Game', referenced from method org.chinesetones.teacher.ChineseToneTeacherActivity.onClick
07-10 15:48:28.685: WARN/dalvikvm(363): VFY: unable to resolve const-class 38 (Lorg/chinesetones/teacher/Game;) in Lorg/chinesetones/teacher/ChineseToneTeacherActivity;
07-10 15:49:42.004: ERROR/AndroidRuntime(363): Uncaught handler: thread main exiting due to uncaught exception
07-10 15:49:42.074: ERROR/AndroidRuntime(363): java.lang.NoClassDefFoundError: org.chinesetones.teacher.Game
07-10 15:49:42.074: ERROR/AndroidRuntime(363): at
org.chinesetones.teacher.ChineseToneTeacherActivity.onClick(ChineseToneTeacherActivity.java:41)
07-10 15:49:42.074: ERROR/AndroidRuntime(363): at android.view.View.performClick(View.java:2364)