Error when trying to export android project to apk

2019-09-03 09:29发布

问题:

I cannot resolve this problem and I am here for help. When I try to export my android project to apk in eclipse (any way - by exporting signed or unsigned application project) I'm receiving an error -

"Failed to export application Command-line Error -1073741816 ". 

I have all the tools provided from google (SDK, ADT etc. from this one package - http://developer.android.com/sdk/index.html ). I read here that this is a java 7 problem - so, I reinstalled it to java 6, changed settings in eclipse preferences and this doesn't helped. Another step was installing eclipse from eclipse website, and separately SDK from google and ADT. Doesn't help. Any ideas?

回答1:

In Eclipse, go to Project -> Build Automatically and uncheck it. Then, try to export again using the Android Tools.