Error: Could not set unknown property 'debuggableVariants' for extension 'react' of type com.facebook.react.ReactExtension. #1844
Labels
needs review
Issue is ready to be reviewed by a maintainer
Build/Submit details page URL
https://expo.dev/accounts/jayp97/projects/langchats/builds/b4595801-2c23-4e44-81b7-11b622116ca6
Summary
I am trying to build for Android. Everything seems to be working up until the run gradlew step.
Using: eas-cli/3.12.1 darwin-x64 node-v16.16.0
I was using the command eas build --platform android --profile development with this eas.json
{
“build”: {
“development”: {
“developmentClient”: true,
“distribution”: “internal”
},
“preview”: {
“distribution”: “internal”
},
“production”: {}
}
}
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.3.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.16.0 - /usr/local/bin/node
npm: 8.11.0 - /usr/local/bin/npm
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
IDEs:
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmPackages:
expo: ~48.0.16 => 48.0.16
react-native: 0.70.5 => 0.70.5
npmGlobalPackages:
eas-cli: 3.12.1
Expo Workflow: managed
Error output
Running 'gradlew :app:assembleDebug' in /home/expo/workingdir/build/apps/expo/android
Downloading https://services.gradle.org/distributions/gradle-7.5.1-all.zip
10%
20%.
30%.
40%.
50%.
60%.
70%.
80%.
90%.
100%
Welcome to Gradle 7.5.1!
Here are the highlights of this release:
For more details see https://docs.gradle.org/7.5.1/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
Build file '/home/expo/workingdir/build/apps/expo/android/app/build.gradle' line: 24
[stderr]
[stderr]
A problem occurred evaluating project ':app'.
[stderr]
[stderr]
[stderr]
[stderr]
A problem occurred configuring project ':app'.
[stderr]
[stderr]
[stderr]
Run with --stacktrace option to get the stack trace.
[stderr]
[stderr]
https://help.gradle.org
[stderr]
BUILD FAILED in 1m 26s
5 actionable tasks: 5 executed
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
Reproducible demo or steps to reproduce from a blank project
This is my app.config.json
const defineConfig = (_ctx: ConfigContext): ExpoConfig => ({
name: "langchats",
slug: "langchats",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/splash-icon.png",
userInterfaceStyle: "light",
splash: {
image: "./assets/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#2368A1",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
bundleIdentifier: "your.bundle.identifier",
infoPlist: {
NSMicrophoneUsageDescription: "This app uses the microphone",
},
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/splash-icon.png",
backgroundColor: "#2e026d",
},
permissions: ["RECORD_AUDIO", "BILLING"],
package: "com.langchats.app",
},
extra: {
eas: {
projectId: PROJECT_ID,
},
CLERK_PUBLISHABLE_KEY,
},
plugins: ["./expo-plugins/with-modify-gradle.js"],
});
export default defineConfig;
The text was updated successfully, but these errors were encountered: