[英]why my MP4 video is not playing in android studio
You should be using Assets not Resources. 您应该使用资产而不是资源。 Resource ID's are exactly that, just ID's.
资源ID就是ID。 If you really want to store the mp4 as a resource, then look at this other question: Get path of Android resource
如果您真的想将mp4存储为资源,请查看另一个问题: 获取Android资源的路径
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.