Add the following sentence to the dependencies in the build. Gradle file
implementation 'com.android.support:design:26.1.0'
Then modify import
import android.support.design.widget.BottomSheetDialog; // replace to the line below
import com.google.android.material.bottomsheet.BottomSheetDialog;
Read More:
- How to Solve Error inflating class android.support.design.widget.FloatingActionButton
- [Solved] Android Error: import android.support.annotation.NonNull
- [Solved] ViewBinding Error: java.lang.ClassCastException: android.widget.RelativeLayout cannot be
- [Solved] Android Project error: import android.support.v4 (V7). App.activitycompat
- Room DB Error: AppDatabase_Impl does not exist [How to Solve]
- [Solved] UE4 Android Package Error: failed for task :permission_library:compileDebugJavaWithJavac
- [Solved] Unreal Engine Error: Widget Blueprint could not be loaded because it derives from an invalid class
- [Solved] UE4UE5 Package Android Error: UnrealBuildTool failed
- [Solved] Flutter Error: No MediaQuery widget ancestor found.
- error: resource android:attr/lStar not found [How to Solve]
- The SDK of Android webrtc compiled with Ninja – C out / release command reported an error, and the Android NDK processing method could not be found
- [Solved] Instantiation of ‘sdram_model_plus‘ failed. The design unit was not found.
- [Solved] Android Compile and Package Error: Invalid keystore format
- [Solved] UE4 Android Package Error: cmd.exe failed with args
- Flutter android studio runs gradle build error: Could not resolve all artifacts for configuration’:classpath’.
- How to Solve Error “Could not find com.android.tools.build:gradle:3.0.1”
- [Solved] Android Studio Start Error: Missing essential plugin: org.jetbrains.android Please reinstall Android
- Sublime text 3 does not support Chinese/[decode error – output not UTF-8] solution
- [error record] Android application release package error handling (turn off syntax check log processing release configuration)
- Cmake Setting Support C++11 This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options