Appcan Mobile Platform Development FAQs

Source: Internet
Author: User

When using the Appcan mobile platform to develop cross-platform apps, there are some problems developers will encounter, not urgent, with the author to talk about the use of Appcan platform development of common problems in the solution.

Q 1, normal is according to the official website to provide 4 iphone launch map size to do the PNG, but found out the package will be very large, how to solve?

A: The reason is that the custom boot map size is too large; In addition to the official default packaging if you do not upload the boot map by size, the packaging server will stretch the custom boot diagram according to the set size criteria, which may affect the size of the package.

(1) Packaging size optimization recommendations: The standard picture to maintain at around 100kb more than 100KB of their own PS compressed pixels;

(2) The original image must be a PNG format, remember to export from the PS tool is PNG, you can not directly modify the image suffix

(3) must communicate well with the design, start the diagram do not design too many cool effects add cumbersome elements.

(4) must be in accordance with the official set of resolution size upload, that is: 640x960 is to upload the corresponding size

Q 2, online packaging WebApp (Android) load page progress bar How to configure

A: The official WebApp mode is to enter an HTTP address URL, open the page default loading progress bar, this is a config parameter tag true in the metabase file, change to False there is no progress bar.

Q 3, the iOS package generated before and after the IPA package how to become larger than before

A: In order to match Apple support amr64 bit, official engine update, plug-in upgrade support 64-bit, the new plugin in the new engine packaging, is a big phenomenon, normal, because the plug-in to Apple support am64 bit, cause the plug-in in the IPA package size, causing the whole package to become larger

Q 4, online custom plug-in upload error, such as more typical report structure directory errors

For:

(1) You need to check if the custom plugin you are using is in accordance with the official plug-in mechanism, see document: Android Native plug-in extension mechanism and iOS native plugin extension mechanism;

(2) Please check whether the uploaded plug-in is really a problem, refer to the following, the standard plug-in ZIP package directory structure is 3 layers, to ensure that the structure must be, and the 2nd layer of the folder name must be the 3rd layer of the Info.xml file uexname= "Uexweixin" value consistent

(3) The name of the English plugin to be filled in when uploading the plugin needs to be consistent with Info.xml name name

(4) There is also a situation error, generally appear in the Info.xml file, such as the label does not correspond, missing "/", write wrong and so on.

Q 5, online custom plug-in upload report compressed package file corruption

A: This is related to the original format of your plugin is manually modified, recommended re-decompression, compression of the format you want to upload, RAR is compressed rar,zip compressed ZIP format, do not feel free to manually modify the suffix format.

Q. 6, online Android packaging can not cover the installation

Answer: This is related to the version code value of Android, first decompile your app's apk package, check the <manifest android:versioncode= "139" in Androidmanifest.xml If that value is less than the version code value of the APK package to overwrite, if it is small, you need to officially send the app ID and the version code value of the APK package you want to overwrite to the official, change the version code value a bit more, and then repackage it to overwrite the installation.

Q 7, using the official incremental Update feature, why click Push Upgrade, the app installs to the device without prompting?

For:

(1) Need to restart the application to be prompted to update

(2) Please check whether the incremental Update button is checked when packing, otherwise the installed app does not support the incremental update feature and will not receive the prompt.

(3) Config file configuration problem, <widget appid= "sdk10059" channelcode= "height=" 480 "pid=" "sreensize=" 4.5 "version=" 00.00.0000 "This version value is always greater than the generated version number, application version please find out the version details of the online app, and the version number that is filled in when uploading the delta package ensures that the version number is consistent with the version=" "value in the. config file

Q 8, using the official incremental update function, why upload an error in the Delta package, such as the Config. File does not exist?

For:

(1) Config + + needs to ensure that it is under the first layer of the ZIP directory structure, that is, the CONFIG. File and other files or folders in the same level directory

(2) Configuration of config. <widget appid= "Here is the appId you have created on your online project", or refer to the next question

Q. 9, online packaging generated applications Open homepage Why does the prompt page not exist or network exception

A: Check that the local code has SVN synced to the line, and see if Config. xml exists, and then configure the start page (html/htm format when supported) to exist and the path is correct.

Q 10, the generated package QR code can not be downloaded

A: For the reason of the mechanism, Android temporarily does not support QR code scanning, please use other application scanning functions, such as mobile phone 360, UC Browser.

Q 11, WebApp packaging installation Prompt page error

A: The official website WebApp mode does not support encryption, please ensure that during the operation, look at the configuration config, remove the encryption configuration.

Q. 12, iOS certificate packaging failed

A: If there is a package failure log, download to see if it is a certificate problem, followed by troubleshooting plug-in issues

General resolution version First carefully check the certificate management interface, certificate upload failure re-upload, inspection certificate, save, RePack. For more information, refer to:

http://bbs.appcan.cn/forum.php?mod=viewthread&tid=44701

Q 13, Online WebApp application to fill out the URL to pay attention to what?

For:

(1) Support HTTP or HTTPS, it is recommended to fill in the protocol

(2) Support sub-domain level Unlimited

(3) Recommended WebApp URL Input homepage/start Page

Q 14, Appcan packaging program opened a server on a page, and then a page can call the Appcan framework API?

A: Yes, the corresponding page to introduce the JS call plug-in interface is good

Q. 15, start Page after start black screen

A: A non-encrypted package, download the installation package, see Config in the configuration of the start page is exactly what, as long as the package in the config configuration is not a problem, it will not black screen, or re-create a project, the same code uploaded to the new project package comparison analysis.

These are some of the common online packaging problems, if you have other questions, you can post questions in the Appcan community, technical staff and moderators will actively answer.

Appcan Mobile Platform Development FAQs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.