步骤在项目上新建module选择libiary创建鸿蒙组件在项目中导入组件lg\entry\build.gradle文件中的gradledependencies{implementationfileTree(dir:'libs',include:['.jar','.har'])testImplementation'junit:junit:4.13'ohosTestImplementation'com.huawei.ohos.testkit:runner:1.0.0.100'下面是导入的组件名与settings.gradle名字一样implementationproject(":BottomNavigationF")}在刚才创建的modul编写组件类javapackagecom.l...