Skip to content

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

@2906772552

Description

@2906772552

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'

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