if (info != null) {
int version_code = info.versionCode;
String version_name = info.versionName;
String a = "版本号：" + version_code + "\n版本：" + version_name;
version.setText(a);
<BUG>}
findViewById(R.id.fab).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Snackbar.make(v, "你要提交bug或者建议吗?", Snackbar.LENGTH_LONG)
.setAction("确定", new View.OnClickListener() {
@Override
public void onClick(View view) {</BUG>
String user = App.getName(AboutActivity.this);

if (info != null) {
int version_code = info.versionCode;
String version_name = info.versionName;
String a = "版本号：" + version_code + "\n版本：" + version_name;
version.setText(a);
}
findViewById(R.id.fab).setOnClickListener(v -> Snackbar.make(v, "你要提交bug或者建议吗?", Snackbar.LENGTH_LONG)
.setAction("确定", view -> {
String user = App.getName(AboutActivity.this);
