[TIMOB-18044] Android: tiapp.xml of generated project has two modules tag
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-12-05T22:28:49.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 4.0.0 |
| Components | Android, Tooling |
| Labels | TCSupportTriage, qe-4.0.0 |
| Reporter | Jong Eun Lee |
| Assignee | Praveen Innamuri |
| Created | 2014-08-10T00:17:30.000+0000 |
| Updated | 2015-03-04T20:56:08.000+0000 |
Description
Description
tiapp.xml of generated project by '3.3.0.GA/module/builder.py' hans two modules tag.Reproducing steps
1. create Android Module. 2. run 'ant run' (app install to your device) 3. you got a runtime error "Requested module not found" 4. go generated example project dir. (You can find a path from 'ant run' log. it is something like this : /private/var/folders/cd/slc2125j7xz_kt9292dkp2v80000gn/T/mHgoLa_ti/test/) 5. open tiapp.xml. you can see it has a two modules tag. (attached) I will make a Pull Request.Attachments
| File | Date | Size |
|---|---|---|
| tiapp.xml | 2014-08-10T00:17:30.000+0000 | 1612 |
PR : https://github.com/appcelerator/titanium_mobile/pull/5961
Hello, We have tested this issue. Default Android module, which is created by Appcelerator studio causes of app crash. But two modules tag doesn’t appear.
Testing Environment:
Titanium SDK: 3.3.0.GA, 3.2.3.GA Titanium CLI: 3.3.0, Android SDK: 4.2.2,4.4.2 OS X Version: 10.9.4, Appcelerator Studio: 3.3.0Steps to Reproduce the Issue:
1. Create an Android Module. 2. Create a project and use that module. 3. Paste the module example code in app.js file. 3. Run this code with the testing environment.App Log
Thanks.[ERROR] : dalvikvm: dlopen("/data/app-lib/com.bd.testingMo-1/libcom.bd.testmodule.so") failed: dlopen failed: library "/system/lib/libhoudini.so" not found [ERROR] : TiApplication: (KrollRuntimeThread) [63,63] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libhoudini.so" not found; Titanium 3.3.0,2014/07/11 12:36,787cd39 [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libhoudini.so" not found [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:364) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:526) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)I am able to reproduce this issue: SDK 3.4.0 1. ti create (create a module project) 2. cd into module/android 3. ant run Find generated project folder. Notice:
Verified fixed, using: Titanium SDK 4.0.0.v20150303161012 Studio 4.0.0.201502171827 CLI 3.4.2-rc4