Fixed
Status Update
Comments
em...@google.com <em...@google.com> #2
cc android-gradle in case it's purely a packaging issue
lo...@gmail.com <lo...@gmail.com> #3
Comment has been deleted.
em...@google.com <em...@google.com> #4
I don't reproduce it on gLinux. It happened on Windows.
em...@google.com <em...@google.com> #5
em...@google.com <em...@google.com> #6
jomof@ Ping.
jo...@google.com <jo...@google.com> #7
While I freshen up my Windows repo, would you mind zipping the repro project (with .cxx folder) and attaching here?
jo...@google.com <jo...@google.com> #8
Wait, nm. I don't need a freshened repo to do that myself
jo...@google.com <jo...@google.com> #9
Does not repro on Dolphin
em...@google.com <em...@google.com> #11
Did you try on windows and AGP 7.4.0-rc03?
It reproduces for me.
em...@google.com <em...@google.com> #12
Here's something that might be related (or might help with repro):
- Using the following puts the
liblog.so
into the APK:
add_library(myapplication SHARED native-lib.cpp)
find_library(log log-lib)
target_link_libraries(myapplication ${log-lib})
With this, I see that build.ninja
contains:
LINK_LIBRARIES = C:/Users/emrekultursay/AppData/Local/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/x86_64-linux-android/24/liblog.so
- Using this does not put the
liblog.so
into the APK:
add_library(myapplication SHARED native-lib.cpp)
target_link_libraries(myapplication log)
With this one, I don't have that LINK_LIBRARIES
. Instead, I see: -llog
.
jo...@google.com <jo...@google.com> #13
Regarding comment#11 I just used the EE default AGP version
jo...@google.com <jo...@google.com> #14
Looks like that is 7.3.1
Description
Repro Instructions:
lib/
folder (under any ABI)Expected result:
libmyapplication.so
Actual result:
liblog.so
,libmyapplication.so