Highlighted

ANE of a Native Android dependency that has multiple dependencies

New Here ,
Apr 08, 2019

Copy link to clipboard

Copied

I have a library that I use on Native Android as a gradle dependency. This library has multiple gradle dependencies inside.

It seems that I need to make an ANE to use this library within my AIR project. However, my library has multiple dependencies that gradle brings in automatically because of the POM file. How can I make this work with Android AIR so that I don't have to copy all the jar dependencies into my ANE?

If I understand correct if I just take the primary library A and make a jar out of it when I run the ANE then all of A's dependencies won't be fetched so this will crash.

Please help! How can I bring in this library into my Android Adobe AIR project without having to copy paste all the dependencies?

TOPICS
Development

Views

294

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ANE of a Native Android dependency that has multiple dependencies

New Here ,
Apr 08, 2019

Copy link to clipboard

Copied

I have a library that I use on Native Android as a gradle dependency. This library has multiple gradle dependencies inside.

It seems that I need to make an ANE to use this library within my AIR project. However, my library has multiple dependencies that gradle brings in automatically because of the POM file. How can I make this work with Android AIR so that I don't have to copy all the jar dependencies into my ANE?

If I understand correct if I just take the primary library A and make a jar out of it when I run the ANE then all of A's dependencies won't be fetched so this will crash.

Please help! How can I bring in this library into my Android Adobe AIR project without having to copy paste all the dependencies?

TOPICS
Development

Views

295

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 08, 2019 0

Have something to add?

Join the conversation