How to add java(dex)_import module to uses-library to allow dexpreopt

250 views
Skip to first unread message

bbk

unread,
May 3, 2023, 3:56:07 PM5/3/23
to Android Building
I added a prebuilt jar(converted from proprietary source, previously it is loadded using dex_import) using java_import.
Now some application imported with android_app_import depends on it and I have dexpreopt turned on for them. I'm already added uses_libs for them. But when I building, I encountered `module "|app_name|" variant "android_common": invalid build path for <uses-library> " |prebuilt_jar_name| "`
Does dexpreopt not support java_import yet or my configuration is problematic?
Reply all
Reply to author
Forward
0 new messages