android - Artifact Null on extract from the dependency - Stack Overflow

I am having a working module, I am trying to inject the module into new application not using the compo

I am having a working module, I am trying to inject the module into new application not using the compose version 1.8.2 in my application, even though its checking for 1.8.2 in my cached folder and facing the build exception as below

Null extracted folder for artifact: ResolvedArtifact(componentIdentifier=androidx.activity:activity:1.8.2, variantName=null, artifactFile=/Users/arunkumar/.gradle/caches/modules-2/files-2.1/androidx.activity/activity/1.8.2/bce54c84024b17c34f9d4cdeaf1ce39d3e750c9e/activity-1.8.2.aar, extractedFolder=null, dependencyType=ANDROID, isWrappedModule=false, buildMapping={__current_build__=/Users/AndroidProjects/android_native_container}, mavenCoordinatesCache=com.android.build.gradle.internal.ide.dependencies.MavenCoordinatesCacheBuildService$Inject@6256b201)

 // For Compose UI
compose_ui_version = '1.1.1'
implementation "androidxpose.material:material:1.4.0-alpha03"
implementation "androidxposepiler:compiler:1.4.3"
implementation "androidxpose.ui:ui-tooling-preview:1.4.0-alpha03"
implementation 'androidx.activity:activity-compose:1.6.1'
debugImplementation "androidxpose.ui:ui-tooling:1.4.0-alpha03"
debugImplementation "androidxpose.ui:ui-test-manifest:$compose_ui_version"
implementation "androidxpose.material3:material3:1.1.1"
androidTestImplementation "androidxpose.ui:ui-test-junit4:$compose_ui_version"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.0-rc01"
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07"

I am using the build gradle support as

android {
compileSdkVersion = 34
defaultConfig {
    applicationId "com.aaa.containerApp"
    minSdk 31
    targetSdkVersion 34
    versionCode 1
    versionName "1.0.0.0"
    vectorDrawables.useSupportLibrary = true
    compileOptions.incremental = false
    dataBinding.enabled = true
    multiDexEnabled true
    resConfigs "en"
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
dexOptions {
    javaMaxHeapSize "4g"
}}

Any idea on the issue will be appreciated

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742383914a4433665.html

相关推荐

  • android - Artifact Null on extract from the dependency - Stack Overflow

    I am having a working module, I am trying to inject the module into new application not using the compo

    4小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信