You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I never develop on Windows and will therefore not be able to check the issue. I would recommend creating a Linux VM and building from there. If you manage to figure out what's wrong, a PR is welcome. Sounds like the executable flags are not getting set correctly but who knows.
@prithiviraj
I too faced the same issue follow the below mentioned steps to overcome the issue
Execute the following commands in command prompt
-> adb -s "deviceid" shell ( this will enter to the device adb shell)
-> cd /data/local/tmp/ ( assuming you pushed minicap to /data/local/tmp/ )
-> chmod 777 minicap
Activity
sorccu commentedon Oct 21, 2016
You have to mention which device you're using or it's impossible to say anything.
prithiviraj commentedon Oct 21, 2016
nexus 5
sorccu commentedon Oct 21, 2016
And which version of Android? Please don't make me ask every single detail, that's just wasting my time.
prithiviraj commentedon Oct 21, 2016
i have tried in nexus5 version 6.0.1 and Samsung Galaxy Young Duos S6312, android version 4.1.2 same problem, cant access permission denied
sorccu commentedon Oct 21, 2016
Nexus 5 on 6.0.1 works fine. I think the issue is something else. Did you use the
./run.shscript?prithiviraj commentedon Oct 21, 2016
yes starting the minicap im using this command ./run.sh autosize
sorccu commentedon Oct 21, 2016
Which OS do you use? And which version?
prithiviraj commentedon Oct 21, 2016
windows 10 pro version 1511 and im trying using Cygwin64 Terminal
sorccu commentedon Oct 22, 2016
I never develop on Windows and will therefore not be able to check the issue. I would recommend creating a Linux VM and building from there. If you manage to figure out what's wrong, a PR is welcome. Sounds like the executable flags are not getting set correctly but who knows.
serezhka commentedon Oct 25, 2016
@prithiviraj , try to add
" adb shell chmod 0755 $dir/$bin " after " adb push .. " in run.sh script
prithiviraj commentedon Oct 25, 2016
@serezhka, i tried same problem permission denied
thulasipavankumar commentedon Jul 4, 2017
@prithiviraj
I too faced the same issue follow the below mentioned steps to overcome the issue
Execute the following commands in command prompt
-> adb -s "deviceid" shell ( this will enter to the device adb shell)
-> cd /data/local/tmp/ ( assuming you pushed minicap to /data/local/tmp/ )
-> chmod 777 minicap
sorccu commentedon Jul 4, 2017
Perhaps openstf/stf#436 is of interest to you. Current STF installs to
/data/data/com.android.shellif/data/local/tmpdoesn't work.tsreenivash-pk commentedon Oct 16, 2017
Minicap Working in windows
Manually execute the following command in command line
-- adb shell "mkdir /data/local/tmp/minicap-devel 2>/dev/null || true" .
-- adb push libs/<your_device_acrhitecture>/minicap /data/local/tmp/minicap-devel.
-- adb push jni/minicap-shared/aosp/libs/android-<Android_OS_API_verion>/<your_device_acrhitecture>/minicap.so /data/local/tmp/minicap-devel.
-- adb shell chmod 777 /data/local/tmp/minicap-devel/minicap -> execute this command in CYGWIN.
-- adb shell LD_LIBRARY_PATH=/data/local/tmp/minicap-devel /data/local/tmp/minicap-devel/minicap run.sh -P _<Deivce_Resolution>@<Projection_Resoultion>/ _
Restry commentedon Aug 19, 2018
fix it
adb shell chmod 777 /data/local/tmp/minicap-devel/minicapoujibahei commentedon Jan 14, 2019
Even after execute
adb shell chmod 777 /data/local/tmp/minicap-devel/minicapstill gets the 'permission denied' notice on Windows.