Karan Veer
Karan Veer

Reputation: 3

Instant App Not Compiling

When I am trying to compile with following configuration in base feature,

compileSdkVersion 25 targetSdkVersion 25

I get the below error message

"Feature modules require compileSdkVersion set to 26 or higher. compileSdkVersion is set to 25"

Is there a relation between compileSdkVersion and targetSdkVersion of instant app and installable app ? Please help.

Upvotes: 0

Views: 153

Answers (1)

user9906968
user9906968

Reputation:

You need a compileSdkVersion of 26. You should always use the highest possible value for compileSdkVersion and targetSdkVersion. This does not affect backward compatibility. Moreover, Google requires current values for uploading to Google Play.

Upvotes: 1

Related Questions