Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23906

Hyperloop: Android - UNEXPECTED TOP-LEVEL EXCEPTION: No such file or directory because relative path includes absolute prefix when jar or aar includes additional jar or aar in libs folder

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 5.5.0
    • Fix Version/s: None
    • Component/s: Android, Hyperloop
    • Labels:
    • Environment:

      Description

      In my project I include intercom-sdk-base-3.0.8.aar inside of /app/platform/android

      Inside the archive is that additional dependency jar at libs/repackaged_dependencies.jar

      The generated path to include this jar is incorrect causing the following error to be generated:

      [ERROR] Failed to run dexer:
      [ERROR]
      [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION:
      [ERROR] java.io.FileNotFoundException: /Users/jerodfritz/Documents/Appcelerator_Studio_Workspace/Prspctr/build/hyperloop/android/intercom-sdk-base-3.0.8/classes.jar,/Users/jerodfritz/Documents/Appcelerator_Studio_Workspace/Prspctr/build/hyperloop/android/intercom-sdk-base-3.0.8/libs/repackaged_dependencies.jar (No such file or directory)
      [ERROR] at java.util.zip.ZipFile.open(Native Method)
      [ERROR] at java.util.zip.ZipFile.<init>(ZipFile.java:215)
      [ERROR] at java.util.zip.ZipFile.<init>(ZipFile.java:145)
      [ERROR] at java.util.zip.ZipFile.<init>(ZipFile.java:159)
      [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

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              jerodfritz Jerod Fritz
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code