Android Studio java.lang.NoClassDefFoundError:失败的解析:R $ string

时间:2016-12-01 00:49:21

标签: java android android-studio gradle jar

我有一个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!")

如何解决这个问题?

0 个答案:

没有答案