When I try to build my project in Android Studio, it fails with this error: package pl.piku.malowanki.pl.piku.malowanki does not exist
.
I have set the namespace field in module's build.gradle file to the same as the package name ("pl.piku.malowanki"). I need to set the namespace field because androidx.activity:activity
requires it.
当我尝试在Android Studio中构建我的项目时,它失败了,并显示以下错误:Package pl.piku.Malowanki.pl.pikU.S.Malowanki不存在。我已经将模块的build.gradle文件中的NAMESPACE字段设置为与包名相同(“pl.pikU.S.Malowanki”)。我需要设置名称空间字段,因为androidx.active:Activity需要它。
I've tried setting the namespace to nothing, or removing package statement from classes.
我尝试过将命名空间设置为空,或者从类中删除Package语句。
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!