Android Market Publishing Issues

。_饼干妹妹 提交于 2020-01-04 06:49:32

问题


I have an app which I have just updated to froyo to take advantage of the move to SD card feature. I am now trying to upload the update to the market but I keep getting the following error: "The file is invalid: W/ResourceType( 7193): Bad string block: last string is not 0- terminated ERROR getting 'android:label' attribute: attribute is not a string value". I changed the value in the manifest from "android:label="@string/app_name" " to "android:label="test" " and uploaded it, then it started complaining about the icon, saying that it wasn't a string. Anyone have any ideas? The application part of my manifest is shown below and I'm properly confused. The app compiles into an APK, it even installs and runs fine on my N1 (installing from SD card) it just won't upload to the market. Any help would be greatly appreciated, I have absolutely no idea what's wrong, seems like I've tried everything I can think of including re-installing eclipse. Cheers Steve


回答1:


Did you run zipalign against it?

If you right click on your project in eclipse, you can go to Android tools, then export signed Application Package. This does the zipalign and walks you through the signing process.

EDIT: Please try defining all of your resources - it appears that some/all of your string/icon/etc resources have not been defined. Eclipse takes care of all of these things under normal circumstances, so I'm not sure what led up to this situation?



来源:https://stackoverflow.com/questions/2915001/android-market-publishing-issues

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