diff --git a/src/main/java/com/reandroid/apk/ApkModule.java b/src/main/java/com/reandroid/apk/ApkModule.java index 4b8e42783..bc8330aec 100644 --- a/src/main/java/com/reandroid/apk/ApkModule.java +++ b/src/main/java/com/reandroid/apk/ApkModule.java @@ -459,7 +459,7 @@ public boolean isBaseModule(){ AndroidManifestBlock manifest; try { manifest= getAndroidManifest(); - return manifest.getMainActivity()!=null; + return !(manifest.isSplit() || manifest.getMainActivity()==null); } catch (Exception ignored) { return false; }