我有一个Android Studio项目,它使用外部库.jar文件作为依赖项。
当我运行应用程序时,我遇到了这个错误:
while True:
for i in range(50): # try 50 times
try:
wm = cwiid.Wiimote()
break # break out of "for" and re-loop in "while"
except RuntimeError:
time.sleep(1)
else:
raise RuntimeError("permanent Wiimote failure... reboot!")
如何解决这个问题?