Solution apps for the apps that students create as they work through the Advanced Android Development training course created by Google Developer Training.
Other
1.14k
stars
1.09k
forks
source link
Advanced Android 13.1: Step 4 Task 2. Play Video on the Internet #17
Describe the problem
My project throws a filenotfoundexeption when it runs. The file is an mp4 file stored at Google Storage. It's stored in a bucket marked public to internet.
In which lesson and step of the codelab can this issue be found?
Lesson number + step number. (e.g., Lesson 1.1, Step 1.3)
Advanced Android 13.1, Step 4
How to reproduce?
What are the exact steps to reproduce the problem?
I run the app. The app runs, the video view runs, the "buffering..." text shows for 30 seconds. Then the app stops. The video never plays.
Versions
What version of Android Studio are you using?
Android Studio 4.0.1
What API level are you targeting?
29
Additional information
Add any other context about the problem here.
Describe the problem My project throws a filenotfoundexeption when it runs. The file is an mp4 file stored at Google Storage. It's stored in a bucket marked public to internet.
2020-08-19 00:09:48.064 8519-8519/com.example.simplevideoview W/MediaPlayer: Couldn't open https://storage.googleapis.com/... java.io.FileNotFoundException: No content provider: https://storage.googleapis.com/appvideo_bucket/cuttingoutstencils.mp4
In which lesson and step of the codelab can this issue be found? Lesson number + step number. (e.g., Lesson 1.1, Step 1.3) Advanced Android 13.1, Step 4
How to reproduce? What are the exact steps to reproduce the problem? I run the app. The app runs, the video view runs, the "buffering..." text shows for 30 seconds. Then the app stops. The video never plays.
Versions
What version of Android Studio are you using? Android Studio 4.0.1
What API level are you targeting? 29
Additional information Add any other context about the problem here.
codelab: advanced-android