Using a lib from prebuilts that has no module

47 views
Skip to first unread message

Tim Froehlich

unread,
Mar 15, 2021, 10:44:04 AM3/15/21
to Android Building
I'm trying to add an app that depends on a java library (javax.annotation-api) that's in maven
 and is in my prebuilts/tools/common/m2 directory but doesn't have an module in it's Android.bp. (It has a java_import_host module for the wrong version). I can't figure out how to use that .jar and I feel like I'm missing something simple. Would appreciate some help :)
Reply all
Reply to author
Forward
0 new messages