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
Could you please remove package="fr.g123k.install_referrer" from the android manifest and move it to the build file?
Otherwise we get
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':install_referrer'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
> Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
Change the following: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="fr.g123k.install_referrer"> </manifest>
to <manifest xmlns:android="http://schemas.android.com/apk/res/android"> </manifest>
and add the namespace in the module's build file like the following in build.gradle:
The text was updated successfully, but these errors were encountered:
PeperMarkreel
changed the title
Please remove package namespace from Android manifest
Please move package namespace from Android manifest to build file.
Feb 18, 2024
@g123k
This issue needs addressing. People have even created PR for it. If you don't care about this project anymore, then delegate it to someone else.
Hi,
Could you please remove package="fr.g123k.install_referrer" from the android manifest and move it to the build file?
Otherwise we get
Change the following:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="fr.g123k.install_referrer"> </manifest>
to
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> </manifest>
and add the namespace in the module's build file like the following in build.gradle:
android { namespace "fr.g123k.install_referrer" compileSdkVersion 31
Thanks
The text was updated successfully, but these errors were encountered: