You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/10/20 07:42:20 UTC
[GitHub] [cordova-plugin-inappbrowser] ejonnadula commented on issue #554: InAppBrowser.java:268:error: cannot find symbol
ejonnadula commented on issue #554:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/554#issuecomment-712660218
I am also facing same issue, Is there any fix/solution available
:compileDebugJavaWithJavacC:\BuildApk\UIWebview\APKTest\MyApp\platforms\android\src\org\apache\cordova\inappbrowser\InAppBrowser.java:1196: error: cannot find symbol
@TargetApi(Build.VERSION_CODES.N)
^
symbol: variable N
location: class VERSION_CODES
C:\BuildApk\UIWebview\APKTest\MyApp\platforms\android\src\org\apache\cordova\inappbrowser\InAppBrowser.java:268: error: cannot find symbol
if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.O) {
^
symbol: variable O
location: class VERSION_CODES
C:\BuildApk\UIWebview\APKTest\MyApp\platforms\android\src\org\apache\cordova\inappbrowser\InAppBrowser.java:272: error: cannot find symbol
((InAppBrowserClient)inAppWebView.getWebViewClient()).waitForBeforeload = false;
^
symbol: method getWebViewClient()
location: variable inAppWebView of type WebView
C:\BuildApk\UIWebview\APKTest\MyApp\platforms\android\src\org\apache\cordova\inappbrowser\InAppBrowser.java:1197: error: method does not override or implement a method from a supertype
@Override
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\BuildApk\UIWebview\APKTest\MyApp\platforms\android\src\org\apache\cordova\file\AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
FAILED
BUILD FAILED
Total time: 7.03 secs
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':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.
CordovaError: Promise rejected with non-error: 'Error code 1 for command: cmd with args: /s,/c,"C:\\BuildApk\\UIWebview\\APKTest\\MyApp\\platforms\\android\\gradlew cdvBuildDebug -b C:\\BuildApk\\UIWebview\\APKTest\\MyApp\\platforms\\android\\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"'
at C:\Users\ejonnadula\AppData\Roaming\npm\node_modules\cordova\bin\cordova:29:15
at processTicksAndRejections (internal/process/task_queues.js:94:5)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org