Build an App Offline
Applies to Kony Visualizer Classic.
In a typical build, Kony Visualizer checks to ensure that the following three conditions are met:
- That you are logged in to Kony Fabric.
- That a valid environment is associated with the cloud account.
- For SPA, that a Kony Fabric application has been associated with the project.
These constitute an online build. However, it is possible to bypass these three conditions so that Kony Visualizer performs an offline build.
To perform an offline build, do the following:
- If you are logged in to your Kony account, log out. To do so, near the right edge of the status bar, click the account name, and then click Logout.
- On the Product menu, click Build.
- In the Build Generation dialog box, select the channels and platforms for which you want to build your app. For example, you may want to build a native type of app for Mobile (phone) devices and Tablet devices for the iOS and Android platforms. For more information about native and SPA apps, see Types of Applications.
- Select the build mode, either debug or release.
- Debug mode. To help you identify and fix errors, Kony Visualizer emits the complete symbolic debug information . To lessen the amount of time necessary to complete the build, the build is not optimized for code execution, so it may tend to execute slower than a build optimized for release. Also, the inclusion of the symbolic debug information causes the final executable to be larger than a release build.
- Release mode.Kony Visualizer optimizes the build for execution, requiring more time to generate the build. It also does not emit the complete symbolic debug information, making the final executable smaller than a debug build.
- Click Build.
- A Warning dialog box appears indicating that the three conditions necessary for the build to be online have not been met. It's in this dialog box that you indicate that you want to build offline.
In this dialog box, select among the following options:
- If you want Kony Visualizer to remember your selection for the rest of the current session (i.e. until you close Kony Visualizer), check the Remember for current session checkbox. This sets a property located in the Preferences dialog box. If you want to reset your decision for this session so that this Warning dialog box returns when you attempt to build without being logged in, on the Window menu, click Preferences. In the left pane of the Preferences dialog box, expand Kony Visualizer, click Build, and clear the check mark from the Continue build even of no valid Kony Fabric configuration is found checkbox. Click Apply, and then click OK.
- To perform an offline build, click Continue.
- To log in to Kony Fabric for a conventional, connected build, click OK.
- To cancel the build process all together, click the X in the upper right corner of the dialog box.
Rev |
Author |
Edits |
7.0 |
NMK |
NMK |
|
© 2013 Kony, Inc. All rights reserved. |