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

AndroidManifest.xml's package is deprecated -> android.namespace #233

Closed
TWiStErRob opened this issue May 24, 2022 · 0 comments · Fixed by #450
Closed

AndroidManifest.xml's package is deprecated -> android.namespace #233

TWiStErRob opened this issue May 24, 2022 · 0 comments · Fixed by #450
Labels
a:refactor internal change without functional change in:test test module and project tests on:agp issue related to Android Gradle Plugin
Milestone

Comments

@TWiStErRob
Copy link
Owner

TWiStErRob commented May 24, 2022

package="net.twisterrob.gradle.test_app" found in source AndroidManifest.xml: C:\Users\TWiStEr\AppData\Local\Temp\junit14615780477733211208\src\main\AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

Does this mean manifest is not necessary any more?
It's unclear which version introduced this.

Example test: net.twisterrob.gradle.android.KotlinPluginIntgTest#can test kotlin with JUnit in Android Test App

@TWiStErRob TWiStErRob added a:refactor internal change without functional change on:agp issue related to Android Gradle Plugin in:test test module and project tests labels May 24, 2022
@TWiStErRob TWiStErRob added this to the v0.15 milestone May 24, 2022
@TWiStErRob TWiStErRob mentioned this issue Jan 29, 2023
18 tasks
@TWiStErRob TWiStErRob modified the milestones: v0.15, v0.16 Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:refactor internal change without functional change in:test test module and project tests on:agp issue related to Android Gradle Plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant