前两篇已经讲过genymotion的安装了,但genymotion构建的安卓模拟器的界面比较简洁,什么软件都没.那么我们进行测试之前,先将需要测试的apk安装到模拟器中,一般来说,直接将apk文件从本地拖拽到模拟器就可以了.但是我们拖拽的时候,报错了: ps:拖拽其他文件,比如图片.文档.压缩包都可以成功,只有apk文件不行. 原因是:像地图或者浏览器什么的,里面会包含一些so动态库文件,这些都是在arm环境下运行的.而genymotion发布的版本没有带有Genymotion-ARM-Tran…
今天需要用到资源文件,需要将资源文件拖拽到sd卡中,但老是出现这个问题: 资源文件拖不进去genymotion.查看了sd的DownLoad目录,确实没有成功拖拽进去. 遇到这种问题的,我按下面的思路排查问题: Genymotion模拟器是基于VirtualBox的,看看是不是虚拟机禁用了拖放功能,结果拖放功能是允许的. 查看模拟器的存储空间是不是不够用了,结果我的内存还是足够的. 找了半天都没有找到原因,最后找到答案了: 原来是模拟器的Adb设置问题,以前我是使用Genymotion自定义的A…
安卓模拟器的报错: 可能的原因是target设置问题:…
启动安卓模拟器报错 emulator: ERROR: x86_64 emulation currently requires hardware acceleration!  CPU acceleration status:HAXM must be updated(version 1.1.1<6.0.1) 解决办法: 在android sdk 安装目录下找到 \Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager 双击int…
模拟器运行报错: 报错信息如下: Undefined symbols for architecture x86_64: "_x264_encoder_open_142", referenced from: H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o) H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o) "_x264_…
GENYMOTION问题之an error occurred while deploying a file install_failed_no_machine_abis 出现上面错误,看网上有一种解决方法是下载arm,我尝试了一下,安装后并没有什么用.而且这个问题只会出现在android5.0和6.0而在android4.0系统上面不会出现.最后经过各种尝试.在项目lib中添加一下x86文件名就可以解决了.下面是本人的截图.…
用Inter Atom模式的Android模拟器启动报一下错误: Starting emulator for AVD 'new' emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not ins…
项目中安卓强制更新,当文件下载完.在android 8.0中不能打开apk包. 引入插件报一下错误 import { FileOpener } from '@ionic-native/file-opener'; constructor(private fileOpener: FileOpener) { } ... this.fileOpener.open('path/to/file.pdf', 'application/pdf') .then(() => console.log('File is…
报错内容例如以下: make: *** 没有规则能够创建"out/target/common/obj/APPS/ AndroidWFS_intermediates/classes-full-debug.jar" 须要的目标"out/target/common/obj/JAVA_LIBRARIES/ core_intermediates/classes.jar". 停止. 解决方式: 将项目拷贝到packages/apps文件夹下 新建Android.mk文件 LOC…
用Inter Atom模式的Android模拟器启动报一下错误: Starting emulator for AVD 'new' emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not ins…