0

I am developing an instant app and have an issue with uploading to play console internal track.

I successfully built bundle with ./gradlew bundleRelease command, than generated apks with bundletool with mode instant enabled and launched instant app locally with ia tool.

But when I try upload apks.zip to play console I've got an error "The configuration APKs in your Instant App APKs should have targeting information."

What does mean this message? Can it be connected with bundletool? Or could you advise how correctly upload instant app apks.zip to play console?

2 Answers2

0

Add the below line in manifest tag in your manifext file

android:targetSandboxVersion="2"
Viswanath Kumar Sandu
  • 2,230
  • 2
  • 17
  • 34
0

The problem was in Configuration APKs. They didn't have targetSdk information. I fixed it by adding this to build.gradle

 bundle {
        language {
            enableSplit = false
        }
        density {
            enableSplit = false
        }
        abi {
            enableSplit = false
        }
    }