Java 从应用程序中抛出并创建左侧apk文件

Java 从应用程序中抛出并创建左侧apk文件,java,android-studio,kotlin,apk,Java,Android Studio,Kotlin,Apk,我为笨拙的英语道歉,我是从一个翻译那里写的。。。 我有一个申请——出租车,该项目最初有3个申请: 公共图书馆 :驱动程序-适用于驱动程序 :乘客专用 下一个任务是将这两个应用程序(驾驶员和乘客)合并为一个 我创建了第四个应用程序:launcher。。。 将驾驶员和乘客项目重写为com.android.library 并将它们连接起来 dependencies { api project(':common') api project(':rider') implement

我为笨拙的英语道歉,我是从一个翻译那里写的。。。 我有一个申请——出租车,该项目最初有3个申请: 公共图书馆 :驱动程序-适用于驱动程序 :乘客专用

下一个任务是将这两个应用程序(驾驶员和乘客)合并为一个 我创建了第四个应用程序:launcher。。。 将驾驶员和乘客项目重写为com.android.library 并将它们连接起来

dependencies {
    api project(':common')
    api project(':rider')
    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    implementation 'androidx.core:core-ktx:1.3.2'
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'com.google.android.material:material:1.2.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1'
    implementation 'androidx.navigation:navigation-ui-ktx:2.3.1'
    testImplementation 'junit:junit:4.+'
    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}
。。。 起初,我只添加了骑手,并试图通过发射器发射它,为此我创建了一个有趣的GoRider,它应该被转移到乘客授权页面

fun GoRider(view: View) {
    val intent = Intent(this, com.innomalist.taxi.rider.activities.splash.SplashRiderActivity::class.java)
    startActivity(intent)
}
编译并启动应用程序发布后,它显示启动器屏幕的主要活动,使用GoRider功能按下按钮,应用程序切换到授权,授权后,应用程序中断并将其扔到主屏幕

另外还创建了两个额外的驾驶员和乘客应用程序,如何解决这个问题(应该只有一个启动器应用程序)


写下要提供的源

引发的异常是什么?另外-您是否将它们包含在settings.gradle文件中?包括“:普通“,”:驾驶员“,”:驾驶员”