Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是新手,这是我第一次尝试做一个 android 应用程序。我正在尝试做石头、剪纸和剪刀。我有一些错误......
您不能用布尔值填充字符串变量。
您可能想要添加另一个变量,称为:
boolean isComputerPlay = true;
并使用此变量来存储状态。