Unable to access .apk through appium on Mac Mojhave 10.14.6. Getting below error. All folder level permissions are already provided..Could anybody help in case this issue observed

All folder level permissions are already provided.

Setting device id to ZH33L2S83P

[ADB] Running ‘/Users/test123/Library/Android/sdk/platform-tools/adb -P 5037 -s ZH33L2S83P shell getprop ro.build.version.sdk’

[ADB] Current device property ‘ro.build.version.sdk’: 25

[ADB] Device API level: 25

[AndroidDriver] Consider setting ‘automationName’ capability to ‘uiautomator2’ on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.

[AndroidDriver] Shutting down Android driver

[AndroidDriver] Called deleteSession but bootstrap wasn’t active

[ADB] Running ‘/Users/test123/Library/Android/sdk/platform-tools/adb -P 5037 -s ZH33L2S83P shell am force-stop io.appium.unlock’

[AndroidDriver] App was not copied, so not deleting

[BaseDriver] Event ‘newSessionStarted’ logged at 1568295995952 (19:16:35 GMT+0530 (IST))

[MJSONWP] Encountered internal error running command: Error: The application at ‘/Users⁩/testuser/allfiles/myfile.apk’ does not exist or is not accessible

[MJSONWP] at APPLICATIONS_CACHE_GUARD.acquire (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-base-driver/lib/basedriver/helpers.js:136:13)

[MJSONWP] at process._tickCallback (internal/process/next_tick.js:68:7)

[HTTP] <-- POST /wd/hub/session 500 1969 ms - 232

[HTTP]

[HTTP] --> DELETE /wd/hub/session

[HTTP] {}

[HTTP] No route found. Setting content type to ‘text/plain’

[HTTP] <-- DELETE /wd/hub/session 404 2 ms - 57

[HTTP]

Hi All,

I have found a solution above. Please do not directly copy paste the path using ‘Get Info’ option, some special characters are displayed with it like arrow buttons which do not get removed using backspace. This is observed only in Mac Mojhave 10.14.6. Instead write the path manually or just drag and drop the file to command prompt to form the path.

Open folder app on mac. In menu choose “go to folder” and enter '/Users⁩/testuser/allfiles/’.

It it opens check then file 'myfile.apk’ exists in this folder