-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InAppBrowser.java:268:error: cannot find symbol #554
Comments
The problem is you are using a very old version of cordova-Android, but the plugin should require that version, so should be fixed in the plugin engines so it doesn’t install in older versions |
Yes, I found out later. This version of plug-in requires Android API 26 or above. Can I know when the official version of 3.1.1 will be released? |
I'm reopening because it's a bug, not that it doesn't work in older version, but that the engines in plugin.xml and package.json are not properly configured to let cordova know it's not compatible with older version. As of 3.1.1 release date, I have no idea, sorry. |
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 BUILD FAILED Total time: 7.03 secs FAILURE: Build failed with an exception.
|
I am using cordova 5.1.1, android 5.1.1, ios 4.1.1 and [email protected] |
You're using ancient versions of the cordova cli and platforms that are no longer supported. The solution is to upgrade and refactor your app where necessary. |
while that should be the optimal solution, since the plugin doesn't require any cordova-android version, this should be fixed to compile in older versions, and then we can put the code back, properly configure the engines to require latest cordova-android and release a major version. |
Thanks for the information, I have pointed to android-29 and it started working. |
Thanks breautek, since this is old project I will inform higher management to take decision. For now I have pointed to android-29 started working. |
Bug Report
Problem
The plugin version I am using is 3.1.1-dev.
Information
Command or Code
Environment, Platform, Device
Version information
Ionic:
Ionic CLI : 5.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.2
@ionic/v1-toolkit : not installed
Cordova:
Cordova CLI : 8.1.2 ([email protected])
Cordova Platforms : android 6.2.3
Cordova Plugins : cordova-plugin-ionic-webview 1.2.1, (and 26 other plugins)
Utility:
cordova-res : 0.6.0 (update available: 0.8.0)
native-run : 0.2.7 (update available: 0.2.8)
System:
Android SDK Tools : 26.1.1 (/Users/rdc-002/Library/Android/sdk)
ios-deploy : 2.0.0
ios-sim : 6.1.2
NodeJS : v10.15.3 (/usr/local/bin/node)
npm : 6.10.0
OS : macOS Mojave
Xcode : Xcode 11.1 Build version 11A1027
Checklist
The text was updated successfully, but these errors were encountered: