You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I'm compiling aapt2 and I need to build it statically (to run it in an Android app I'm making using a jniLibs "bypass").
I've tried to modify the build.sh script and change all references from -shared to -static and adding the -static flag to the compilation command of aapt2, but that failed because symbols weren't found. I reset the build.sh script and only set the -static flag to the compilation command of aapt2, but that didn't work too because it couldn't find the shared libraries that it required.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there, I'm compiling aapt2 and I need to build it statically (to run it in an Android app I'm making using a jniLibs "bypass").
I've tried to modify the
build.sh
script and change all references from-shared
to-static
and adding the-static
flag to the compilation command of aapt2, but that failed because symbols weren't found. I reset thebuild.sh
script and only set the-static
flag to the compilation command of aapt2, but that didn't work too because it couldn't find the shared libraries that it required.Does anyone have an idea how I could do this?
Beta Was this translation helpful? Give feedback.
All reactions