App Failure Causes?

3 posts, 0 answers
  1. Rick
    Rick avatar
    2 posts
    Member since:
    May 2013

    Posted 15 May 2013 Link to this post

    I am new to Icenium and am porting over an app that we used on PhoneGap.  I was able to get the app to run on the emulator in Graphite.  I created an apk file and copied it my Android phone and the app apparently installs correctly.  However, when I start it it appears to successfully start-up and display the main page - and then after a few seconds it just closes down.  

    How would I go about troubleshooting this?

    Thanks

    Rick
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 16 May 2013 Link to this post

    Hello Rick,

    If an imported project does not run for some reason, we would suggest you to run your app in the simulator and fire up the debug tools (see Debugging with Graphite). Debug on device is currently possible only on iOS and it's an experimental feature. You can open the Devices Tab in Graphite and if there is iOS device connected, you would be able to expand the device and fire up the debugger.

    Generally since you're migrating from PhoneGap Build, you need to make sure that all src="" references are correct e.g. the reference to Cordova should only be:

    <script src="cordova.js" type="text/javascript"></script>  //notice there is no version applied

    The cordova.js file is added automatically with the project creation and its version is as specified in the project properties, latest Cordova version we support is Cordova 2.4.

    Also if you're using Cordova plug-ins, you should make sure we support them, you can see the list of currently supported plug-ins here. If you use a supported plug-in, go to project properties and tick the checkbox, so that the cloud service would include the file and you would be able to see it in the project tree. Then you can add a reference with correct path to it.

    Other additional files like Cordova config.xml, Info.plist and AndroidManifest.xml are not exposed in Icenium and should be removed from your project files.

    All the best,
    Steve
    the Telerik team

    Don't miss the Icenium May Release Keynote - sign up now!
    Share feedback and vote for features on our Feedback Portal.
  3. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Jul 2013 Link to this post

    Hi Rick,

    You'll be glad to know that in Icenium 1.6 we've added the ability to make configuration changes to your app by modifying the respective Info.plist and config.xml for iOS and AndroidManifest.xml and config.xml for Android directly in the Icenium code editor. For more information, see Edit Configuration Files.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
Back to Top