android模拟器重启,关于模拟器重启的Android“KeyPermanentlyInvalidatedException”(Android “KeyPermanentlyInvalidatedE...

关于模拟器重启的Android“KeyPermanentlyInvalidatedException”(Android “KeyPermanentlyInvalidatedException” on simulator restart)

没有添加或删除指纹,我知道无效的键,重新启动Android模拟器也是如此。 我无法找到任何相关信息。 设备重启时密钥是否无效? 那真的很不方便。

我不认为它是我的代码中的东西,在模拟器打开时一切正常。

有什么想法吗?

Without adding or removing fingerprints, which I know invalidates the key, restarting the android simulator does the same. I haven't been able to find any information on this. Are keys invalidated on device restart? That would be really inconvenient.

I don't think it is something in my code, everything works fine while the simulator is on.

Any thoughts?

原文:https://stackoverflow.com/questions/38268285

更新时间:2019-12-17 01:44

最满意答案

它只是模拟器。 我在一台设备上测试过,它工作正常。

It is just the emulator. I tested in a device and it works fine.

2016-07-12

相关问答

不,你只需要在模拟器中停止应用程序并再次运行它。 No, you just have to stop the app in the simulator and run it again.

免责声明:我只是一个iPhone开发者,而不是Android开发者。 您是正确的,仿真器和模拟器之间的区别在于仿真器模拟实际设备上发现的软件和硬件环境。 另一方面,模拟器只是模仿软件环境; 否则他们可以访问所有主机系统的硬件资源,如磁盘空间,内存和处理器速度。 苹果总是突显设备测试的重要性,因为iPhone模拟器不会模拟iPhone处理器,磁盘驱动器,内存限制和不足。 除非您模拟(再次)模拟器菜单项中的内存警告,否则您几乎不会收到内存警告,除非您的Mac正在努力管理资源。 实际上,如果您进入设置>

...

还有另一种方式可以从没有“重置内容和设置”的沙箱帐户中注销。 只需从主目录中的以下路径中删除文件: ~/Library/Application\ Support/iPhone\ Simulator/5.0/Library/com.apple.itunesstored

您可能还需要重新启动模拟器才能使更改生效。 这只是从Simulator中删除有关iTunes的存储信息。 因此,它不会删除模拟器中的任何应用程序。 它很酷:) There is another way to log out fro

...

未专门为iOS模拟器构建的IPA将具有错误的指令集,并且不会在其中运行。 但是,如果您处于测试环境中并且可以获得实际构建代码的人为您制作模拟器版本,则此答案中的说明可能会有所帮助。 An IPA that wasn’t specifically built for the iOS simulator will have the wrong instruction set and won’t run therein. If you’re in a testing environment and ca

...

重新加载模拟器的正确方法是在两个窗口和osx平台上按Ctrl + T. The proper way to reload the simulator is by pressing Ctrl+T on both, windows and osx platforms.

执行从1-to-5步骤 1) Reset Simulator (or delete the app which freeze) 2) Delete project from organizer 3) Clean / Delete build 4) Exit XCode 5) Restart System 这些肯定会解决这个问题。 Perform steps from 1-to-5 1) Reset Simulator (or delete the app which freeze) 2) Dele

...

进入utilities> terminal并输入以下命令: csrutil disable

reboot

一切都会奏效。 go into utilities > terminal and type the following commands: csrutil disable

reboot

and everything will work.

设置模拟器时,可以指定内存量。 这是一个示例博客文章,其中有人解释了各种常见Android设备的配置。 http://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations/ When you set up an emulator, you can specify the amount of memory. Here's an example blog post where someone

...

检查是否启用了Debug-> Slow Animations选项 Check, if Debug->Slow Animations option is enabled

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值