[AC-1284] AppLeak has stpped once i launch Hello World on my device
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-07-18T18:09:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Mosaid Elnejar |
Assignee | Mauro Parra-Miranda |
Created | 2014-06-11T22:40:58.000+0000 |
Updated | 2016-03-08T07:37:40.000+0000 |
Description
Hello,
I tried to execute 'Hello World' on my phone LG L5II, the APK is succesfully installed but when i click on it i have the following message: "AppLeak has stopped"! Please any suggestions?
Here with the log file from Titanium Studio!
Attachments
Something wrong with your tiapp.xml.
{quote} The fully qualified name of an Application subclass implemented for the application. When the application process is started, this class is instantiated before any of the application's components. The subclass is optional; most applications won't need one. In the absence of a subclass, Android uses an instance of the base Application class. {quote} For you case,you can simply delete the android:name="AppleakApplication" from tiapp.xml file. then the app should work fine.
Thanks for the reply! Actually i did remove AppLeak from tiapp.xml, now when i run the HelloWrld app on my emulator i have the error described in the screen shot here with!
Would you please try to delete all the titanium android emulator configuration by right click, and clean the project (Menu -> Project -> Clean). Then, try to run the app again. Does the phone LG work well now, only something wrong with emulator?
Here what i have when i launch 'Kitchen Sink' for example on my emulator: [ERROR] : Failed to install apk on "emulator-5554" [ERROR] : Error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [ERROR] Application Installer abnormal process termination. Process exit value was 1
Does it mean your phone LG work well now? You may choose trace or debug mode from console menu, then run app again to gather more information about error. The option is down right of your studio. (attached its position).
Hello [~mosaid], the Error: INSTALL_FAILED_MISSING_SHARED_LIBRARY it's because Kitchen Sink uses the maps and your emulator is not the one including the google services apk. You need to create a new emulator, with google services enabled. Or test in a device, that will save a lot of time.
Hello, BTW the error in your launch is your tiapp.xml. Is there any reason why you created a custom tiapp.xml? If you create a simple app from scratch and run that, should work. More information about creating a custom Android Manifest, here: http://docs.appcelerator.com/titanium/3.0/#!/guide/Maintaining_a_Custom_AndroidManifest.xml
Customer hasn't replied to our communications.