You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently running quick-crypto 0.7.4, and gradle build fails with error:
/home/losh11/Repos/ltc/plasma/node_modules/react-native-quick-crypto/android/src/main/java/com/margelo/quickcrypto/QuickCryptoModule.java:45: Error: This declaration is opt-in and its usage should be marked with @com.facebook.react.common.annotations.FrameworkAPI or @OptIn(markerClass = com.facebook.react.common.annotations.FrameworkAPI.class) [UnsafeOptInUsageError from androidx.annotation.experimental]
CallInvokerHolderImpl jsCallInvokerHolder = (CallInvokerHolderImpl) getReactApplicationContext()
~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "UnsafeOptInUsageError":
This API has been flagged as opt-in with error-level severity.
Any declaration annotated with this marker is considered part of an
unstable or
otherwise non-standard API surface and its call sites should accept the
opt-in
aspect of it by using the @OptIn annotation, using the marker annotation
--
effectively causing further propagation of the opt-in aspect -- or
configuring
the UnsafeOptInUsageError check's options for project-wide opt-in.
To configure project-wide opt-in, specify the opt-in option value in
lint.xml
as a comma-delimited list of opted-in annotations:
<lint>
<issue id="UnsafeOptInUsageError">
<option name="opt-in" value="com.foo.ExperimentalBarAnnotation" />
</issue>
</lint>
Vendor: Android Open Source Project
Identifier: androidx.annotation.experimental
Feedback: https://issuetracker.google.com/issues/new?component=459778
Full build logs
/home/losh11/Repos/ltc/plasma/node_modules/react-native-quick-crypto/android/src/main/java/com/margelo/quickcrypto/QuickCryptoModule.java:45: Error: This declaration is opt-in and its usage should be marked with @com.facebook.react.common.annotations.FrameworkAPI or @OptIn(markerClass = com.facebook.react.common.annotations.FrameworkAPI.class) [UnsafeOptInUsageError from androidx.annotation.experimental]
CallInvokerHolderImpl jsCallInvokerHolder = (CallInvokerHolderImpl) getReactApplicationContext()
~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type"UnsafeOptInUsageError":
This API has been flagged as opt-in with error-level severity.
Any declaration annotated with this marker is considered part of an
unstable or
otherwise non-standard API surface and its call sites should accept the
opt-in
aspect of it by using the @OptIn annotation, using the marker annotation
--
effectively causing further propagation of the opt-in aspect -- or
configuring
the UnsafeOptInUsageError check's options for project-wide opt-in. To configure project-wide opt-in, specify the opt-in option value in lint.xml as a comma-delimited list of opted-in annotations: <lint> <issue id="UnsafeOptInUsageError"> <option name="opt-in" value="com.foo.ExperimentalBarAnnotation" /> </issue> </lint> Vendor: Android Open Source Project Identifier: androidx.annotation.experimental Feedback: https://issuetracker.google.com/issues/new?component=459778
How were you trying to build the app?
Currently running quick-crypto 0.7.4, and
gradle build
fails with error:Full build logs
Project dependencies
QuickCrypto Version
0.7.4
Target platforms
Android
Operating system
Windows
Can you build the QuickCrypto Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information
The text was updated successfully, but these errors were encountered: