Error when running Android app

我的未来我决定 提交于 2019-12-05 19:39:00

Try

Right click your Project > Android tools > Add support library

Also check https://code.google.com/p/android/issues/detail?id=61710

Try removing the Android Dependencies from your project, in addition to the above suggestions.

Steps:

  1. Right Click on your project -> Build Path -> Configure Build Path...
  2. Remove Android Dependencies from the Libraries tab.

This worked in my case, but removing the Android Dependencies may introduce errors in your project. So, be sure to review the project dependencies.

Try right click your project > android > Project build Target >select less version than 4.4 and try to clean the project.

It worked for me. :)

right click your project > android > Project build Target >select less version than 4.4

Also check Make sure that the value of android:targetSdkVersion in AndroidManifest.xml matches target=android- in project.properties. If these two values are not the same, building with build tools version 19.0.0 will end in the BufferOverflowException. After That Clean Project it works for me :)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!