我正在尝试运行我的虚拟机Android 5.1.1 Google Nexus 4,但它会出现此错误:
def compare(elem1, elem2):
"""Return >0 if elem2 is greater than elem1
<0 if elem2 is lesser than elem1
0 if they are equal"""
#rule 1 group by logins
if elem1['logins'] != elem2['logins']:
if elem1['logins'] == 0:
return -1
if elem2['logins'] == 0:
return 1
return elem2['logins'] - elem1['logins']
# rule 2 sort on date_added
if elem1['logins'] == 0 and elem2['logins'] == 0:
return elem2['date_added'] - elem1['date_added']
#rule 3 sort on date_used
if elem1['logins'] == elem2['logins'] and elem1['loigns'] > 0:
return elem2['date_used'] - elem1['date_used']
return 0 # default
我已启用虚拟化。我该如何解决这个问题?
答案 0 :(得分:1)
似乎在Windows10中检测到此错误,我设法通过启用管理员执行来从桌面访问中打开Genymotion来修复它。
确认您已安装最新版本,我希望这会对您有所帮助。
抱歉我的英文不好
答案 1 :(得分:0)
我遇到了同样的问题并修复了它: