Ng2

 

When developing sencha touch, you need to continuously test in the browser. After the test is completed, it will be converted into an APK and installed on the mobile phone.

Select browser: chrome

In order to meet the cross-domain requirements, matters needing attention (take Mac as an example):

   Versions prior to chrome 49: open -a "Google Chrome" --args --disable-web-security

   Versions after chrome 49 (including 49): open -a "Google Chrome" --args --disable-web-security --user-data-dir=the root directory address where the program is located

Versions before 49 only require the given parameter: --disable-web-security

Versions after 49 must also give an additional parameter --user-data-dir to identify file directories that support cross-domain

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327081389&siteId=291194637
Ng2
242
062
062