Pittvandewitt / Wavelet

A quick rundown on each feature and its settings
https://pittvandewitt.github.io/Wavelet/
650 stars 35 forks source link

Error: no permission specified #261

Closed Wind-stormger closed 1 year ago

Wind-stormger commented 1 year ago

When I try to enhanced session detection, it can't work:

127|ASUS_AI2201:/ $ pm grant com.pittvandewitt.wavelet                                                                                       
Error: no permission specified
1|ASUS_AI2201:/ $ android.permission.DUMP                                                                                                    
/system/bin/sh: android.permission.DUMP: inaccessible or not found
127|ASUS_AI2201:/ $

Android 13 Asus ROG Phone 6

Wind-stormger commented 1 year ago

How do I give permission? USB debugging has been turned on.

Pittvandewitt commented 1 year ago

Try putting everything on one line. It looks like you hit enter before you specified the permission. Run either adb shell pm grant com.pittvandewitt.wavelet android.permission.DUMP or pm grant com.pittvandewitt.wavelet android.permission.DUMP

Wind-stormger commented 1 year ago

pm grant com.pittvandewitt.wavelet android.permission.DUMP

Great!!! Many thanks!

💘 💘 💘 💘 💘

Wind-stormger commented 1 year ago

It looks like you hit enter before you specified the permission.

I don't get it mean, I just hit enter key once to run the command.

If you don't mind, I'd like to know what's going on.

Wind-stormger commented 1 year ago

image

I suddenly understood, because of this automatic line break, I mistakenly thought it was two lines of commands!