Task :react-native-vector-icons:compileDebugJavaWithJavac
Note: C:\APP_LOCATION\node_modules\react-native-vector-icons\android\src\oldarch\java\com\oblador\vectoricons\VectorIconsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Task :app:compileDebugJavaWithJavac FAILED
C:\APP_LOCATION\android\app\src\main\java\com\domain\logoduellen\MainActivity.java:11: error: cannot find symbol
protected void onCreate(Bundle savedInstanceState) {
^
symbol: class Bundle
location: class MainActivity
1 error
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Build is failing on React-Native v0.72.3
Output below