Coder Social home page Coder Social logo

Comments (2)

amnakashif avatar amnakashif commented on June 21, 2024

This is what my logcat shows:

2021-10-10 01:06:56.247 7637-24498/? E/MediaProvider: insertFileIfNecessary failed java.lang.IllegalArgumentException: Primary directory null not allowed for content://media/external_primary/file; allowed directories are [Download, Documents] at com.android.providers.media.MediaProvider.ensureFileColumns(MediaProvider.java:2932) at com.android.providers.media.MediaProvider.ensureUniqueFileColumns(MediaProvider.java:2597) at com.android.providers.media.MediaProvider.insertFile(MediaProvider.java:3291) at com.android.providers.media.MediaProvider.insertInternal(MediaProvider.java:3844) at com.android.providers.media.MediaProvider.insert(MediaProvider.java:3555) at com.android.providers.media.MediaProvider.insertFileForFuse(MediaProvider.java:7199) at com.android.providers.media.MediaProvider.insertFileIfNecessaryForFuse(MediaProvider.java:7293) 2021-10-10 01:06:56.273 4583-5094/? E/CoverManager: getCoverState : coverState is null 2021-10-10 01:06:56.294 4188-4188/? E/SecVibrator-HAL2.2_A: >> writeNode node:/timed_output/vibrator/enable val:0 2021-10-10 01:06:56.295 4188-4188/? E/SecVibrator-HAL2.2_A: << writeNode node OK 2 2021-10-10 01:06:56.296 4188-4188/? E/SecVibrator-HAL2.2_A: >> writeNode node:/timed_output/vibrator/enable val:100 2021-10-10 01:06:56.296 4188-4188/? E/SecVibrator-HAL2.2_A: << writeNode node OK 4 2021-10-10 01:06:56.307 4197-4539/? E/NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::acquire() 2021-10-10 01:06:56.328 4288-29704/? E/SEC_DRM_PLUGIN_Omafl: OmaPlugin::onOpenDecryptSession(fd)::Drm2IsDrmFileByExtFd::file is NOT DRM by extension 2021-10-10 01:06:56.396 4583-4583/? E/VibratorService: Vibration finished, cleaning up 2021-10-10 01:06:56.398 4188-4188/? E/SecVibrator-HAL2.2_A: >> writeNode node:/timed_output/vibrator/enable val:0 2021-10-10 01:06:56.399 4188-4188/? E/SecVibrator-HAL2.2_A: << writeNode node OK 2 2021-10-10 01:06:56.413 4138-4145/? E/statsd: Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->11038[I] (10)0x30000->AudioMix[S] 2021-10-10 01:06:56.992 4138-4145/? E/statsd: Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->11038[I] (10)0x30000->AudioMix[S] 2021-10-10 01:06:57.336 4288-27123/? E/SEC_DRM_PLUGIN_Omafl: OmaPlugin::onOpenDecryptSession(fd)::Drm2IsDrmFileByExtFd::file is NOT DRM by extension 2021-10-10 01:06:57.374 4138-4145/? E/statsd: Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->11038[I] (10)0x30000->AudioMix[S] 2021-10-10 01:06:58.047 1381-1381/? E/DeXUtil: DesktopModeManager is null, so it can't be decided.

from recordview.

3llomi avatar 3llomi commented on June 21, 2024

Hi @amnakashif
The error shows that you're recording audio on external storage without implementing required permissions,
Probably you're testing the app against a device with API29+.
You can test the Demo on your device to verify that.

from recordview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.