8000 Build minicap for Android N (Preview) · Issue #32 · openstf/minicap · GitHub
[go: up one dir, main page]

Skip to content

Build minicap for Android N (Preview) #32

Closed

Description

@haihaoshen

Hi,

I am trying to build minicap for Android N. Is there any instructions on how to do that? I would like to build from AOSO source code.

Thanks a lot!
-Harry

Activity

  1. sorccu commented on Aug 6, 2016

    @sorccu
    Member

    Currently you can just copy the libs from the latest built version. Works
    with N and M.

    On Saturday, 6 August 2016, haihaoshen notifications@github.com wrote:

    Hi,

    I am trying to build minicap for Android N. Is there any instructions on
    how to do that? I would like to build from AOSO source code.

    Thanks a lot!
    -Harry

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #32, or mute the thread
    https://github.com/notifications/unsubscribe-auth/AAB-_Qock9fj502KAcg3c5IKoqMNosCAks5qdFH6gaJpZM4JePfw
    .

  2. haihaoshen commented on Aug 7, 2016

    @haihaoshen
    Author

    Thanks a lo! As I found, the max version is android-23, which should support Android M. Do you mean it also supports Android N?

    BTW, is there any way to build with AOSP code?

  3. sorccu commented on Aug 7, 2016

    @sorccu
    Member

    Yes it does, just copy the libs under the new SDK name and it will work.

  4. sorccu commented on Aug 7, 2016

    @sorccu
    Member

    You can build with AOSP if you update the build scripts, it's not a big task.

  5. haihaoshen commented on Aug 7, 2016

    @haihaoshen
    Author

    Thanks for your information.

    I found there are prebuilt libs under minicap/jni/minicap-shared/aosp/libs, which contains different android version from 9 to 23; while minicap/libs also generates one copy (single version) after using ndk-build. May I know what;s the single version here? Is it related with ndk-build version or something else?

    One more question on build from AOSP code: where folder should I copy minicap/jni to aosp folder? aosp is a local folder, not from dock.

  6. sorccu commented on Aug 7, 2016

    @sorccu
    Member

    Just take the folder called android-23. Duplicate it and name it android-24. It should now work.

  7. haihaoshen commented on Aug 7, 2016

    @haihaoshen
    Author

    Got it for this question, thanks.

    (pre-built in git) minicap/jni/minicap-shared/aosp/libs/android-23/arm64-v8a: minicap.so
    (ndk-build newly) minicap/libs/arm64-v8a: minicap minicap-nopie minicap.so

    What's the difference between two minicap.so files? Which version does the minicap.so (ndk-build) support?

  8. sorccu commented on Aug 7, 2016

    @sorccu
    Member

    It doesn't support anything. It's just a dummy library that makes the main codebase compile against the symbols in the shared library.

  9. haihaoshen commented on Aug 7, 2016

    @haihaoshen
    Author

    got it, thanks again!

  10. varundtsfi commented on Aug 9, 2018

    @varundtsfi

    I want to build the android AOSP with minicap without using docker.
    You have put on web
    https://github.com/openstf/minicap/tree/master/jni/minicap-shared

    Now I have a fresh copy of android 9 AOSP and minicap project which you have put on web.
    repo init -u https://android.googlesource.com/platform/manifest
    repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r3
    repo sync.

    I ran . build/envsetup.sh

    How to start the AOSP build for arm64-v8a
    and After completed the build process How to compile aosp with mincap project so that I can get minicap libs.

    Please help me I want to learn this process with the help of all of you guys.

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