[TIMOB-14585] Android: Build fails since 3.1.1 GA update
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-07-18T16:47:28.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | n/a |
Components | CLI |
Labels | n/a |
Reporter | Fred App |
Assignee | Chris Barber |
Created | 2013-07-17T10:01:17.000+0000 |
Updated | 2017-03-27T20:40:33.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
Diagnostic.rtf | 2013-07-17T19:06:49.000+0000 | 15683 |
Log_file.rtf | 2013-07-17T19:06:49.000+0000 | 1647 |
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:
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.
@Fred, are you still getting the error message described in this ticket? If you can build, I imagine you no longer get the error.
@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
I think you have a corrupt Titanium SDK. Try re-installing it:
Woooooooh ! Thank you very much Chris ! it's good. I'm saved. Thank you
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.
The issue was a bad Titanium SDK install.
@Fred, this issue is resolved. Please add yourself to the watch list for TIMOB-13696 for updates to that issue.
@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.
@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
@Fred, no idea. Create a new ticket for your problem and perhaps someone that has seen this behavior will know how to fix it.