Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3526] Appcompat support library missing res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-04-28T04:26:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterDavid Vermeir
AssigneeShak Hossain
Created2016-04-19T14:07:28.000+0000
Updated2016-04-28T04:26:47.000+0000

Description

Hi, I'm trying to build an Android module for a Titanium app build with 5.2.2.GA. It's supposed to show a custom dialog window on top of the app when called for. Everything, from building the Android project, to compiling the module, to compiling the app works fine. But when I run the app and get to the point the Dialog is shown I get the following error:
NotFoundException: File res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png
When I add the appcompat-v7 library as a dependency of my Android project, I get compilation errors when compiling my Titanium app:
[ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/appcompat/R;
[ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/appcompat/R$anim;
[ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/appcompat/R$attr;
[ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/appcompat/R$bool;
[ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/appcompat/R$color;
If the appcompat-v7 lib is already part of the Titanium SDK, why am I getting NotFound exceptions? Are there resources missing in the SDK?

Comments

  1. David Vermeir 2016-04-20

    Extra info, it's a dialog with a Webview inside.
  2. Nazmus Salahin 2016-04-21

    Hello, Thanks for reporting. Please give us test code and step to reproduce so that we are able to reproduce this issue and dig deep. Please let us know your min and target SDK version of android and your environment details. Thanks

JSON Source