[英]Android studio package name error
I've imported a project from Eclipse and after sorting through a massive amount of bugs, this is last bug for which I can't find a solution. 我已经从Eclipse导入了一个项目,经过大量的错误分类之后,这是我找不到解决方案的最后一个错误。
At the top of my Java classes I receive an error about my package: 在我的Java类的顶部,我收到有关我的软件包的错误:
Package name 'com.example.appname' does not correspond with filepath 'androidTest.example.appname' 套件名称'com.example.appname'与档案路径'androidTest.example.appname'不对应
Does anyone have a solution? 有没有人有办法解决吗?
在androidTest
源根目录androidTest
包名称从example.appname
更改为com.example.appname
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.