Hi,
I’ve been developing an app using the managed workflow - I am a newbie and have no experience building iOS or android apps. I am getting a compilation error whilst using Eas Build for the Android app, so I decided to try compiling it locally using “expo run”.
This is what I get in the log:
> Task :react-native-track-player:compileReleaseJavaWithJavac FAILED
/Users/steve/Library/Mobile Documents/com~apple~CloudDocs/Software Development/DevProjects/EruptionRadio RNTP v2.1.4/node_modules/react-native-track-player/android/src/main/java/com/guichaguri/trackplayer/service/metadata/MetadataManager.java:84: error: cannot find symbol
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.S) {
^
symbol: variable S
location: class android.os.Build.VERSION_CODES
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-track-player:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
Where is the compiler output located? I can’t seem to find it anywhere.
Thanks