Any idea why this would crash my app when I select a radio button?
I\'ve imported android.widget.RadioGroup.OnCheckedChangeListener, and I\'ve also trie
You can find the cause of the crash in these lines:
java.lang.IllegalStateException: Could not find a method onRadioButtonClicked(View) in the activity class com.example.ringtones.MainActivity for onClick handler
and
Caused by: java.lang.NoSuchMethodException: onRadioButtonClicked [class android.view.View]
The problem is that you don't have a method onRadioButtonClicked in your MainActivity. Just declare it and you'll be fine.