blake502 / balatro-mobile-maker

Create a mobile Balatro app from your Steam version of Balatro
328 stars 25 forks source link

adb: error: failed to get feature set: device unauthorized #17

Closed blake502 closed 1 month ago

blake502 commented 1 month ago

I got this error while attempting save transfer:

adb: error: failed to get feature set: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

I've enabled USB debugging prior to attempting this and clicked Allow on my phone when prompted. I have an Oppo Reno5


Originally posted by @Aaantoni in https://github.com/blake502/balatro-apk-maker/issues/6#issuecomment-2052119618

blake502 commented 1 month ago

This is a bug with ADB. I'm creating this issue for reference in the future, because I'm sure it'll come up again. If you encounter this bug, you need to delete this directory: %userprofile%\.android\ (C:\Users\<NAME>\.android\)

Theoretically we could detect this error, and automatically clear that folder... But I'm not particularly keen on deleting things outside of the workspace directory. We're already fighting machine learning-based virus detection as is, deleting external directories isn't going to help our case haha.