Code Monkey home page Code Monkey logo

Comments (16)

Restry avatar Restry commented on August 16, 2024 2

fix it

adb shell chmod 777 /data/local/tmp/minicap-devel/minicap

from minicap.

sorccu avatar sorccu commented on August 16, 2024

You have to mention which device you're using or it's impossible to say anything.

from minicap.

prithiviraj avatar prithiviraj commented on August 16, 2024

nexus 5

from minicap.

sorccu avatar sorccu commented on August 16, 2024

And which version of Android? Please don't make me ask every single detail, that's just wasting my time.

from minicap.

prithiviraj avatar prithiviraj commented on August 16, 2024

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

from minicap.

sorccu avatar sorccu commented on August 16, 2024

Nexus 5 on 6.0.1 works fine. I think the issue is something else. Did you use the ./run.sh script?

from minicap.

prithiviraj avatar prithiviraj commented on August 16, 2024

yes starting the minicap im using this command ./run.sh autosize

from minicap.

sorccu avatar sorccu commented on August 16, 2024

Which OS do you use? And which version?

from minicap.

prithiviraj avatar prithiviraj commented on August 16, 2024

windows 10 pro version 1511 and im trying using Cygwin64 Terminal

from minicap.

sorccu avatar sorccu commented on August 16, 2024

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.

from minicap.

serezhka avatar serezhka commented on August 16, 2024

@prithiviraj , try to add
" adb shell chmod 0755 $dir/$bin " after " adb push .. " in run.sh script

from minicap.

prithiviraj avatar prithiviraj commented on August 16, 2024

@serezhka, i tried same problem permission denied

from minicap.

thulasipavankumar avatar thulasipavankumar commented on August 16, 2024

@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

from minicap.

sorccu avatar sorccu commented on August 16, 2024

Perhaps openstf/stf#436 is of interest to you. Current STF installs to /data/data/com.android.shell if /data/local/tmp doesn't work.

from minicap.

tsreenivash-pk avatar tsreenivash-pk commented on August 16, 2024

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>/ _

from minicap.

oujibahei avatar oujibahei commented on August 16, 2024

Even after execute adb shell chmod 777 /data/local/tmp/minicap-devel/minicap still gets the 'permission denied' notice on Windows.

from minicap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.