Skip to content

'task ':app:generateCompanionDebugBuildConfig' property 'appPackageName'.loader.a.ActivityN1NRTS0' #1094

Description

@Haven-Byte

Execution failed for task ':app:processCompanionDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
/Users/admin/work/xk/xxxx/app/build/intermediates/merged_manifests/companionDebug/AndroidManifest.xml:1222: AAPT: error: attribute 'android:name' in tag must be a valid Java class name.

  • Try:
    Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Exception is:

只要我app模块中集成 implementation "com.qihoo360.replugin:replugin-host-lib:3.0.0"

apply plugin: 'replugin-host-gradle'已经在 applicationId 之下了

Image

apply plugin: 'replugin-host-gradle'
repluginHostConfig {
/**
* 背景不透明的坑的数量
* 不需要个性化配置时,无需添加
*/
countNotTranslucentStandard = 6
countNotTranslucentSingleTop = 2
countNotTranslucentSingleTask = 3
countNotTranslucentSingleInstance = 2
}

就会导致AndroidManifest.xml:1222 的内容为这个

'task ':app:generateCompanionDebugBuildConfig' property 'appPackageName'.loader.a.ActivityN1NRTS0'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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