Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native-media sample missing external storage permission #55

Closed
proppy opened this issue Aug 6, 2015 · 2 comments
Closed

native-media sample missing external storage permission #55

proppy opened this issue Aug 6, 2015 · 2 comments

Comments

@proppy
Copy link
Contributor

proppy commented Aug 6, 2015

Please describe the problem in detail, with the following information (if applicable)

  • Host OS: Fedora 21 x86_64
  • SDK tools version (available in the "About" section of the 'android' tool
    UI):
  • Eclipse version: Luna
  • ADT plug-in version:
  • Platform targeted by your project: Nexus 7 2013
  • Version of the platform running in the emulator: not running emulator

STEPS TO REPRODUCE:

  1. build native-media sample app
  2. run it on attached Nexus 7 2013
  3. click Start Java Media Player

EXPECTED RESULTS:

see video play

OBSERVED RESULTS:

app crashes

ADDITIONAL INFORMATION:

In LogCat I see:

01-07 11:24:22.355: E/NativeMedia(11232): IOException java.io.FileNotFoundException: /sdcard/NativeMedia.ts: open failed: EACCES (Permission denied)

Adding android.permission.READ_EXTERNAL_STORAGE to manifest, then rebuilding, and
re-running fixes the problem.

@jpshelley
Copy link

Currently READ_EXTERNAL_STORAGE is added to the manifest and its not working for me.

@ggfan
Copy link
Contributor

ggfan commented Apr 30, 2016

with today's pull, we are playing from app/src/main/assets/clips, not from /sdcard/* anymore. so this should be automatically fixed.

the native_player is disabled for now, will enable it after some deep debugging and fix.

check it out, if still happens to you, re-open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants