Skip to content

When exec "./gradlew assemble", some errors has occurred #427

Description

@yyqangular1

./gradlew assemble


> Configure project :admob-latest
WARNING: The option setting 'android.jetifier.blacklist=bcprov' is experimental.
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.

> Configure project :miniapp
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
Documentation not published for snapshot version.
> Configure project :testapp
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
WARNING: BuildType(staging): resValue 'sslPublicKey' value is being replaced:  ->
WARNING: BuildType(staging): resValue 'sslPublicKeyBackup' value is being replaced:  ->
WARNING: BuildType(staging): resValue 'stagingBaseUrl' value is being replaced: https://www.example.com/ -> https://www.example.com/
WARNING: BuildType(staging): resValue 'stagingProjectId' value is being replaced: test-host-project-id -> test-host-project-id
WARNING: BuildType(staging): resValue 'stagingSubscriptionKey' value is being replaced: test-subs-key -> test-subs-key
WARNING: BuildType(staging): resValue 'prodBaseUrl' value is being replaced: https://www.example.com/ -> https://www.example.com/
WARNING: BuildType(staging): resValue 'prodProjectId' value is being replaced: test-host-project-id -> test-host-project-id
WARNING: BuildType(staging): resValue 'prodSubscriptionKey' value is being replaced: test-subs-key -> test-subs-key
WARNING: BuildType(staging): buildConfigField 'ENABLE_APPCENTER_CRASHLYTICS' value is being replaced: true -> true
WARNING: BuildType(rc): resValue 'sslPublicKey' value is being replaced:  ->
WARNING: BuildType(rc): resValue 'sslPublicKeyBackup' value is being replaced:  ->
WARNING: BuildType(rc): resValue 'stagingBaseUrl' value is being replaced: https://www.example.com/ -> https://www.example.com/
WARNING: BuildType(rc): resValue 'stagingProjectId' value is being replaced: test-host-project-id -> test-host-project-id
WARNING: BuildType(rc): resValue 'stagingSubscriptionKey' value is being replaced: test-subs-key -> test-subs-key
WARNING: BuildType(rc): resValue 'prodBaseUrl' value is being replaced: https://www.example.com/ -> https://www.example.com/
WARNING: BuildType(rc): resValue 'prodProjectId' value is being replaced: test-host-project-id -> test-host-project-id
WARNING: BuildType(rc): resValue 'prodSubscriptionKey' value is being replaced: test-subs-key -> test-subs-key
WARNING: BuildType(rc): buildConfigField 'ENABLE_APPCENTER_CRASHLYTICS' value is being replaced: true -> true
testapp: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.12.0'.

> Task :analytics:compileDebugKotlin
w: /Users/xyz/git/android-miniapp/analytics/src/main/java/com/rakuten/tech/mobile/analytics/Tracker.kt: (4, 13): Parameter 'name' is never used
w: /Users/xyz/git/android-miniapp/analytics/src/main/java/com/rakuten/tech/mobile/analytics/Tracker.kt: (4, 27): Parameter 'parameters' is never used

> Task :miniapp:processDebugManifest
/Users/xyz/git/android-miniapp/miniapp/src/main/AndroidManifest.xml:17:9-22:49 Warning:
        provider#com.rakuten.tech.mobile.sdkutils.SdkUtilsInitProvider@android:initOrder was tagged at AndroidManifest.xml:17 to replace other declarations but no other declaration present

> Task :analytics:compileReleaseKotlin
w: /Users/xyz/git/android-miniapp/analytics/src/main/java/com/rakuten/tech/mobile/analytics/Tracker.kt: (4, 13): Parameter 'name' is never used
w: /Users/xyz/git/android-miniapp/analytics/src/main/java/com/rakuten/tech/mobile/analytics/Tracker.kt: (4, 27): Parameter 'parameters' is never used

> Task :miniapp:processReleaseManifest
/Users/xyz/git/android-miniapp/miniapp/src/main/AndroidManifest.xml:17:9-22:49 Warning:
        provider#com.rakuten.tech.mobile.sdkutils.SdkUtilsInitProvider@android:initOrder was tagged at AndroidManifest.xml:17 to replace other declarations but no other declaration present

> Task :miniapp:kaptReleaseKotlin FAILED
> Task :miniapp:kaptDebugKotlin FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':miniapp:kaptReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':miniapp:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 27s
148 actionable tasks: 148 executed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions