GithubHelp home page GithubHelp logo

Comments (6)

rom1v avatar rom1v commented on August 28, 2024
adb logcat

?

from sndcpy.

PrajitSthaa avatar PrajitSthaa commented on August 28, 2024

1592290241270_TEST1.txt

from sndcpy.

PrajitSthaa avatar PrajitSthaa commented on August 28, 2024

Im using Galaxy Note 8 and there is no official Android 10 provided by samsung but Im using Unofficial Aosp android 10.

from sndcpy.

rom1v avatar rom1v commented on August 28, 2024
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.rom1v.sndcpy, PID: 1892
E AndroidRuntime: java.lang.RuntimeException: Unable to start service com.rom1v.sndcpy.RecordService@957c3fc with Intent { act=com.rom1v.sndcpy.RECORD cmp=com.rom1v.sndcpy/.RecordService (has extras) }: java.lang.UnsupportedOperationException: Error: could not register audio policy
E AndroidRuntime: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4105)
E AndroidRuntime: 	at android.app.ActivityThread.access$1800(ActivityThread.java:219)
E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)
E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7355)
E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: Error: could not register audio policy
E AndroidRuntime: 	at android.media.AudioRecord$Builder.buildAudioPlaybackCaptureRecord(AudioRecord.java:661)
E AndroidRuntime: 	at android.media.AudioRecord$Builder.build(AudioRecord.java:681)
E AndroidRuntime: 	at com.rom1v.sndcpy.RecordService.createAudioRecord(RecordService.java:155)
E AndroidRuntime: 	at com.rom1v.sndcpy.RecordService.startRecording(RecordService.java:159)
E AndroidRuntime: 	at com.rom1v.sndcpy.RecordService.onStartCommand(RecordService.java:86)
E AndroidRuntime: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)
E AndroidRuntime: 	... 8 more

Probably something related to "audio policy" to configure in the ROM.

from sndcpy.

PrajitSthaa avatar PrajitSthaa commented on August 28, 2024

from sndcpy.

steven-gao avatar steven-gao commented on August 28, 2024

Any Solution for it? i met this error today,i dont understand why i am wrong

from sndcpy.

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.