Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5190] Android Build to Simulator never completes

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-11-11T19:50:50.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI, Titanium SDK & CLI
Labelsandroid
ReporterDavid van de Meer
AssigneeShak Hossain
Created2017-09-14T08:27:43.000+0000
Updated2017-11-11T19:50:50.000+0000

Description

I feel like all of this started with me downloading and trying 6.2.0.RC - before that things were fast and smooth - now everything is slow. Android Build using the latest 6.2.0.GA to Simulator never completes, 6.1.2.GA works just fine. 6.2.0.GA can build to Android devices, it is just a lot slower (6m 28s 24ms) than 6.1.2GA but it does eventually build (4m 24s 73ms) As I said before - before trying 6.2.0.RC and now 6.2.0.GA things were fast and smooth. Now its all slow and the simulator builds never complete, it simply hangs at [INFO] : Running dexer: When I remove all modules in my app it does eventually build but takes about 10minutes to complete. I have tried to remove and reinstall all Android SKDs. I have tried Genymotion and Built in Android Emulators. As I said once I switch to builing to a device it works fine, also switching back to building via 6.1.2.GA works fine. I have also noticed that the Launching delegate... Progress status never appears when building to Emulators. Attached a working one for reference Here is a complete trace log attached

Attachments

FileDateSize
Screen Shot 2017-09-14 at 3.33.18 PM.png2017-09-14T08:33:37.000+000012343
tracelog_device.txt2017-09-14T08:58:06.000+0000748279
tracelog_emulator.txt2017-09-14T08:58:41.000+000052983

Comments

  1. David van de Meer 2017-09-14

    Ok so I have been able to get it to build on my Genymotion emulator by setting, it is still much slower than before but throwing ram at it has seemed to help. By the way, this is a very large app with many native modules etc
       <property name="android.javac.maxmemory" type="string">2048M</property>
       <property name="android.dx.maxmemory" type="string">4096M</property>
       
    Question: why are setting these properties in this way not documented anywhere?
  2. Sharif AbuDarda 2017-10-29

    Hello, We can't reproduce the issue. Is your issue resolved?
  3. David van de Meer 2017-10-30

    Building is still so slow that it never finished until I add the strings above, then it does complete, its still pretty slow but at least it works. This happened again with a different app, so it actually happens on my computer with two different apps - not sure what other info I can provide
  4. Sharif AbuDarda 2017-11-05

    Hello, the issue might be with your memory. Can you try building a new demo app? See if this build first or not. Thanks.

JSON Source