- 获取SD卡文件
File file=new File(Environment.getExternalStorageDirectory().toString()+"/Music", "music.mp3"); mediaPlayer.setDataSource(file.getPath());
- 报错:Cannot resolve symbol 'R',此情况下多为XML文件出现错误,要查看具体报错原因
Android日常debug
猜你喜欢
转载自www.cnblogs.com/hemeiwolong/p/11005535.html
今日推荐
周排行