Android 工程重命名错误
16lz
2021-01-23
今天复制一个工程时,Rename Android Package出现如下错误:
An unexpected exception occurred while creating a change object.See the error log for more details.
没有其他提示,错误日志。后来在stackoverflow找到了一条建议:
You can not belive this. I have exactly the same problem and is because I comment a class entirely. So I think that when eclipse try to change the package name of a commented class it throw this error.
To solve the problem you only has to delete the class or uncomment it.
说工程中有注释的类,将其找出,删除或者解注释即可。果不其然!
更多相关文章
- 记录android studio 遇到的错误和解决办法
- 一个Android工程依赖了一个有 AndroidManifest.xml出现的错误
- android中使用fragment时出现如下错误 java.lang.RuntimeExcepti
- 在线安装ADT总是出现以下错误
- Android:Calling startActivity() from outside of an Activity
- 给 Android 开发工程师的一份面试指南,包含面试题集与简历模板。
- 在eclipse中将android工程打包成apk