0

I have an expo project with Gradle 7.5.1 but something/package trying to build with a different grade version and is not compatible. I cannot find what is the problem.

myapp\android> .\gradlew.bat --warning-mode=all 
...
BUILD SUCCESSFUL in 15s

but yarn fails to build

c:\myapp> yarn run android  
...
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 16s

These are the packages I use

import { StatusBar } from "expo-status-bar";
import React, { useEffect, useRef, useState } from "react";
import { LogBox, Platform, StyleSheet, Text, View } from "react-native";
import { cameraWithTensors } from "@tensorflow/tfjs-react-native";
import { Camera } from "expo-camera";

I tried to gradlew.bat --warning-mode=all but as you see on top it builds successfully and I cannot find the root cause of the problem.

Thanks

Sholan
  • 1
  • 1

0 Answers0