When I run the aapt dump badging on my apk I get the below error
W/asset (17217): Asset path Users/username/Downloads/appname.apk is neither a directory nor file (type=1).
ERROR: dump failed because assets could not be loaded
I couldn't find why it happens.
I'm using iMac.
I have faced this problem in my case it was missing of the (.)dot in following terminal command
./aapt dump badging /Users/username/Documents/Android/Release/PROD/appname.apk
Hope this helps