note Android APK 反编译
- folder Levan update
- label Android Note
note 正则表达式笔记
- folder Levan update
- label RegExp
note Linux笔记
- folder Levan update
- folder Linux
- label Linux笔记
常用命令
新建
1 | # 在当前目录下新建 test 文件夹 |
查找
简单查找
1 | $ls -l |
正则表达式搜索文件
1 | $egrep -i -a1 'loadWithdrawalacc[a-zA-Z -]+0324' 2goportal.log |
1 |
|
复制
1 | Linux命令,复制文件夹 |
复制 A Linux 到 B Linux
1 | linux 复制命令:scp -r user@remotehost:/home/backups /home/slynux |
压缩
ZIP
1 | zip all.zip *.jpg #将所有.jpg的文件压缩成一个zip包 |
编辑
1 | vi /test.txt |
note Cypress 使用记录
- folder Levan update
- label App Test
Cypress 是自动化测试工具。
https://docs.cypress.io/guides/getting-started/testing-your-app.html
开发工具
VS Code:https://code.visualstudio.com/download
note [BUG] Cordova build
- folder Levan update
- folder Cordova
- label Cordova Bug
问题如下
1 | D:\Levana2\MyApp>cordova build |
原因
由于内存不够导致
解决方案
Your system can not provide enough continuous memory space for the jvm and causes the problem.
Here is what works for me:
Add an environment variable GRADLE_OPTS with the value of -Dorg.gradle.jvmargs=-Xmx512m
You can use -Xmx1g if you have more memory space available.
link:https://stackoverflow.com/questions/30384375/vm-error-while-build-cordova-phonegap