创建 MediaPlayer 实例时,LogCat 显示此错误:
QCMediaPlayer mediaplayer NOT present
为什么会这样,这正常吗?
示例:
package com.example.testapp;
import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
public class MainActivity extends Activity{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MediaPlayer mediaPlayer = new MediaPlayer();
}
}