[TIMOB-24439] Hyperloop-android Fails at running dexer with a file not found exception. complains about a classes.jar
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | android, engSchedule, hyperloop |
Reporter | Brian García |
Assignee | Jan Vennemann |
Created | 2016-12-19T14:17:57.000+0000 |
Updated | 2019-08-27T15:38:34.000+0000 |
Description
With the libjingle library attached trying to run the project results in a build crash with the following error:
[ERROR] : Failed to run dexer:
[ERROR] :
[ERROR] : UNEXPECTED TOP-LEVEL EXCEPTION:
[ERROR] : java.io.FileNotFoundException: /Users/Brian/Documents/workspace/RestComm/build/hyperloop/android/libjingle-11139/classes.jar,/Users/Brian/Documents/workspace/RestComm/build/hyperloop/android/libjingle-11139/libs/libjingle_peerconnection.jar (No such file or directory)
[ERROR] : at java.util.zip.ZipFile.open(Native Method)
[ERROR] : at java.util.zip.ZipFile.<init>(ZipFile.java:219)
[ERROR] : at java.util.zip.ZipFile.<init>(ZipFile.java:149)
[ERROR] : at java.util.zip.ZipFile.<init>(ZipFile.java:163)
[ERROR] : at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
[ERROR] : at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
[ERROR] : at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
[ERROR] : at com.android.dx.command.dexer.Main.processOne(Main.java:672)
[ERROR] : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:574)
[ERROR] : at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
[ERROR] : at com.android.dx.command.dexer.Main.run(Main.java:277)
[ERROR] : at com.android.dx.command.dexer.Main.main(Main.java:245)
[ERROR] : at com.android.dx.command.Main.main(Main.java:106)
[ERROR] : 1 error; aborting
libjingle_peerconnection.jar exists in directory but classes.jar doesn't.
Attachments
File | Date | Size |
---|---|---|
libjingle_peerconnection-7113.jar | 2016-12-19T14:14:19.000+0000 | 72137 |
Hello, We could not reproduce. Can you reconfirm the jar was added to "app/platform/android" directory? Thanks.
Sorry! missed one .aar you can download from here (https://mvnrepository.com/artifact/io.pristine/libjingle/11139). With these two packages placed correctly and the following code :
causes the above error