We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Share Plugin @capacitor/share": "^6.0.0
Latest Dependencies: @capacitor/cli: 6.0.0 @capacitor/core: 6.0.0 @capacitor/android: 6.0.0 @capacitor/ios: 6.0.0 Installed Dependencies: @capacitor/ios: not installed @capacitor/cli: 6.0.0 @capacitor/core: 6.0.0 @capacitor/android: 6.0.0
Android 14 (target API level 34)
Android build fails with output:
C:\.........\node_modules\@capacitor\share\android\src\main\java\com\capacitorjs\plugins\share\SharePlugin.java:49: error: cannot find symbol ContextCompat.RECEIVER_EXPORTED ^ symbol: variable RECEIVER_EXPORTED location: class ContextCompat
Android build is successful.
The text was updated successfully, but these errors were encountered:
same here
Sorry, something went wrong.
update: I do not get this issue with a fresh app, running npx cap add android, updating Android Studio and making sure the latest sdks are installed.
npx cap add android
The error disappears when using updated variables.gradle file during building:
variables.gradle
ext { minSdkVersion = 24 compileSdkVersion = 34 targetSdkVersion = 34 androidxActivityVersion = '1.7.0' androidxAppCompatVersion = '1.6.1' androidxCoordinatorLayoutVersion = '1.2.0' androidxCoreVersion = '1.10.0' androidxFragmentVersion = '1.5.6' coreSplashScreenVersion = '1.0.0' androidxWebkitVersion = '1.6.1' junitVersion = '4.13.2' androidxJunitVersion = '1.1.5' androidxEspressoCoreVersion = '3.5.1' cordovaAndroidVersion = '10.1.1' }
Closing this.
No branches or pull requests
Bug Report
Plugin(s)
Share Plugin @capacitor/share": "^6.0.0
Capacitor Version
Platform(s)
Android 14 (target API level 34)
Current Behavior
Android build fails with output:
Expected Behavior
Android build is successful.
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered: