8000 Use minicap command to take screenshot fail. · Issue #6 · openstf/minicap · GitHub
[go: up one dir, main page]

Skip to content

Use minicap command to take screenshot fail. #6

Closed

Description

@KilmerZhao

Fail to used command "adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 480x854@480x854/0 -t" to take screenshot .

The output info is "/system/bin/sh: /data/local/tmp/minicap: can't execute: Permission denied".

How to solve this problem.

3Q !

Activity

  1. sorccu commented on Oct 8, 2015

    @sorccu
    Member

    Which device is that? On some older android phones, that error message can mean that the executable didn't exist (even though it says permission denied). Make sure that /data/local/tmp/minicap is actually there. I would suggest trying to use the run.sh script to make sure everything gets uploaded properly. Also, note that the script puts the binaries into a different folder, /data/local/tmp/minicap-devel.

  2. KilmerZhao commented on Oct 8, 2015

    @KilmerZhao
    Author

    Hi Sorccu:

    When build the minicap, the error "/home/kilmer/minicap/minicap-master/jni/vendor/libjpeg-turbo/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/simd/jsimd_x86_64.c:43: error: undefined reference to 'jconst_rgb_ycc_convert_sse2'" happen.

    Is the version of libjpeg-turbo i got is wrong ?

  3. sorccu commented on Oct 8, 2015

    @sorccu
    Member

    I don't get what you're trying to do. Literally the only thing you need to do is this:

    git clone --recursive https://github.com/openstf/minicap.git
    cd minicap
    ndk-build

    OR

    git clone https://github.com/openstf/minicap.git
    cd minicap
    git submodule init
    git submodule update
    ndk-build

    I just tried it and it works fine for me.

  4. sorccu commented on Oct 8, 2015

    @sorccu
    Member

    Oh, and you MUST use NDK 10e, not any earlier version. That might actually explain it.

  5. KilmerZhao commented on Oct 8, 2015

    @KilmerZhao
    Author

    Thanks !

    I try it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0