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

Fix app package name clash with benchmark module #368

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Conversation

wojtek-kalicinski
Copy link
Contributor

A combination of build type app id suffix (".benchmark") and the "benchmark" module created a situation in which the main APK had same package name as the test APK, resulting in errors. Changing the name and namespace of the benchmark module to "benchmarks" fixes it.

Copy link
Collaborator

@dturner dturner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Please could you fix the merge conflicts.

@mmoczkowski
Copy link
Contributor

@wojtek-kalicinski ping :D

@wojtek-kalicinski wojtek-kalicinski force-pushed the wk/agp8-changes branch 2 times, most recently from 42fa4ac to de02216 Compare November 15, 2022 12:10
Change-Id: I5889ef4b9338a940f43efc7629dca155068588ec
@mmoczkowski mmoczkowski merged commit 28ffbb0 into main Nov 15, 2022
@mmoczkowski mmoczkowski deleted the wk/agp8-changes branch November 15, 2022 15:56
SimonMarquis added a commit to SimonMarquis/nowinandroid that referenced this pull request Feb 4, 2023
```
package="com.google.samples.apps.nowinandroid.uitesthiltmanifest" found in source 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.
```

For reference, this work was started in all these PRs:

- android#32
- android#333
- android#368
- android#460

This should be the last time we have to do this :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants