How to update old Android project for the updates in new Android SDK tools?

冷暖自知 提交于 2019-12-05 16:56:20

In the tools directory of the Android SDK, there's the executable android. You can use this to update a project by passing the path to the directory containing the AndroidManifest.xml:

$ANDROID_SDK/tools/android update project -p /path/to/my-android-project

This is documented on the SDK site under Managing Projects from the Command Line > Updating a Project.

The Eclipse plugin doesn't do this automatically, and there's no equivalent section in the Managing Projects from Eclipse with ADT page, so it looks like you have to use the command line tool.

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