Question 1 : vs2015, set Debug Android device [real machine debugging]
Exception in thread "main"java.lang.RuntimeException: java.util.zip.ZipException: error in opening zipfile
Refer to this document, http://www.ithao123.cn/content-10878480.html
1. Download the required version on your mobile phone,
2. Open the file gradle-wrapper.properties, for example, the location of the file in my grails project is: project root directory\gradle\wrapper\gradle-wrapper.properties
3. Comment out the original distributionUrl with the # sign, and then write another line, and change its value to the path where the gradle package we downloaded is located.
#distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
distributionUrl=./gradle-2.9-bin.zip
Question 2:
If you failed to install some packages using npm, look here (npm domestic mirror introduction)
Answer 2:
How to use the mirror (any of the three methods can solve the problem, it is recommended to use the third one, write the configuration to death, and the configuration will still be used next time):
1. Through the config command
1 2 |
npm config set registry http://registry.cnpmjs.org npm info underscore (if the above configuration is correct this command will have the string response) |
2. Command line specification
1 |
npm --registry http://registry.cnpmjs.org info underscore |
3. Edit ~/.npmrc and add the following
1 |
registry = http://registry.cnpmjs.org |
Question 3:
npm WARN deprecated [email protected]:
npm update minimatch
npm -v minimatch
npm install -g npm @ 3