ADB executable lacks `executable` (`+x`) flag
blackinitial opened this issue · 5 comments
I has installed AndroidScreencast,
and my app.propperties :
#relative or absolute path to ADB
adb.path=adb/linux/adb
#maximum time to wait for device (in seconds)
#adb.device.timeout=30
#maximum time to execute adb command (in seconds)
#adb.command.timeout=5
#app.window.width=1024
#app.window.height=768
#Defines whether application should look 'natively' to OS
#app.native.look=false
and run :
java -jar target/androidscreencast-0.0.11s-SNAPSHOT-executable.jar
but i have error :
Exception happened during running your ADB instance. Probably ADB path is misconfigured. ADB path='adb/linux/adb'
what a mistake i have made, i'm sure my path are correct.
how to fix this?
Hello @blackinitial, what OS are you using?
And your path should be an abstract one: starts with ./
or an absolute one: starts with /
.
So, e.g. if your adb
folder is within the root filesystem folder, the adb.path
property should be: /adb/linux/adb
.
If you are configuring ADB for a relative location, i.e. the adb
folder is in the folder from which you are running the java -jar
command — the adb.path
property should be: ./adb/linux/adb
.
@xSAVIKx thanks for response..
im still error, i have tried to change the path to adb/linux/adb
, /adb/linux/adb
, ./adb/linux/adb
.
my OS Linux Mint 18.3 Sylvia x86_64
@blackinitial please check if you have +x
flag on adb/linux/adb
and adb/linux/fastboot
.
Looks like I missed execution flags and they are not persisted in the repo...
You can manually set them using following command:
sudo chmod +x ./adb/linux/adb && sudo chmod +x ./adb/linux/fastboot
I have renamed the issue to properly highlight the problem here.
okay, now, androidscreencast can run, but so slowly, lag :(
how to be faster ..?