Split Install API is not available. error code - 5 while installing dynamic feature Android Studio
Asked Answered
C

2

9

I have published my .aab apks bundle to internal testing realease mode.

When i try to install dynamic feature on demand it give me exception:

com.google.android.play.core.splitInstall.SplitInstallException: 
Split Install Error(-5): Split Install API s not available.

I dont know why this API is not available why this error appears. Need help thanks.

Cockahoop answered 6/1, 2020 at 8:3 Comment(2)
Did you find a solution to this problem?Anisette
@matt any updates for solution of this error?Cutthroat
M
0

For me the error was in the fact I had unloaded the dynamic feature module (for quicker build times) perhaps check that the feature you are trying to load is loaded in android studio

Marden answered 31/3, 2020 at 12:4 Comment(0)
A
0

Remember you have to add the dynamicFeatures also in the build.gradle of your application.

dynamicFeatures = mutableSetOf(":details")

See here: https://developer.android.com/guide/app-bundle/at-install-delivery#base_feature_relationship

Actinomycosis answered 11/7, 2020 at 20:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.