Comments (3)
Please post the error printed in the output of adb logcat
.
from sndcpy.
This is the error that you have requested.
Thank you for taking the time to go through this. I really appreciate it.
from sndcpy.
07-17 09:40:44.246 4110 12967 E APM_AudioPolicyManager: Unable to find audio module for submix, aborting mix 0 registration
07-17 09:40:44.249 4390 9570 W AS.AudioService: Audio policy registration failed for binder android.media.audiopolicy.IAudioPolicyCallback$Stub$Proxy@fe8c087
07-17 09:40:44.249 4390 9570 W AS.AudioService: java.lang.IllegalStateException: Could not connect mix, error: -3
07-17 09:40:44.249 4390 9570 W AS.AudioService: at com.android.server.audio.AudioService$AudioPolicyProxy.<init>(AudioService.java:7389)
07-17 09:40:44.249 4390 9570 W AS.AudioService: at com.android.server.audio.AudioService.registerAudioPolicy(AudioService.java:6848)
07-17 09:40:44.249 4390 9570 W AS.AudioService: at android.media.IAudioService$Stub.onTransact(IAudioService.java:1578)
07-17 09:40:44.249 4390 9570 W AS.AudioService: at android.os.Binder.execTransactInternal(Binder.java:1021)
07-17 09:40:44.249 4390 9570 W AS.AudioService: at android.os.Binder.execTransact(Binder.java:994)
07-17 09:40:44.250 15837 15837 D AndroidRuntime: Shutting down VM
--------- beginning of crash
07-17 09:40:44.253 15837 15837 E AndroidRuntime: FATAL EXCEPTION: main
07-17 09:40:44.253 15837 15837 E AndroidRuntime: Process: com.rom1v.sndcpy, PID: 15837
07-17 09:40:44.253 15837 15837 E AndroidRuntime: java.lang.RuntimeException: Unable to start service com.rom1v.sndcpy.RecordService@3676aaa with Intent { act=com.rom1v.sndcpy.RECORD cmp=com.rom1v.sndcpy/.RecordService (has extras) }: java.lang.UnsupportedOperationException: Error: could not register audio policy
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4105)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:219)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: Error: could not register audio policy
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.media.AudioRecord$Builder.buildAudioPlaybackCaptureRecord(AudioRecord.java:661)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.media.AudioRecord$Builder.build(AudioRecord.java:681)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at com.rom1v.sndcpy.RecordService.createAudioRecord(RecordService.java:155)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at com.rom1v.sndcpy.RecordService.startRecording(RecordService.java:159)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at com.rom1v.sndcpy.RecordService.onStartCommand(RecordService.java:86)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: ... 8 more
07-17 09:40:44.258 15837 15837 I Process : Sending signal. PID: 15837 SIG: 9
It's the same as #4 (so I'm closing as duplicate).
UnsupportedOperationException
suggests that something is just not implemented in the device system.
from sndcpy.
Related Issues (20)
- apk and vlc has running ,but no sound HOT 1
- Change application id if not allowed to be installed on some devices for security issue. HOT 1
- Problem Parsing the Package
- Looks like sndcpy doesn't work with apps that have In-call volume function inside it. HOT 7
- is it possible to to passed microphone from the Host / Mac to Android ?
- 'C:\Program' is not recognized as an internal or external command
- Newbie Problems
- Phone tell
- audio forwarding is not working HOT 1
- miccpy? HOT 1
- How do i make a silent start for sndcpy?, (Not showing the console) HOT 1
- adb: failed to install sndcpy.apk: Security exception: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag HOT 2
- Waiting for device... HOT 2
- SNDCPY, adb: failed to stat sndcpy.apk: No such file or directory HOT 2
- can i ask something HOT 1
- Audio not working for android 10 HOT 4
- sndcpy does not transfer audio played by poweramp
- Got this issue with sndcpy. Also the app doesn't show up after being installed.
- Issue with Sndcpy, HOT 3
- Audio delay using sndcpy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sndcpy.