简体   繁体   中英

AOSP L build - screenrecord - CANNOT LINK EXECUTABLE

I needed screenrecord application in android L to record longer videos. I followed advice from this question and decided to build android. How to increase time limit of ADB screen record of Android Kitkat

After many attempts I haven't succeded, because screenrecorder binary extracted from build doesn't work. When I push screenrecord file to ANDROID and after chmod and starting screenrecord this is communicate I'm getting:

CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "./screenrecord" (built with --hash-style=gnu?)

I am using Ubuntu 14 and lunch configuration hammerhead as I am testing this on Nexus 5.

How can i fix it?

一种选择是在屏幕记录Android.mk上添加“ LOCAL_LDFLAGS:= -Wl,-hash-style = sysv”,尽管我确信这样做的方法不那么简单。

I don't know the limit for Android L, but 180 seconds is the max limit for KitKat, I run multi time ( 3min each) and combine it together.

see this thread: android : merge two videos

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM