Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1284] AppLeak has stpped once i launch Hello World on my device

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-07-18T18:09:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMosaid Elnejar
AssigneeMauro Parra-Miranda
Created2014-06-11T22:40:58.000+0000
Updated2016-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

FileDateSize
AppLeak2014-06-11T22:40:58.000+0000437
emulatorConfigError.png2014-06-16T20:21:43.000+0000219997
Screen Shot 2014-06-26 at 17.17.28.png2014-06-26T09:20:15.000+000059737
tiapp.xml2014-06-11T22:40:58.000+00003294

Comments

  1. Shuo Liang 2014-06-16

    Something wrong with your tiapp.xml.
       <android>
           <manifest>
                ...
                <application ... android:name="AppleakApplication"  ... />
           </manifest>
       </android>
       
    {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.
  2. Mosaid Elnejar 2014-06-16

    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!
  3. Shuo Liang 2014-06-17

    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?
  4. Mosaid Elnejar 2014-06-19

    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
  5. Shuo Liang 2014-06-26

    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).
  6. Mauro Parra-Miranda 2014-06-29

    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.
  7. Mauro Parra-Miranda 2014-06-29

    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
  8. Mauro Parra-Miranda 2014-07-18

    Customer hasn't replied to our communications.

JSON Source