Why does the Android version code and version name keep going back to 1 and 1.0?

孤人 提交于 2019-12-06 00:06:17

Here's what to do:

  1. Set android:versionCode to 2, android:versionName to 1.1 in the manifest. Clean project, build project.
  2. Delete project from Eclipse workspace.
  3. Go to project folder via your OS's file explorer.
  4. Delete project.properties, the LIKELY culprit.
  5. Import the project again in Eclipse.
  6. Right-click on project -> Properties -> Android -> Set the target SDK to API level 16.
  7. Export as Android app as usual.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!