Skip to content
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

Building the APK results in an error. It works find in debug mode #14

Open
Pirsanth opened this issue Jan 14, 2020 · 2 comments
Open

Building the APK results in an error. It works find in debug mode #14

Pirsanth opened this issue Jan 14, 2020 · 2 comments

Comments

@Pirsanth
Copy link

Task :app:prepareLintJar UP-TO-DATE
Task :app:generateReleaseSources
Task :ipay88-sdk:compileReleaseRenderscript NO-SOURCE
Task :ipay88-sdk:generateReleaseBuildConfig
Task :ipay88-sdk:generateReleaseResValues
Task :ipay88-sdk:generateReleaseResources
Task :ipay88-sdk:packageReleaseResources
Task :ipay88-sdk:generateReleaseRFile
Task :ipay88-sdk:prepareLintJar UP-TO-DATE
Task :ipay88-sdk:generateReleaseSources
Task :ipay88-sdk:javaPreCompileRelease

Task :ipay88-sdk:compileReleaseJavaWithJavac FAILED
/Users/olav/Documents/kibo-android/node_modules/ipay88-sdk/android/src/main/java/com/ipay88/IPay88Module.java:7: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
^
/Users/olav/Documents/kibo-android/node_modules/ipay88-sdk/android/src/main/java/com/ipay88/IPay88Module.java:106: error: cannot find symbol
static void sendEvent(ReactContext reactContext, String eventName, @nullable WritableMap params) {
^
symbol: class Nullable
location: class IPay88Module
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':ipay88-sdk:compileReleaseJavaWithJavac'.

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. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2m 9s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5/userguide/command_line_interface.html#sec:command_line_warnings
41 actionable tasks: 37 executed, 4 up-to-date
An general error occured:
exec: /Users/olav/Documents/kibo-android/node_modules/ipay88-sdk/android/src/main/java/com/ipay88/IPay88Module.java:7: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
^
/Users/olav/Documents/kibo-android/node_modules/ipay88-sdk/android/src/main/java/com/ipay88/IPay88Module.java:106: error: cannot find symbol
static void sendEvent(ReactContext reactContext, String eventName, @nullable WritableMap params) {
^
symbol: class Nullable
location: class IPay88Module
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':ipay88-sdk:compileReleaseJavaWithJavac'.

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. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2m 9s

@15110011
Copy link

15110011 commented Feb 5, 2020

Me too
Did you solve it??

@chinloongtan
Copy link

yarn add -D jetifier
npx jetifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants