Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

format - Video file not recognized in android studio

I added a file named 'testingClip' of mp4 format in a directory i made named 'raw' under 'res',it keeps on showing this error message saying it doesn't recognize the file type. enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Don't use any capital letter in resource file name Change your testingClip.mp4 to testingclip.mp4

resource names must contain only lowercase a-z, 0-9, or underscore and The resource name must start with a letter.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...