Skip to main content
Inspiring
September 10, 2016
Question

Using updated Android AppCompat resources

  • September 10, 2016
  • 3 replies
  • 3963 views

Hi,

AIR SDK 22 packages outdated AppCompat resources, and packaging updated resources causes conflicts. This prevents us from building extensions for libraries that require newer AppCompat resources.

We managed to avoid the conflict by removing the outdated resources from runtimeClasses.jar and packaging our own but obviously this is a hacky workaround rather than a good solution.

Is there a cleaner way to package newer AppCompat resources with current AIR SDK? If there is no way to fix it using regular ANE approach then maybe it would be a good idea for the AIR dev team to update the resources.

Thanks

This topic has been closed for replies.

3 replies

Participating Frequently
December 14, 2016

Hi mar.pies

I have checked the solution of AIR24 beta. It's not working and still gives errors of either duplicate resources or resource not found. Have you checked this?

What's the Adobe fix for this?

deesharm
Adobe Employee
Adobe Employee
December 14, 2016

Hi Mazhar,

Have you re-compiled the ANE using our latest AIR 24 SDK.

The problem shouldn't occur after re-compiling the ANE and using it in the actionscript project.

Thanks,

Adobe AIR Team

Participating Frequently
December 14, 2016

Hi deesharm

Yes, I have recompiled the ANE using LATEST AIR SDK 24 BETA. I am still getting "already added: Landroid/support/v7//appcompat/R$anim;" error.

By the way, can you elaborate on "recompile the ANE using our latest AIR 24 SDK" ? I am using "ADT" command to compile the ANE.

Can you please explain me steps of doing that, in case if I am missing any step. 

(Note: I am building the android native library (.jar) using Android Studio 2.2.3)

Thanks.

deesharm
Adobe Employee
Adobe Employee
November 2, 2016

Hi Marcel,

Please try this out with our latest AIR 24 Beta release:

http://labs.adobe.com/downloads/air.html

In order to resolve this bug, you need to recompile the ANE with the latest SDK. I have attached the resources with below bug logged for this issue in BugBase:

Bug#4189538 - Outdated Android AppCompat resources

Please let us know if you face any further problem.

Thanks,

Adobe AIR Team

mar_piesAuthor
Inspiring
November 2, 2016

Hi,

Thank you, I will check it out and report back.

mar_piesAuthor
Inspiring
September 15, 2016

Bug report for this issue can be found here: Bug#4189538 - Outdated Android AppCompat resources

Dmitrii Nikolaev
Known Participant
September 16, 2016

Hi chris.campbell, Pahup​, deesharm

We're trying to support the development of Adobe AIR platform. We've developed new Adobe Native Extensions. Moreover they're distributed under Apache 2.0 License. Please help us to support your AIR platform. Fix this bug in upcoming release.

We're looking forward for you.