Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

AGP 3.5.0 - Could not find the AndroidManifest.xml file, using generation folder #2229

Copy link
Copy link
@YarikSOffice

Description

@YarikSOffice
Issue body actions

Getting the same issue with #2128 using the latest Android Gradle Plugin 3.5.0.

Android Gradle Plugin version: 3.5.0-beta03
AndroidAnnotations version: 4.6.0
Android compile SDK version: 28
build.gradle:

    annotationProcessor "org.androidannotations:androidannotations:4.6.0"
    implementation "org.androidannotations:androidannotations-api:4.6.0"

Stacktrace in case of AA crash:

error: Could not find the AndroidManifest.xml file, using  generation folder [**/build/generated/ap_generated_sources/debug/out])

Temporary Workaround
Add the following code in build.gradle file for each module that uses AA library.

    defaultConfig {
        javaCompileOptions {
            annotationProcessorOptions {
                arguments = [
                        "androidManifestFile": "$projectDir/src/main/AndroidManifest.xml".toString()
                ]
            }
        }
    }
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.