Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADB Command Now Working - Fixed #54

Closed
abhishek-junghare opened this issue Jan 5, 2023 · 1 comment
Closed

ADB Command Now Working - Fixed #54

abhishek-junghare opened this issue Jan 5, 2023 · 1 comment

Comments

@abhishek-junghare
Copy link

Given adb command in the app -
adb shell ' sh "/storage/emulated/0/GSI/workspace_dsuhelper/install" '

this gives error
/system/bin/sh: sh /storage/emulated/0/GSI/workspace_dsuhelper/install : inaccessible or not found

Removing ' worked. Command -
adb shell sh "/storage/emulated/0/GSI/workspace_dsuhelper/install"

Device Information:
Samsung A52s 5G
OneUI 5.0 (Android 13)
API 33

@VegaBobo
Copy link
Owner

VegaBobo commented Jan 7, 2023

Single quotes with double quotes have been used to escape some characters, since user can setup a folder on first application startup that may contain special characters, which can cause "syntax error".
Anyway, using double quotes with single quotes was a lazy solution, installation script will be now moved to a proper folder that is unlikely to cause these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants