Is there a way to dynamically change the package of the generated file .BuildConfig?
I want to use build.gradle
file to use the applicationId
and change the package name between different builds.
Thanks
I had also ApplicationId or Package declared in AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="xxx">
Replacing xxx
fixed my problem.
The applicationId field just changes the packagename in the manifest. All classes will be still in the original package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With