bytedance / AabResGuard

The tool of obfuscated aab resources.(Android app bundle资源混淆工具)
Apache License 2.0
1.32k stars 182 forks source link

Cause: com/android/build/gradle/internal/tasks/BundleTask #47

Open Yuongzw opened 3 years ago

Yuongzw commented 3 years ago

A problem occurred configuring project ':app'.

Failed to notify project evaluation listener. com/android/build/gradle/internal/tasks/BundleTask

JingYeoh commented 3 years ago

Please provide the Gradle version and AGP version.

kaedea commented 3 years ago

+1s, with AGP ver 3.5.3

Caused by: java.lang.NoClassDefFoundError: com/android/build/gradle/internal/tasks/BundleTask
        at com.bytedance.android.plugin.tasks.AabResGuardTask.setVariantScope(AabResGuardTask.kt:33)
        at com.bytedance.android.plugin.AabResGuardPlugin.createAabResGuardTask(AabResGuardPlugin.kt:45)
        at com.bytedance.android.plugin.AabResGuardPlugin.access$createAabResGuardTask(AabResGuardPlugin.kt:16)
        at com.bytedance.android.plugin.AabResGuardPlugin$apply$1$1.execute(AabResGuardPlugin.kt:25)
        at com.bytedance.android.plugin.AabResGuardPlugin$apply$1$1.execute(AabResGuardPlugin.kt:16)
        at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1$1.run(DefaultCollectionCallbackActionDecorator.java:100)
        at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.reapply(DefaultUserCodeApplicationContext.java:58)
JingYeoh commented 3 years ago

@kaedea @Yuongzw Please update AabResguard version to 0.1.9 and try again

LuCkY1314 commented 3 years ago

@kaedea @Yuongzw Please update AabResguard version to 0.1.9 and try again

there is no 0.1.9 version