I have an onClickListener()
for a Download button in the sole activity in my Instant App package. When clicked, it forms the postInstallIntent
:
Intent postInstallIntent = new Intent(getApplicationContext(), Test.class);
When I Run instantapp, it crashes at this line with this Logcat entry:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/quixr/testqiew2/full/Test;
The activity Test is in the feature module full and is a Launcher:
<application>
<activity android:name=".Test">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
The build.gradle
for app contains a dependency on full:
implementation project(':full')
Should Test be somewhere else to be found? Or is there a different reason it is not being found?