The Pit of Cordova+ionic

Source: Internet
Author: User






Command: Ionic platform add Android



Error: Unable to start the daemon process ...



Solve:



1) Add the environment variable [_JAVA_OPTIONS], the value: "-Xmx512m" (512m is the allocated memory space, it can also be 1024m, 2048m, etc.) (*self-testing)



2) Online said in the "C:\Users\[USERNAME]\.gradle" directory (new or) edit the "gradle.properties" file, add (or modify) the content: org.gradle.jvmargs=-Xmx512m (you do not have Measured)












Questions about Ionic opening external links



After upgrading to Cordova 5.0, the Android behaves as a link cannot be opened



Cordova 5.0 need to manually add whitelist plug-ins to control access to external links



Cordova Plugin Add Cordova-plugin-whitelist



You can set the whitelist.



(* For white list settings, refer to Https://www.npmjs.com/package/cordova-plugin-whitelist)












"Other References"



Phonegap+cordova+ionic Hybrid app development environment building



Get started with Ionic+angular+phonegap development app






The Pit of Cordova+ionic


Related Article

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.