[IONIC] Error: cannot find symbol variable LOLLIPOP

Table of Contents

[IONIC] Error: cannot find symbol variable LOLLIPOP

Cannot find symbol variable LOLLIPOP

IonicWebViewEngine.java:114: error: cannot find symbol

[cordova] D:\sync\websvr\ionic\current\chatchit_chatbot_mobile\platforms\android\app\src\main\java\com\ionicframework\cordova\webview\IonicWebViewEngine.java:114: error: cannot find symbol
[cordova]     @RequiresApi(Build.VERSION_CODES.LOLLIPOP)
[cordova]      ^
[cordova]   symbol:   class RequiresApi
[cordova]   location: class IonicWebViewEngine.ServerClient
[cordova] Note: Some input files use or override a deprecated API.
[cordova] Note: Recompile with -Xlint:deprecation for details.
[cordova] 2 errors
[cordova]
[cordova] FAILURE: Build failed with an exception.
[cordova]
[cordova] * What went wrong:
[cordova] Execution failed for task ':app:compileDebugJavaWithJavac'.
[cordova] > Compilation failed; see the compiler error output for details.

image

Fix IONIC cannot find symbol variable LOLLIPOP

ionic cordova plugin add cordova-plugin-androidx-adapter

Finally, the issue got resolved by installing above plug-in.

https://stackoverflow.com/questions/54752716/why-am-i-seeing-neterr-cleartext-not-permitted-errors-after-upgrading-to-cordo

Leave a Reply

Your email address will not be published. Required fields are marked *