https://kotlinlang.org logo
#android
Title
# android
p

pawel.rybicki

05/29/2017, 10:00 AM
do you have any ideas? : )
w

wasyl

05/29/2017, 6:24 PM
pawel.rybicki: It seems that you can’t use the placeholder for the package in the manifest. Just like the error says. Why do you think it should be possible despite the error message?
p

pawel.rybicki

05/30/2017, 7:19 AM
Cuz I could swear that I did it in the past! : )
it was long time ago so either it was possible and they changed something or I just got my mind fked : P
w

wasyl

05/30/2017, 9:21 AM
Previously the application id was retrieved from the manifest. Later on (long time ago, though) it was changed so that package in manifest is only sort of base package for the components. So you can write e.g.
.MyApplication
instead of
com.example.package.MyApplication
in the Manifest. It wouldn’t make much sense to modify manifests package based on application id. The upside is that now application id in gradle is exactly the package under which your app is installed on the device