天复制一个工程时,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.


说工程中有注释的类,将其找出,删除或者解注释即可。果不其然!



更多相关文章

  1. 记录android studio 遇到的错误和解决办法
  2. 一个Android工程依赖了一个有 AndroidManifest.xml出现的错误
  3. android中使用fragment时出现如下错误 java.lang.RuntimeExcepti
  4. 在线安装ADT总是出现以下错误
  5. Android:Calling startActivity() from outside of an Activity
  6. 给 Android 开发工程师的一份面试指南,包含面试题集与简历模板。
  7. 在eclipse中将android工程打包成apk

随机推荐

  1. Android(安卓)Mms之短信接收流程--从Fram
  2. Android(安卓)Content Provider基础
  3. android avd2.2获取街道信息:Geocoder, “
  4. android apk--程序发布前的准备
  5. Android(安卓)dispatchTouchEvent源码分
  6. Android(安卓)自动开关机
  7. Android上下左右手势滑动事件处理
  8. android footer view
  9. Android开发指南(43) —— Location and
  10. 配置android的adb环境变量