question

Gernot avatar image
Gernot asked

Not able to copy .json file to mint/sdcard from my Mac OXS 10.10

Hi, I´m about to finish my first "Amazon-App" with IAPs. I developed it with Adobe Air / Flash CC 2014 on a Mac OSX 10.10. I guess it works fine - but I'm not able to test it as I'm not able to copy the .json file to my Kindle Fire. I followed the instructions on amazon and I think I did everything correctly. I installed the SDK Tester and my App on the kindle. But I just don't know how to copy the .json file on the Kindle or where to put this .json file to. Here is what the Terminal does (or better not does): MacOSX:~ essig$ cd /Users/essig/dev MacOSX:dev essig$ /Users/essig/Android-sdk/platform-tools/adb push amazon.sdktester.json /mnt/sdcard failed to copy 'amazon.sdktester.json' to '/mnt/sdcard': Is a directory MacOSX:dev essig$ ./Users/essig/Android-sdk/platform-tools/adb push amazon.sdktester.json /mnt/sdcard -bash: ./Users/essig/Android-sdk/platform-tools/adb: No such file or directory ... is there another way to put the .json to the kindle? I'm totally stuck at the moment. Please help. Thanks
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

DougM@Amazon avatar image
DougM@Amazon answered
Hello Gernot, When doing an adb push, you will need to append the trailing / to the end of /mnt/sdcard in order for the command to complete successfully. For example: MacOSX:dev essig$ ./Users/essig/Android-sdk/platform-tools/adb push amazon.sdktester.json /mnt/sdcard/ should end with a successful push. This is because if you specify a file name that is not a directory, it will write the contents of the amazon.sdktester.jsonfile to whatever the file name is. So, the adb push command I have listed above would be the one you must use in order to correctly push the JSON file on a Mac regardless of what the OS version is.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.