Java compile FAILED / missing TIRAMISU / solution: compileSdkVersion 33
See original GitHub issueHi I’m trying to integrate @notifee/react-native package to my expo react native app. So first I installed the package and then I placed it inside my plugins in app.json after that I tried building my app by running npx expo run:android then I get this error as follow
> Task :notifee_react-native:compileDebugJavaWithJavac FAILED
C:\notifiTest\node_modules\@notifee\react-native\android\src\main\java\io\invertase\notifee\NotifeeApiModule.java:241: error: cannot find symbol
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) {
^
symbol: variable TIRAMISU
location: class VERSION_CODES
C:\notifiTest\node_modules\@notifee\react-native\android\src\main\java\io\invertase\notifee\NotifeeApiModule.java:268: error: cannot find symbol
new String[] {Manifest.permission.POST_NOTIFICATIONS},
^
symbol: variable POST_NOTIFICATIONS
location: class permission
Note: C:\notifiTest\node_modules\@notifee\react-native\android\src\main\java\io\invertase\notifee\NotifeeReactUtils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':notifee_react-native:compileDebugJavaWithJavac'.
> 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 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.3.3/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 50s
198 actionable tasks: 198 executed
C:\notifiTest\android\gradlew.bat exited with non-zero code: 1
I’m stuck here can someone help thanks.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
FlutterLocalNotificationsPlugin.java:1554: error: cannot find ...
i have flutter app script which is purchased from code canyon. after compiling it android phone i am getting this error ...
Read more >compile sdk version 33 | The AI Search Engine You Control
We recommend using a newer Android Gradle plugin to use compileSdk = 33 ... Java compile FAILED / missing TIRAMISU / solution: compileSdkVersion...
Read more >Codemagic Deploy Output - Discuss and Get Help | FlutterFlow
Hello community, I have successful deploy iOS version for a long time but yesterday I was try to deploy on PlayStore. I try...
Read more >Appcompat - Android Developers
Delegates to platform implementation on API 33 and above. ... This version requires Android Tiramisu DP1 to compile and is not guaranteed to ......
Read more >Apktool - Changelog
(Issue 2603); Fix numeric string meta-data losing context of data type. ... (Issue 1913); Support for new compileSdkVersion property for SdkInfo .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You should change your sdkVersion
compileSdkVersion = 33andtargetSdkVersion = 33Gradle upgrade is required as well. https://docs.expo.dev/versions/latest/sdk/build-properties/I have this issue after installing react-native-image-picker library worked for me changed both to 33, run following commands to update gradle: ./gradlew wrapper --gradle-version=7.5.1 --distribution-type=bin ./gradlew tasks