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

[Gradle issue] Gradle 7.0 编译问题 #75

Open
bbjsmart opened this issue Nov 16, 2021 · 5 comments
Open

[Gradle issue] Gradle 7.0 编译问题 #75

bbjsmart opened this issue Nov 16, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@bbjsmart
Copy link

Some problems were found with the configuration of task ':app:aabresguardRelease' (type 'AabResGuardTask').

  • Type 'com.bytedance.android.plugin.tasks.AabResGuardTask' property 'aabResGuard' is missing an input or output annotation.
  • 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.
@bbjsmart bbjsmart added the bug Something isn't working label Nov 16, 2021
@sebthom
Copy link

sebthom commented Dec 6, 2021

As a workaround you can use

buildscript {
  repositories {
    mavenCentral()
    mavenLocal()
    google()
    maven { url 'https://raw.githubusercontent.com/martinloren/AabResGuard/mvn-repo' }
   }
  dependencies {
    classpath "com.bytedance.android:aabresguard-plugin:0.1.10"
  }
}

@eakteam
Copy link
Contributor

eakteam commented Dec 15, 2021

As a workaround you can use

buildscript {
  repositories {
    mavenCentral()
    mavenLocal()
    google()
    maven { url 'https://raw.githubusercontent.com/martinloren/AabResGuard/mvn-repo' }
   }
  dependencies {
    classpath "com.bytedance.android:aabresguard-plugin:0.1.10"
  }
}

Thank you !

@koala0x
Copy link

koala0x commented Jul 22, 2022

我也遇到了这个问题, 找不到0.1.10版本, 错误提示如下:

  - Type 'com.bytedance.android.plugin.tasks.AabResGuardTask' property 'obfuscatedBundlePath' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

@pol2edo
Copy link

pol2edo commented Oct 11, 2022

我也遇到了这个问题, 找不到0.1.10版本, 错误提示如下:

  - Type 'com.bytedance.android.plugin.tasks.AabResGuardTask' property 'obfuscatedBundlePath' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

maven { url 'https://raw.githubusercontent.com/martinloren/AabResGuard/mvn-repo' }

@zzh-xhz
Copy link

zzh-xhz commented Oct 10, 2023

作为解决方法,您可以使用

buildscript {
  repositories {
    mavenCentral()
    mavenLocal()
    google()
    maven { url 'https://raw.githubusercontent.com/martinloren/AabResGuard/mvn-repo' }
   }
  dependencies {
    classpath "com.bytedance.android:aabresguard-plugin:0.1.10"
  }
}

Execution failed for task ':app:aabresguardRelease'.

the mapping file packageName is malformed, it should be like com.bytedance.android.ugc.R.attr.test, yours 25

  • 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.
我的继续报错这个 错误 你的咋解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants