I'am trying to debug native library used by MediaPlayer class:
import androidx.appcompat.app.AppCompatActivity;
import android.media.MediaPlayer;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
MediaPlayer mp = MediaPlayer.create(this, R.raw.lencia);
mp.start();
}
}
Debug type is (Dual Java + Native). But when I placed the breakpoint in
MediaPlayer.java at :
private void startImpl() {
baseStart();
stayAwake(true);
_start();
}
Nothing happens. Could you please tell me how to start debugging the built-in c ++ libraries?