丙午🐎年

acc8226 的博客

安装 Plugman

npm install -g plugman

你必须在你的 PATH 上有 git,才能直接从远程 git url 安装插件。

添加 Plugin

1
plugman install --platform <ios|android> --project <directory> --plugin <name|url|path> [--plugins_dir <directory>] [--www <directory>] [--variable <name>=<value> [--variable <name>=<value> ...]]
阅读全文 »

工具类

Apktool

A tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications. It also makes working with an app easier because of the project like file structure and automation of some repetitive tasks like building apk, etc.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
usage: apktool
-advance,--advanced prints advance information.
-version,--version prints the version then exits
usage: apktool if|install-framework [options] <framework.apk>
-p,--frame-path <dir> Stores framework files into <dir>.
-t,--tag <tag> Tag frameworks using <tag>.
usage: apktool d[ecode] [options] <file_apk>
-f,--force Force delete destination directory.
-o,--output <dir> The name of folder that gets written. D
-p,--frame-path <dir> Uses framework files located in <dir>.
-r,--no-res Do not decode resources.
-s,--no-src Do not decode sources.
-t,--frame-tag <tag> Uses framework files tagged by <tag>.
usage: apktool b[uild] [options] <app_path>
-f,--force-all Skip changes detection and build all fi
-o,--output <dir> The name of apk that gets written. Defa
-p,--frame-path <dir> Uses framework files located in <dir>.
阅读全文 »

下载地址一
https://downloads.apache.org/maven/mvnd/

下载地址二
Releases · apache/maven-mvnd
https://github.com/apache/maven-mvnd/releases

maven-mvnd 是 Apache Maven 团队借鉴了 Gradle 和 Takari 后衍生出的更快的构建工具。mvnd 内嵌了 Maven,也正是因为这个原因我们可以无缝地将 Maven 切换为 mvnd(也不需要单独安装 Maven)。

在设计上,在 mvnd 中会生成一个或多个的守护进程来服务构建请求以此来达到并行构建的效果。另外在 VM 的选择上,mvnd 使用了 GraalVM 来代替传统的 JVM,与之相比 GraalVM 启动速度更快,占用的内存更少。

根据文档描述,与传统的 Maven 相比 mvnd 具有以下优势:

运行构建的 JVM 不需要为每个构建重新启动。

Maven 插件类的类加载器缓存在多个构建中,插件 jars 只会被读取和解析一次。
JVM 中 JIT 生成的本机代码会被保留。与 Maven 相比,JIT 编译花费的时间更少。在重复构建期间,JIT 优化的代码立即可用。这不仅适用于来自 Maven 插件和 Maven 内核的代码,也适用于来自 JDK 本身的所有代码。
默认情况下,mvnd 使用多个 CPU 内核并行构建模块。使用的内核数由公式 Math.max(Runtime.getRuntime().availableProcessors() - 1, 1) 给出。 如果您的源代码树不支持并行构建,请在命令行上传递 -T1 以使您的构建串行。

阅读全文 »

安卓自带 avd

使用还是非常简单,很快能上手。至于安装软件,使用 adb 命令就行。

android avd模拟器怎么重启
android avd模拟器重启的话,可以关闭模拟器窗口,重新点击运行就可以了

Genymotion 下载和使用

Downloads Archive - Genymotion – Android Emulator for app testing
https://www.genymotion.com/download/

下载后安装的过程中必须要求登录账号,所以在线注册一个即可。如果网址打不开,可尝试换个网络再试试。

阅读全文 »
0%