When the app is published to the application platform, you need to pack a signature, this time you will encounter some headaches, such as packaging failure will appear failed to export application error. I'll tell you a little bit about my deep experience here. Why is this article a way of thinking, not a solution? Because 1000 readers have 1000 Hamlet, different ADT environment will have a variety of wonderful problems, so I dare not guarantee to solve all the problems of packaging failure, the body provides a solution to the problem of the idea. For reference only.
1, check the error details, according to the details of the reason for the search error code
When packaging appears failed to export application do not panic, if you can view the details, that is, see details that is OK, this time click to view the details, there will always be an error, and then Go to Google or StackOverflow , like the following question
Http://stackoverflow.com/questions/8506781/failed-to-export-android-application-eclipse
or http://stackoverflow.com/questions/9098684/android-failed-to-export-application-with-error-1073741819
2, according to the log log error prompts to search or modify
These questions can be searched, but what if I don't see the detailed error? Don't panic, you can look directly at log.
Log your work space---workspace. metadata file
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6C/7C/wKiom1VKCUeA0Ph_AAFzbRyzk_c387.jpg "title=" 2015-05-06_202824.png "alt=" Wkiom1vkcuea0ph_aafzbryzk_c387.jpg "/>
The sort in log is accumulated as time goes down. So we just need to find the last log.
Like what
! MESSAGE Product adtproduct could not being found.
! ENTRY org.eclipse.egit.ui 2 0 2015-05-06 20:06:44.913
! MESSAGE warning:egit couldn ' t detect the installation path "Gitprefix" of native Git. Hence EGit can ' t respect system level
git settings which might is configured in ${gitprefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is CORE.AUTOCRLF. Git for Windows By default sets this parameter to true in
This system level configuration. The Git installation location can is configured on the
Team > Git > Configuration Preference page ' s ' System Settings ' tab.
This warning can is switched off on the Team > Git > Confirmations and Warnings preference page.
! ENTRY org.eclipse.egit.ui 2 0 2015-05-06 20:06:44.918
! MESSAGE warning:the environment variable HOME is not set. The following directory would be used to store the Git
User global configuration and to define the default location to store repositories: ' C:\Users\ydzy_ '. If this is
Not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can is switched off on the Team > Git > Confirmations and Warnings preference page.
! ENTRY Org.eclipse.ui 2 2 2015-05-06 20:08:20.327
! MESSAGE Invalid Property Category Path:validationpropertiespage (Bundle:org.eclipse.wst.xml.ui, PropertyPage: Org.eclipse.wst.xml.ui.propertyPage.project.validation)
! ENTRY Org.tigris.subversion.subclipse.core 4-6 2015-05-06 20:08:39.031
! MESSAGE Could not remove D:\wo_2015_2_26\SmokerTreasure\bin\dexedLibs\ Sharesdk-core-2.5.7-4ded32aebe63ec39c806e661b9a56f1d.jar
! STACK 0
Java.lang.IllegalStateException:Could not remove D:\wo_2015_2_26\SmokerTreasure\bin\dexedLibs\ Sharesdk-core-2.5.7-4ded32aebe63ec39c806e661b9a56f1d.jar
At org.tigris.subversion.subclipse.core.resourceslisteners.revertresourcemanager$ Revertworkspacejob.revertresources (revertresourcemanager.java:65)
At org.tigris.subversion.subclipse.core.resourceslisteners.revertresourcemanager$ Revertworkspacejob.runinworkspace (revertresourcemanager.java:85)
At Org.eclipse.core.internal.resources.InternalWorkspaceJob.run (internalworkspacejob.java:38)
At Org.eclipse.core.internal.jobs.Worker.run (worker.java:53)
such as the export Wizard error and other words, you can see the specific reasons or Google
This article is from the "unity of Knowledge" blog, please be sure to keep this source http://poarry.blog.51cto.com/5970996/1643594
Android Development Package signature appears-failed to export application solution idea