This is a migrated thread and some comments may be shown as answers.

App Failure Causes?

2 Answers 44 Views
Google Android
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rick
Top achievements
Rank 1
Rick asked on 15 May 2013, 09:01 PM
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 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 May 2013, 03:52 PM
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.
0
Steve
Telerik team
answered on 05 Jul 2013, 11:46 AM
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.
Tags
Google Android
Asked by
Rick
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or