我有一个带有自定义对话框的模块,它扩展了com.google.android.material.bottomsheet.BottomSheetDialog. 我的模块具有下一个依赖项:
implementation "com.google.android.material:material:1.0.0"
但我仍然收到下一个错误:
Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class myapp.com.ScrollableBottomSheetDialog, unresolved supertypes: com.google.android.material.bottomsheet.BottomSheetDialog
import但是我的自定义类中没有任何错误......
有任何想法吗?有没有类似的案例?