You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
AndroidManifestFinder tries to find the file, but it still only knows the old Eclipse project structure, where the xml was in the project root. Now, most projects use a different structure.
Gradle:
Dummy file: ./build/generated/source/apt{/flavor}{/buildtype}/**
Manifest: ./src/main/AndroidManifest.xml or *./build/manifests/full{/flavor}{/buildtype}/AndroidManifest.xml or ./build/bundles{/flavor}{/buildtype}/AndroidManifest.xml*
Maven:
Dummy file: ./target/generated-sources/**
Manifest: ./src/main/AndroidManifest.xml (better would be the merged manifest in target, but that is not always present at the time of processing)
Instead of the current behavior, we should try to match regex patterns according to the paths above. Then we can easily calculate the manifest path after we know the project root folder found by the regex.
If this algorithm fails to find the manifest, users can still explicitly specify it via the androidManifestFile processing option.