Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24167] Failed to use Android-SDK-embedded libs with Hyperloop

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsHyperloop
Labelsn/a
ReporterFrancisco Ruaro Varisco
AssigneeJan Vennemann
Created2016-10-20T23:59:26.000+0000
Updated2017-09-22T15:13:40.000+0000

Description

I'm trying to run a Firebase project on Android using Hyperloop and I'm not being able to do it with any of the SDK / hyperloop versions. If I use the SDK 5.5.1.GA and Hyperloop version 1.2.7 or 1.2.8 I get the issue attached on the file "issue-551GA". If I use the SDK 6.0.0 and Hyperloop version 2.0.0 I get the issue attached on the file "issue-600". If I could get what the issue is I would say that it's something related to how the Firebase works with the Android SDK. It's not a standalone project where you just have to include in your .gradle file and export your .aar file. Firebase works a bit differently because it's embedded in the Android SDK (Because it's a CORE package in the Android SDK). I think Hyperloop is not ready for this kind of scenario, but I can be wrong.

Attachments

FileDateSize
1issue.txt2016-10-26T04:52:21.000+00004172
2issue.txt2016-10-26T04:49:30.000+000011479
index.js2016-10-20T23:59:08.000+0000606
issue-551GA.txt2016-10-20T23:58:02.000+00007131
issue-600.txt2016-10-20T23:58:02.000+00007927

Comments

  1. Hans Knöchel 2016-10-21

    Did you try http://stackoverflow.com/questions/37598691/noclassdeffounderror-com-google-firebase-firebaseoptions?
  2. Francisco Ruaro Varisco 2016-10-26

    Hi @hans. I just tried what you suggested and I got another issue. It looks like I need to activate MultiDex for Android. So, I've done two different tests: 1) Adding the multidex aar to the project and running it. The issue I got is attached with the name: "1issue" 2) Adding the multidex aar AND adding the property 'android:name' to the '' tag on tiapp.xml. The issue I got is attached as well with the name: "2issue".
  3. Francisco Ruaro Varisco 2016-10-26

    I always get these lines when the app: [INFO] MultiDex: VM with version 2.1.0 has multidex support [INFO] MultiDex: install [INFO] MultiDex: VM has multidex support, *MultiDex support library is disabled.*
  4. Francisco Ruaro Varisco 2016-10-26

    I tried to include the module "ti.map" aiming to sort the issue with google services and it helped. I'm not getting the issue with gms anymore, however the problem with "ClassNotFoundException" still persists.
  5. Sharif AbuDarda 2016-11-21

    Hello, Try with latest release 2.0.0 with SDK 6.0.0.GA. Thanks.
  6. Francisco Ruaro Varisco 2016-11-21

    Have you tested with the latest version Sharif? I've just tested and it's triggering the same 6.0.0.* issue.

JSON Source