androidcommand-lineadbandroid-debugfastboot

Android - Run ADB push command with whitespace's


I am trying to run an ADB command from HERE-Maps Documentation page which says,

adb push voices /sdcard/Android/data/{YourAppNamespace}/files/voices-download

In above command the "{YourAppNamespace}" is the app name, In my case my app name is separated by a white space like Google<space>Now So if i am passing my application name with white space in between command is giving error because there's a white space in between. How can I resolve it? Am I passing correct name? I copied my app_name from res/strings.xml


Solution

  • You need to add "" quotes when white space is included in the command:

    adb push voices "/sdcard/Android/data/{YourAppNamespace}/files/voices-download"