Having some trouble getting the eas build -p android to work, however I was able to get the iOS build pushed through (if you can believe it).
This is the error I’m getting:
[stderr]
FAILURE: Build completed with 2 failures.
[stderr]
1: Task failed with an exception.
[stderr]
-----------
[stderr]
* What went wrong:
[stderr]
Execution failed for task ':app:checkReleaseAarMetadata'.
[stderr]
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
[stderr]
> 26 issues were found when checking AAR metadata:
[stderr]
[stderr]
1. Dependency 'androidx.appcompat:appcompat:1.5.1' requires libraries and applications that
[stderr]
depend on it to compile against version 32 or later of the
[stderr]
Android APIs.
[stderr]
[stderr]
:app is currently compiled against android-31.
[stderr]
[stderr]
Recommended action: Update this project to use a newer compileSdkVersion
[stderr]
of at least 32, for example 32.
[stderr]
[stderr]
Note that updating a library or application's compileSdkVersion (which
[stderr]
allows newer APIs to be used) can be done separately from updating
[stderr]
targetSdkVersion (which opts the app in to new runtime behavior) and
[stderr]
minSdkVersion (which determines which devices the app can be installed
[stderr]
on).
**Followed by 26 errors similar to this**
And here’s my eas.json file
{
"cli": {
"version": ">= 3.13.2"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}
I’m guessing the issue has something to do with how my eas.json file is configured - looks like the error wants me to define the compileSdkVersion @ v32 or higher. Everything works fine running the app locally. Anyone else run into this issue?