-3

I am learning android developing. In VideoView everything is okay but video can not find from the raw directory which I made already. Please check my screenshot.

ScreenShot

ADM
  • 18,477
  • 11
  • 47
  • 78

2 Answers2

0

Copy Video to Assets Folder, Then

   String path = "file:///android_asset/video.mp4";
   videoview.setVideoURI(Uri.parse(path));
Ganesh Pokale
  • 1,616
  • 11
  • 27
0

The name of video must be in small letter and rebulid the project for AS detect the video and can load on the videoPath.

In Capital letter AS send message error when you rebuild the project.

This can resolved the problem.