Replace the actionbar with the toolbar in api27. This error is due to the import error when importing the package. You should
import android.widget.Toolbar;
Change to
import androidx.appcompat.widget.Toolbar;
Read More:
- [Solved] Loadrunner Error: with parameter delimiters is not a parameter.
- How to Solve Error: You need to use a Theme.AppCompat theme (or descendant) with this activity.
- How to Solve Error inflating class android.support.design.widget.FloatingActionButton
- R language: How to Solve DMwR Install Error
- How to Solve Android Error: gps requires ACCESS_FINE_LOCATION
- How to Solve Error while executing: am start -n
- How to Solve screenfull plug-in Error (Version Issues)
- How to Solve Error: Android java.lang.IllegalStateException: Could not execute method of the activity
- How to Solve Error: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
- Kotlin: How to Solve kapt import error
- How to Solve SpringBoot MongoDB MongoAutoConfiguration Startup Error
- How to Solve [error] malformed \uxxxx encoding Error
- Android: How to Solve libuv Compile Error
- How to Solve Project Upgrade to flutter2.5.0 Error
- How to Solve DVA switches history to browserhistory Error
- How to Solve Cordova integrates Gaode Map key error
- How to Solve vtk error (vtkInteractorStyleSwitchBase & vtkWin32OpenGLRenderWin Error)
- How to Solve Error: Type mismatch: cannot convert from Object to Car
- How to Solve Import antd Error: Module build failed
- How to Solve ImportError: cannot import name gof