这似乎是明显的合并错误。我正在尝试将现有代码移植到即时应用程序模块。我试过的是:
- 将主应用模块更改为 baseFeatureModule。
- 创建了一个新模块 completeApp。
清空 completeAppModule 的 list :
在completeAppModule中添加了实现项目入口
实现项目(“:udofy”)
在基本模块中添加了这些条目:
android block 中的 baseFeature 为真
依赖项中的应用程序项目(“:fullModule”)
我已尝试重建/使缓存无效并重新启动/重新启动工作室,但没有帮助。有人可以帮我吗?
最佳答案
基于此thread ,在更高版本的 Android Studio 中没有源选项卡。但是,您可以改为编辑 build.gradl
e 文件。看这个link .还要确保您已在 AndroidManisfest.xml
文件中指定默认 Activity 。在默认 Activity 的 xml 部分中,there should be these tags :
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
关于Android 即时应用程序 : Default Activity not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46120608/