媒体文件编码错误 [英] Media file in wrong encoding

查看:169
本文介绍了媒体文件编码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在插入一个教程的媒体文件。我添加了一个原始文件夹并复制粘贴在原始文件夹中的媒体文件。我看到一个错误,锯文件位于错误的编码:'UTF-8我可以顺利运行应用程序,但它从来没有播放我的媒体文件。我试图重新加载编码,但它导致我的应用程序神秘地返回到我的手机的主屏幕。请帮忙。我也在一个不同的项目上测试了这个,我设法得到了一首歌。但其他歌曲仍然是错误的编码,当我尝试重新加载它,android studio冻结了一段时间。如果它有帮助,这是我的音乐 https://www.bensound.com/ 这是我的代码:
媒体文件(非常奇怪)

I am inserting a media file for a tutorial. I added a raw folder and copy pasted the media file in the raw folder. i see an error that saws "File was located in the wrong encoding: 'UTF-8" I can run the app smoothly but it never plays my media file. I tried to reload the encoding but it causes my app to mysteriously return to my phone's home screen. Please help. I also tested this on a different project and i managed to get 1 song to work. However the other songs still are in wrong encoding and when I try to reload it, android studio freezes for a while. If it helps this is where I got my music https://www.bensound.com/ This is my code: Media file(Very weird)

这篇关于媒体文件编码错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆