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
Description
recently updated gradle to 8.6, running on emulator works fine. but fail when try to gradlew app:assembleRelease, attached with error below. Please help.
What went wrong:
Some problems were found with the configuration of task ':app:bundleReleaseJsAndAssets' (type 'Exec').
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':@hmscore_react-native-hms-analytics:compileReleaseAidl' as an input of ':app:bundleReleaseJsAndAssets'.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:compileReleaseAidl' from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:compileReleaseAidl' from ':app:bundleReleaseJsAndAssets' using Task#mustRunAfter.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:compileReleaseJavaWithJavac' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':@hmscore_react-native-hms-analytics:compileReleaseJavaWithJavac' as an input of ':app:bundleReleaseJsAndAssets'.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:compileReleaseJavaWithJavac'
from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:compileReleaseJavaWithJavac'
from ':app:bundleReleaseJsAndAssets' using Task#mustRunAfter.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:compileReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':@hmscore_react-native-hms-analytics:compileReleaseRenderscript' as an input of ':app:bundleReleaseJsAndAssets'.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:compileReleaseRenderscript' from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:compileReleaseRenderscript' from ':app:bundleReleaseJsAndAssets' using Task#mustRunAfter.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:packageReleaseResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':@hmscore_react-native-hms-analytics:packageReleaseResources' as an input of ':app:bundleReleaseJsAndAssets'.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:packageReleaseResources' from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:packageReleaseResources' from ':app:bundleReleaseJsAndAssets' using Task#mustRunAfter.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:generateReleaseResValues' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':@hmscore_react-native-hms-analytics:generateReleaseResValues' as an input of ':app:bundleReleaseJsAndAssets'.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:generateReleaseResValues' from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
Declare an explicit dependency on ':@hmscore_react-native-hms-analytics:generateReleaseResValues' from ':app:bundleReleaseJsAndAssets' using Task#mustRunAfter.
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.
Description
recently updated gradle to 8.6, running on emulator works fine. but fail when try to gradlew app:assembleRelease, attached with error below. Please help.
What went wrong:
Some problems were found with the configuration of task ':app:bundleReleaseJsAndAssets' (type 'Exec').
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:compileReleaseJavaWithJavac' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
from ':app:bundleReleaseJsAndAssets' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:compileReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:packageReleaseResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
Gradle detected a problem with the following location: 'F:\WORK\xxx\xxx'.
Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':@hmscore_react-native-hms-analytics:generateReleaseResValues' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
Try:
Expected behavior
compile release correctly
Current behavior
failed to compile
ext {
buildToolsVersion = "30.0.2"
minSdkVersion = 29
compileSdkVersion = 34
targetSdkVersion = 34
supportLibVersion = "28.1.1"
googlePlayServicesVersion = "16.0.0"
googlePlayServicesVisionVersion = "15.0.2"
androidMapsUtilsVersion = "0.5+"
googlePlayServicesAuthVersion = "16.0.1"
kotlinVersion = '1.6.21'
excludeAppGlideModule = true
}
Environment
"@hmscore/react-native-hms-analytics": "^6.12.0-301",
"@hmscore/react-native-hms-availability": "^6.12.0-300",
"@hmscore/react-native-hms-map": "^6.11.2-303",
"@hmscore/react-native-hms-push": "^6.12.0-302",
The text was updated successfully, but these errors were encountered: