apk

vue2+cordova创建app

蹲街弑〆低调 提交于 2020-02-14 05:42:20
1.前提条件: 安装node cordova vue 2.关于Cordova相关的 使用Cordova创建一个项目 cordova create MyApp 添加平台支持 cd MyApp cordova add platform android -save cordova add platform ios -save cordova platform add browser -save 检查你当前平台设置状况: cordova platform ls 检测你是否满足构建平台的要求 cordova requirements 3.关于vue相关的 在当前目录创建一个新的文件夹 安装vue-cli npm install -g vue-cli 创建vue项目 vue init webpack 安装完成后目录结构为: 4.合并vue跟cordova 修改vue项目中bulid中的配置为如下图 因为打包后的index.html在www目录下的index文件夹 所以要修改cordova的config.xml里面文件的配置 5.打包运行 在vue项目下运行 npm run build 打包后的文件在Cordova的www目录下 打包后的www目录为: 打开www/index/index.html就可以看到打包后的效果了 6.安装cordova插件 cordova plugin add xxx

monkey测试跑多个apk|monkey命令

喜你入骨 提交于 2020-02-13 23:28:53
1.如何跑多个apk的monkey? 黑名单:执行除了黑名单中以外的apk; 白名单:只执行在白名单中的apk。 黑名单的设置方法: a.创建一个名称为blacklist的txt文档,在文件中输入应用程序的包名,如mms应用,则在文件中输入com.android.mms; 如果有多个应用程序不想被执行,则在文件中添加多个包名,注意包名与包名之间均用回车键。 b.将blacklist.txt的文件导入到手机的/data目录下,然后在执行monkey测试的时候使用--pkg-blacklist-file参数再加上blacklist文件的存储路径,其他的参数设置则和测试单一apk没有区别。 例子: monkey --pkg-blacklist-file /data/blacklist.txt -c <options> -s <seed> <限制语句> --throttle <milliseconds> -v 执行次数> d:\blacklist_test.txt //执行黑名单以外的应用( 注意pkg前面两个‘-’ ) 白名单的设置方法: 白名单的设置方法和黑名单的设置方法基本一致,只是在创建txt文档的时候,文件的命令应为whitelist。在执行monkey的时候,只执行白名单中的应用。 例子: monkey --pkg-whitelist-file /data/whitelist

Android Monkey压测命令

狂风中的少年 提交于 2020-02-13 17:16:39
测试步骤: 1.安装ADB 2.连接被测手机和电脑 3.打开CMD命令行 4.输入monkey命令 adb shell monkey -p your.package.name --pct-touch 30 --ignore-crashes --ignore-timeouts--throttle 250 -s 2 -v -v -v 5000000 一.monkey测试命令有哪些选项? 1:常用选项 --help:打印帮助信息 -v:指定打印信息的详细级别,一个 -v增加一个级别 , 默认级别为 0 。-v -v -v 为最详细日志。 2:事件选项 -s:指定产生随机事件种子值,相同的种子值产生相同的事件序列。如: -s 200 --throttle:每个事件结束后的间隔时间——降低系统的压力(如不指定,系统会尽快的发送事件序列)。如:--throttle 100 --pct-touch:指定触摸事件的百分比,如:--pct-touch 5% , 相关的还有以下option: --pct-motion <percent> (滑动事件) --pct-trackball <percent> (轨迹球事件) --pct-nav <percent> (导航事件 up/down/left/right) --pct-majornav <percent> (主要导航事件 back key 、

Android文件Apk下载变ZIP压缩包

霸气de小男生 提交于 2020-02-13 15:51:42
在azure云存储中 上传apk文件 使用ie下载 变成zip压缩包 解决方法 编辑 blob 属性和元数据 修改 内容类型 为 application/vnd.android.package-archive 保存 后 即生效 重新下载 变成apk后缀文件 apk文件使用ie 下载后 变为zip后缀 压缩包 如果你的下载服务器为Nginx服务器,那么,在Nginx安装目录下的conf/mime.types文件的对应位置,加上以下一行语句,指定APK文件的MIME类型为 application/vnd.android.package-archive application/vnd.android.package-archive apk; 来源: https://www.cnblogs.com/z_lb/p/4585219.html

在docker容器中安装软件,并重新生成镜像

痴心易碎 提交于 2020-02-12 00:46:27
1、首先应该进入已经运行的容器: docker exec -it [容器名或容器ID] /bin/bash 2、在容器里查看镜像所使用的的Linux版本 cat /etc/issue 我这边下载的一个容器里面运行的是 Welcome to Alpine Linux 3.10 的版本, Alpine 软件管理器使用的是apk Centos 软件管理器使用的是yum ubuntu 软件管理器使用的是apt-get 3、更新apk管理仓库 apk update 4、安装软件 apk add 工具名称 如: apk add ipmitool 5、提交已修改或者安装过软件的容器,生成新的镜像 docker commit <container_id> <image_name> container_id :修改容器的ID image_name : 镜像名称可以自己定义注:之后就可以对生成的镜像进行打包,移植到其他宿主机上运行(特别是离线环境下)。 来源: https://www.cnblogs.com/fanlong0212/p/12297496.html

基于中间人攻击给电视盒子安装apk

无人久伴 提交于 2020-02-11 23:50:24
前言 不能使用电视盒子的adb等,只好通过在电视盒子下载apk时动脑筋。原打算arpspoof+wireshark分析电视盒子下载apk的uri,然后想办法在途中替换掉apk文件,后来发现可以直接用ettercap进行arp毒害和替换所有apk。 过程 9.8 Arpspoof工具 arpspoof是dsniff的一部分,该工具用于ARP毒害,未能满足需求 第八章 中间人攻击 主要讲了ettercap的使用,可惜我最想要的功能没有讲 【新手指南】如何用Ettercap实现“中间人攻击”(二):HTTP数据劫持 符合需求 后续 好像有更先进的工具了。。。 完整,模块化,轻量级,易扩展的MITM框架 – bettercap Xerosploit:对靶机来一招偷梁换柱 来源: CSDN 作者: Tifa_Best 链接: https://blog.csdn.net/Tifa_Best/article/details/104270044

Android Apk的反编译和加密

我们两清 提交于 2020-02-10 08:52:24
  这几天在上海出差,忙里偷闲学习了一下Apk的反编译工具的基本使用。下面就简单介绍一下如何将我们从网上下载的Apk文件进行反编译得到我们想要获得的资源文件和源码。 一、Apk文件组成   Android的应用程序APK文件说到底也是一个压缩文件,那么可以通过解压缩得打里面的文件内容,不过很显然,当你去解压完去查看的时候,发现里面的很多东西和你想象中的不太一样。资源文件等xml文件基本打不开,即使打开了也都是乱码(而这正是Android进行加密过),有些应用会将图片资源等的也加密(如qq音乐)。 而既然直接解压无法看到正常的应用程序,那么就需要借助反编译软件来实现APK的反编译。 二、反编译必备工具及使用   Android工程文件主要有资源文件和源代码组成。而为了查看资源文件需要借助一个工具,本文使用的是apktool工具进行反编译,经过编译后能够正确查看XML文件和其他的非XML的资源文件,这对于汉化而言有着巨大的意义。而为了查看源码,则需要借助于dex2jar和jd-gui这两个工具,其中dex2jar工具负责将dex文件转化为jar文件,而jd-gui则用于查看jar文件。 1)apktool 一次失败的经历-----使用apktool时报错 原因:apktool的版本过低,无法解析当前版本的apk。 修正: 更新最新的apktool版本后正常

What is the difference between 3 APKs generated from flutter?

ε祈祈猫儿з 提交于 2020-02-07 02:36:21
问题 I need to understand the Android device architecture and, Why there is three different types of APKs are generated when I use: flutter build apk --split-per-abi . And when I use flutter build apk I get a large APK file called fat APK contains the 3 versions of the app. 回答1: flutter build apk gives you large apk because, flutter build apk results in a fat APK that contains your code compiled for all the target ABIs. Such APKs are larger in size than their split counterparts, causing the user

Installation process of .apk within ART. Difference from Dalvik VM installation process

橙三吉。 提交于 2020-02-06 05:51:14
问题 Recently I answered this question, where was described whole installation process of .apk file to android phone. The one thing it was about using Dalvik VM . And now I'm wondered is installation process is exactly same using ART ? What are the differences? I mean the work of PackageManager , path , convertion to dex format etc. Googling didn't give much info, only about performance power, managing memory and something similar. I would be very thankful if someone with knowledge could share

Installation process of .apk within ART. Difference from Dalvik VM installation process

不羁岁月 提交于 2020-02-06 05:51:07
问题 Recently I answered this question, where was described whole installation process of .apk file to android phone. The one thing it was about using Dalvik VM . And now I'm wondered is installation process is exactly same using ART ? What are the differences? I mean the work of PackageManager , path , convertion to dex format etc. Googling didn't give much info, only about performance power, managing memory and something similar. I would be very thankful if someone with knowledge could share