[TIMOB-24457] Android Module : Error with Third-Party JAR
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-12-03T12:06:16.000+0000 |
Affected Version/s | Release 6.0.2 |
Fix Version/s | n/a |
Components | Android |
Labels | module |
Reporter | Aminul Islam |
Assignee | Unknown |
Created | 2017-03-06T11:43:22.000+0000 |
Updated | 2018-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
File | Date | Size |
---|---|---|
indooratlas-android-sdk-2.3.1.jar | 2017-03-06T11:43:58.000+0000 | 658819 |
Hey there! Is this only happening with 6.0.2, not with 6.0.1 or earlier? Thanks!
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
Hello Team, Is there any success on our issue. Anyone get the answer of this question. Please help. Thanks Alok Gupta
Hey there! Can you try with SDK 6.0.3.GA and Hyperloop 2.0.1? We'll investigate afterwards.
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
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
We have tested this issue with the latest sdk. So far we have been unable to reproduce this issue.