Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14585] Android: Build fails since 3.1.1 GA update

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-07-18T16:47:28.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sn/a
ComponentsCLI
Labelsn/a
ReporterFred App
AssigneeChris Barber
Created2013-07-17T10:01:17.000+0000
Updated2017-03-27T20:40:33.000+0000

Description

Attachments

FileDateSize
Diagnostic.rtf2013-07-17T19:06:49.000+000015683
Log_file.rtf2013-07-17T19:06:49.000+00001647

Comments

  1. Daniel Sefton 2013-07-17

    Hi Fred, Please can you attach your Studio log file and diagnostic (both found at Studio -> Help). It will also help to check your Python version. Run this in Terminal:
    python --version
  2. Fred App 2013-07-17

    Hi Daniel, Thank you very much for your help! I made ​​a mistake, i've clear the log file :( I you attach the files (diagnostic and log) on my ticket. For Python my version is :Python 2.7.1 Thank you again.
  3. Fred App 2013-07-18

  4. Chris Barber 2013-07-18

    @Fred, are you still getting the error message described in this ticket? If you can build, I imagine you no longer get the error.
  5. Fred App 2013-07-18

    @Chris , Yes it's the base of the problem. I do a test because I don't advance (If this can help). The problem is always the same! I'm not sur that in modified the file "builder.py" is the good solution. Anyway it doesn't work also. What to do ? Thanks
  6. Chris Barber 2013-07-18

    I think you have a corrupt Titanium SDK. Try re-installing it:
       titanium sdk install --force --default
       
  7. Fred App 2013-07-18

    Woooooooh ! Thank you very much Chris ! it's good. I'm saved. Thank you
  8. Fred App 2013-07-18

    Now, I have a new error. If i create a new project all is OK, the app is installed and launched without problems. But if I build a old project (before, without problems with titanium SDK 3.0.2) now i have a erreur (I have clean the project): -------------------- [INFO] Titanium SDK version: 3.1.1 (06/15/13 16:09 f7592c1) [INFO] Copying CommonJS modules... [INFO] Copying project resources.. [INFO] Detected change in tiapp.xml, or assets deleted. Forcing full re-build... [INFO] Compiling Javascript Resources ... [INFO] Copying platform-specific files ... [INFO] Compiling localization files [INFO] Detected custom ApplicationManifest.xml -- no Titanium version migration supported [INFO] Compiling Android Resources... This could take some time [ERROR] unable to sign jar: java.util.zip.ZipException: duplicate entry: lib/armeabi/libstlport_shared.so [ERROR] : Build process exited with code 1 [ERROR] : Project failed to build after 15s 740ms -------------------- Someone have a idéa for this bugg ? Thank you again.
  9. Chris Barber 2013-07-18

    The issue was a bad Titanium SDK install.
  10. Chris Barber 2013-07-18

    @Fred, this issue is resolved. Please add yourself to the watch list for TIMOB-13696 for updates to that issue.
  11. Fred App 2013-07-19

  12. Chris Barber 2013-07-19

    @Fred, Python is a whitespace sensitive language. You may have incorrectly tabbed these lines of code from the TIMOB-13696 comments. Double check your work quick and make sure the whitespace is correct.
  13. Fred App 2013-07-19

    @Chris : Thank you , I double cheack the lines, re-written and it's OK. No errors ;) But now my app is installed on my device(no errors in log console), she is launching but she frozen on the splash screen. So, in "tiapp.xml" i passed the tag "true" on "false"; I rebuild my project , no errors again my app is installed and launched, the splash screen is started, disappears, and my app is closed with a message "nameApp is stopped" You have a idea ? ( is i create a simple new project , no problems ) Thank you again.
  14. Chris Barber 2013-07-19

    @Fred, no idea. Create a new ticket for your problem and perhaps someone that has seen this behavior will know how to fix it.

JSON Source