# Java:125: error: cannot find symbol

**URL:** <https://forums.unrealengine.com/t/java-error-cannot-find-symbol/842702>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, question\
**Created:** [April 4, 2023, 7:03am UTC](https://forums.unrealengine.com/t/java-error-cannot-find-symbol/842702 "2023-04-04T07:03:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![actiong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@actiong](https://forums.unrealengine.com/u/actiong)\
**Post date:** [April 4, 2023, 7:03am UTC](https://forums.unrealengine.com/t/java-error-cannot-find-symbol/842702/1 "2023-04-04T07:03:15Z")

</div>

WHEN I TRY TO PACKAGE MY ANROID PROJECT IT SAYS java:125: error: cannot find symbol

i already read this thread : [Java:125: error: cannot find symbol](https://forums.unrealengine.com/t/java-error-cannot-find-symbol/581470)  
but i want to use api 33, because push notification. now new android apps must support api 31. but android 13 push need api 33.  
[Notification runtime permission &nbsp;|&nbsp; Android Developers](https://developer.android.com/develop/ui/views/notifications/notification-permission)  
how to fix it? ☹

ProcessResult.StdOut: \> Task :app:compileDebugJavaWithJavac  
ProcessResult.StdOut: The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).  
ProcessResult.StdOut: Make sure all annotation processors are incremental to improve your build speed.  
ProcessResult.StdOut: Y:\app\src\main\java\com\epicgames\ue4\WebViewControl.java:122: error: cannot find symbol  
ProcessResult.StdOut: webView.getSettings().setAppCacheMaxSize( 10 \* 1024 \* 1024 );  
ProcessResult.StdOut: ^  
ProcessResult.StdOut: symbol: method setAppCacheMaxSize(int)  
ProcessResult.StdOut: location: class WebSettings  
ProcessResult.StdOut: Y:\app\src\main\java\com\epicgames\ue4\WebViewControl.java:123: error: cannot find symbol  
ProcessResult.StdOut: webView.getSettings().setAppCachePath(GameActivity.\_activity.getApplicationContext().getCacheDir().getAbsolutePath() );  
ProcessResult.StdOut: ^  
ProcessResult.StdOut: symbol: method setAppCachePath(String)  
ProcessResult.StdOut: location: class WebSettings  
ProcessResult.StdOut: Y:\app\src\main\java\com\epicgames\ue4\WebViewControl.java:125: error: cannot find symbol  
ProcessResult.StdOut: webView.getSettings().setAppCacheEnabled( true );  
ProcessResult.StdOut: ^  
ProcessResult.StdOut: symbol: method setAppCacheEnabled(boolean)  
ProcessResult.StdOut: location: class WebSettings  
ProcessResult.StdOut: Note: Some input files use or override a deprecated API.  
ProcessResult.StdOut: Note: Recompile with -Xlint:deprecation for details.  
ProcessResult.StdOut: 3 errors  
ProcessResult.StdOut:  
ProcessResult.StdOut: \> Task :app:compileDebugJavaWithJavac FAILED  
ProcessResult.StdOut:  
ProcessResult.StdOut: FAILURE: Build failed with an exception.  
ProcessResult.StdOut:

---

<div class="post-metadata">

**Author:** ![BaranKYNC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/barankync/32/634682_2.png) [@BaranKYNC](https://forums.unrealengine.com/u/BaranKYNC)\
**Post date:** [April 25, 2023, 1:12pm UTC](https://forums.unrealengine.com/t/java-error-cannot-find-symbol/842702/2 "2023-04-25T13:12:30Z")

</div>

Same issue you find any solution?

---

<div class="post-metadata">

**Author:** ![kvnkrft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kvnkrft](https://forums.unrealengine.com/u/kvnkrft)\
**Post date:** [April 29, 2023, 3:07pm UTC](https://forums.unrealengine.com/t/java-error-cannot-find-symbol/842702/3 "2023-04-29T15:07:53Z")

</div>

Did anyone get this resolved?

---

<div class="post-metadata">

**Author:** ![Ashutosh\_Sharma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ashutosh\_Sharma](https://forums.unrealengine.com/u/Ashutosh_Sharma)\
**Post date:** [April 30, 2023, 9:41am UTC](https://forums.unrealengine.com/t/java-error-cannot-find-symbol/842702/4 "2023-04-30T09:41:10Z")

</div>

Which version of Engine you are using ?
