Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24457] Android Module : Error with Third-Party JAR

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-12-03T12:06:16.000+0000
Affected Version/sRelease 6.0.2
Fix Version/sn/a
ComponentsAndroid
Labelsmodule
ReporterAminul Islam
AssigneeUnknown
Created2017-03-06T11:43:22.000+0000
Updated2018-12-03T12:06:16.000+0000

Description

Steps : 1. Create a sample module with latest SDK 6.0.2.GA 2. Add attached JAR file in module's lib directory 3. Build that module. 4. Now create a test project. 5. Include sample module in the test project. 6. Copy example code. 7. Run this project on android devices. 8. Get following error
[ERROR] :  Failed to run dexer:
[ERROR] :  
[ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/apache/commons/codec/binary/Base64;
[ERROR] :  1 error; aborting
Environment :
Operating System
  Name                        = Mac OS X
  Version                     = 10.11.6
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 8589934592
Node.js
  Node.js Version             = 4.4.4
  npm Version                 = 2.15.1
Titanium CLI
  CLI Version                 = 5.0.11
Titanium SDK
  SDK Version                 = 6.0.2.GA
Thanks

Attachments

FileDateSize
indooratlas-android-sdk-2.3.1.jar2017-03-06T11:43:58.000+0000658819

Comments

  1. Hans Knöchel 2017-03-06

    Hey there! Is this only happening with 6.0.2, not with 6.0.1 or earlier? Thanks!
  2. Alok 2017-03-17

    Hello Team, Is there any success on our issue. It is already more than a week. When can we expect the solution from your side? Thanks Alok Gupta
  3. Alok 2017-04-03

    Hello Team, Is there any success on our issue. Anyone get the answer of this question. Please help. Thanks Alok Gupta
  4. Hans Knöchel 2017-04-03

    Hey there! Can you try with SDK 6.0.3.GA and Hyperloop 2.0.1? We'll investigate afterwards.
  5. Alok 2017-04-03

    We can try this for now but other module in my application is working on lower sdk 5.2.0. I would request, could you please try in lower sdk. And one more thing, I have not paid account so i am unable to work with Hyperloop. Due to this I am trying achieve it through the module. Thanks Alok
  6. Alok 2017-04-04

    I build module with sdk 6.0.3 and then inject in code. It is saying that it is not compatible with 6.0.3. Module is unable to add after creating module with 6.0.3
  7. Aminul Islam 2018-12-03

    We have tested this issue with the latest sdk. So far we have been unable to reproduce this issue.
       Operating System
         Name                        = Microsoft Windows 10 Pro
         Version                     = 10.0.17134
         Architecture                = 32bit
         # CPUs                      = 4
         Memory                      = 17091956736
       Node.js
         Node.js Version             = 8.9.1
         npm Version                 = 5.5.1
       Titanium CLI
         CLI Version                 = 5.1.1
       Titanium SDK
         SDK Version                 = 7.5.0.GA
         SDK Path                    = C:\ProgramData\Titanium\mobilesdk\win32\7.5.0.GA
         Target Platform             = android
       Command
       

JSON Source