Skip to content

Re-Compiling arm64-v8a doesnt work #73

Open
@enoWal

Description

@enoWal

Hi! I got a problem with recompiling the libs of this projekt.

Information:
Which DJI Product you are using?
-Mavic 2 Enterprise Zoom
Which Android Device and Android system version you are using?
-LG G7 with Android 10
Which Android Studio version you are using?
-4.1.3

A short description of my problem including terminal logs:

Im trying to re-compile the libs with the android ndk.
I deleted all existing libs and obj in the folder directory and startet to recompile them with the jni folder and the ndk.

My problem is that only the armeabi-v7a and x86 are recompiled but the arm64-v8a isnt; so i cant use the lib in my own project.

I didnt change anything in the project except the App Key for testing.

I get this output in the terminal when i try to rebuild the lib.

C:\Users\moritz\Android-VideoStreamDecodingSample\android-videostreamdecodingsample>C:\Users\moritz\AppData\Local\Android\Sdk\ndk\22.1.7171670/ndk-build
fcntl(): Bad file descriptor
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:751: warning: overriding recipe for target 'obj/local/armeabi-v7a/libffmpeg.so'
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:751: warning: ignoring old recipe for target 'obj/local/armeabi-v7a/libffmpeg.so'
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:775: warning: overriding recipe for target 'libs/armeabi-v7a/libffmpeg.so'
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:775: warning: ignoring old recipe for target 'libs/armeabi-v7a/libffmpeg.so'
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:751: warning: overriding recipe for target 'obj/local/x86/libffmpeg.so'
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:751: warning: ignoring old recipe for target 'obj/local/x86/libffmpeg.so'
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:775: warning: overriding recipe for target 'libs/x86/libffmpeg.so'
C:/Users/moritz/AppData/Local/Android/Sdk/ndk/22.1.7171670/build//../build/core/build-binary.mk:775: warning: ignoring old recipe for target 'libs/x86/libffmpeg.so'
[armeabi-v7a] Install        : libdjivideojni.so => libs/armeabi-v7a/libdjivideojni.so
[armeabi-v7a] Install        : libffmpeg.so => libs/armeabi-v7a/libffmpeg.so
[armeabi-v7a] Install        : libyuv2.so => libs/armeabi-v7a/libyuv2.so
[x86] Install        : libdjivideojni.so => libs/x86/libdjivideojni.so
[x86] Install        : libffmpeg.so => libs/x86/libffmpeg.so
[x86] Install        : libyuv2.so => libs/x86/libyuv2.so

As you can see it builds the 2 instruction sets, but the arm64 ist missing.

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