实际上是没有问题的。项目编译和运行。但我不明白是什么意思三振类名(Android的工作室讲述,有去precated code时)。有人能解释一下吗?
Actually there is no problem. Project compiles and runs. But I can't understand what is mean strikeout class name (Android Studio tells that there is deprecated code is used). Can anybody explain?
由于版本的 22.1.0 的,类 ActionBarActivity
是德precated。您应该使用 AppCompatActivity
。
Since the version 22.1.0, the class ActionBarActivity
is deprecated. You should use AppCompatActivity
.
阅读这里和的此处了解更多信息。
Read here and here for more information.