Comments (12)
Well. It's working now! Thanks.
Replacing the adb files and removing the -g did the trick
from sndcpy.
Does adb devices
show your device?
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#device-not-detected
from sndcpy.
I just ran adb.exe through cmd with the commant get-state. No device is found
from sndcpy.
That's the problem then. Try to install the drivers (see previous link).
from sndcpy.
Well, tried to update drivers from multiple sources, including oem.
Sadly, the problem persist.
No device is ever found.
from sndcpy.
Check on stackoverflow how to make your specific device detected by adb.
from sndcpy.
I have an update.
I just tried the Vysor app, which too mirrors the phone in a very similar way.
It does detect the phone, asks for debugging permission and can install its app from the computer.
Doesn't seem to be a driver problem after all. It must be something with adb as you say
from sndcpy.
Replaced sndcpy adb files with theirs. They were different.
It succesfully detects the phone.
But brings out this error:
Waiting for device...
Performing Streamed Install
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
java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag
at com.android.server.pm.PackageInstallerService.createSessionInternal(PackageInstallerService.java:542)
at com.android.server.pm.PackageInstallerService.createSession(PackageUninstalling existing version first...
Success
Performing Streamed Install
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
java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag
at com.android.server.pm.PackageInstallerService.createSessionInternal(PackageInstallerService.java:542)
at com.android.server.pm.PackageInstallerService.createSession(PackageFailed with error #1.
from sndcpy.
Replaced sndcpy adb files with theirs. They were different.
What is the result of adb --version
?
java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag
See #39
from sndcpy.
Just downloaded adb files directly from google servers, they appear to be the same as the Vysor app.
Android Debug Bridge version 1.0.41
Version 30.0.4-6686687
from sndcpy.
Well. It's working now! Thanks.
Replacing the adb files and removing the -g did the trick
Sir @AlexTCGPro and @rom1v requesting for your kind assistance where can i download the adb files? thank you
from sndcpy.
423 / 5000
Resultados de tradução
In my case, the same error appeared.
I tried to run the .bat file in the same directory as my apk in debug mode, but the following error appeared:
INSTALL_CANCELED_BY_USER
So I enabled these options on my device, in developer options:
Install Via USB
USB debugging (Security settings)
I didn't run the .bat file again I just ran
npx react-native run-android with the device plugged in, and then it worked.
Redmi 9C
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.