Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25489] Hyperloop - abi is not defined

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsHyperloop
Labelsn/a
ReporterMarian Kucharcik
AssigneeJan Vennemann
Created2017-11-08T07:05:19.000+0000
Updated2017-11-20T12:29:54.000+0000

Description

Hi guys, I want to use external android library with Hyperloop, but it throws following error:
2017-11-08T06:58:44.388Z | ERROR  | An uncaught exception was thrown!
abi is not defined
2017-11-08T06:58:44.392Z | ERROR  | abi is not defined
[ERROR] Application Installer abnormal process termination. Process exit value was 1
It throws this error after logging "Writing unsigned apk". I tried to specify abi in tiapp.xml file:
<abi>armeabi-v7a</abi>
When I remove that library(aar), app runs fine. This lib we used in native app which I'm recoding to Appc, so the file is fine... Have you any advices? Thanks

Comments

  1. Marian Kucharcik 2017-11-08

  2. Ranando King 2017-11-10

    This is an incomplete work around. If the .aar file has resources in it that are used by the library, or needed by the app to use the library properly, simply extracting the .jar file will not be sufficient. There are a lot of third-party libraries like this.
  3. Marian Kucharcik 2017-11-10

    Hi Ranando, yes, it's only workaround, but with this you can at least build app and use some of the funcionality. It's not ideal, I know, but we have to wait for Appc guys to fix this bug.
  4. Jan Vennemann 2017-11-10

    [~max87], could you give us some more info so we can reproduce the behavior you are seeing? Which library causes this issue? Providing a minimal working example project also helps a lot to quickly identify the cause of your issue. Thanks!
  5. Marian Kucharcik 2017-11-20

    HI Jan, I use Sygic SDK to implement their's map view and navigation. Unfortunately it's paid sdk(you can download it as a demo and try to implement). Thanks

JSON Source