Quantcast
Viewing all articles
Browse latest Browse all 8068

TiStudio 3.2.1 not recompiling for Android after upgrading

  • After upgrading to Ti 3.2.1, TiStudio began not recompiling for Android.
  • Just incase others may be experiencing the same issue, here's a description of an issue that had me stuck for hours.

Installation details

  • Titanium Studio, build: 3.2.1.201402041146
  • Titanium CLI 3.2.1
  • Titanium SDK 3.2.1 G.A
  • Alloy 1.3.1

Description of Issue

  • I upgraded a few days ago to the described installation.
  • I think the problem was that TiStudio was not recompiling on android after changes to code.
  • At first I had thought it was because the Ti.API.trace messages not coming up, but on having a closer look, TiStudio was not recompiling my code changes for Android.

Description of simple tests

  • After making a little code change “e.g. a line comment and Ti.API.debug change to common.js”, I reran the TiStudio recompile “Run Android device”, I checked to see whether the “Resources/android/common.js” were changing and the changes weren’t there.
  • I tried ti build --platform android but that didn't recompile my new code.
  • After reading Tony Lukasavage’s note

I ran

alloy compile —platform android
through the terminal, the changes are now appearing in “Resources/android/common.js”.
  • Now each time I make a trace code change and recompile on TiStudio, TiStudio is now recompiling the new code and the new trace messages are appearing on the console and in the Resource/android/common.js file.
  • Now that TiStudio is working again, I can’t replicate the issue of “TiStudio not recompiling on Android”.
  • I’m not sure what changed to TiStudio after I ran alloy compile —platform android on terminal that makes it work now. However, things started working after that.
  • Hoping this might help someone else out who might be stuck experiencing the same issues.
  • Hoping this was just a glitch on my system.
  • All the best.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>