Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
all required information.
Studio Build: Android Studio 3.0 #AI-171.4408382, built on October 21, 2017
Version of Gradle Plugin: 171.4249.39
Version of Gradle: 4.3 Build time: 2017-10-30 15:43:29 UTC Revision: c684c202534c4138b51033b52d871939b8d38d72
Version of Java: OpenJDK 64-Bit Server VM by JetBrains s.r.o
OS: Mac OS X 10.12.6
Steps to Reproduce:
1. Created Android project and an Activity class
2. Type the following code to override super class method:
class CleanupActivity : BaseActivity() {
public override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}
}
3. Android studio shows error:
Overriding method should call super.onCreate less... (⌘F1)
Some methods, such as View#onDetachedFromWindow, require that you also call the super implementation as part of your method.
super.onCreate has been called and it should not prompt error.