[TIMOB-15989] Unable to build to either android devices or the emulator: zipfile.BadZipfile: File is not a zip file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-01-06T22:06:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.2.0 |
Components | Android |
Labels | appcelerator_smoke, qe-manualtest, supportTeam |
Reporter | Eduardo Gomez |
Assignee | Allen Yeung |
Created | 2013-12-13T19:11:19.000+0000 |
Updated | 2014-08-07T18:55:28.000+0000 |
The error came from running the python script in 3.1.3 SDK, so moving to TIMOB to investigate.
Android tools upgraded to rev. 19, error started occurring.
[~egomez], I can't reproduce this issue. Can you please try with the latest 3.2.0 Studio/CLI/SDK and let me know if that works for you?
[~ayeung], this error was reproduced on customer's environment, I've asked them to have a try. Is this fixed in the latest 3.2.0?
Most likely... 3.2.0 uses different build scripts all together. Please let me know if they run into other issues.
This would be the output in 3.2.0: {quote} [WARN] : --avd-* options have been deprecated, please use --device-id Available Emulators: titanium_2_WVGA854 (2.3.3) titanium_8_WVGA854 (4.3) [ERROR] : Missing required option: --device-id
You need the latest everything for it to work. 3.2.0 Studio 3.2.0 CLI 3.2.0 SDK
Could you use the latest CLI (3.2.0-cr3) and SDK from http://builds.appcelerator.com.s3.amazonaws.com/index.html?mobile_branch=master#3_2_X ?
After updating to 3.2.0-cr3, I get the same module error as above: {quote} [ERROR] : The module "mcdonalds.module.android.screen" does not support the ABI: "x86" [ERROR] : It only supports the following ABIs: armeabi, armeabi-v7a [ERROR] Application Installer abnormal process termination. Process exit value was 1 {quote}
Did you upgrade the SDK as well? It should be fixed in the latest SDK.
Ah you're right, I was one behind. After getting SDK 3.2.0.v20131218160416, I was able to build and launch the app.
[~egomez] Let us know if this issue persists for the customer after upgrading to 3.2.0 GA release.
Thanks [~ngupta], 3.2.0 GA seems to have fixed the error building to android.
Verified fix with environment: Appcelerator Studio, build: 3.2.1.201401201818 SDK build: 3.2.1.v20140117222448 and 3.2.0 GA acs@1.0.11 alloy@1.3.1-beta2 npm@1.3.2 titanium@3.2.1 titanium-code-processor@1.1.0 Mac9(Maverick) Devices: Nexus 7(4.3) and emulator Hence closing the issue.