adb 备份 - phone 上没有提示

adb backup - no prompt on phone

我正在尝试使用 adb 备份:

adb backup "-apk -shared -all -f C:\Users\user\backup.ab"

在我的 elephone u3h.

Phone 由程序员选项配置,可见于:

adb devices
List of devices attached
ELEExxxxx        device

备份命令后我可以看到:

WARNING: adb backup is deprecated and may be removed in a future
release Now unlock your device and confirm the backup operation...

问题是 phone 上没有提示我应该确认备份和 在 windows cmd 命令已停止, 有人遇到过这个问题吗?

Here's what Always worked for me: put single quotes around the parameters.

for example :

adb backup '-all -apk -shared -f momsmobile.ab'

Also , is Your "USB Debugging(Security Settings)" - is ON or OFF ? If its off , then turn On because Modern Phones has more than one Option of USB Debugging