java - "Failed to export application" in Eclipse 4.4.1 for Android with ADT 23.0.4 -
when want export android app eclipse, export process starts after few seconds (when whole process should take minute) fails. following error message appears:
failed export application
that's eclipse telling me. i'm using ecliipse 4.4.1 android development toolkit 23.0.4.1468518.
when right-click app, choose "android tools" , "export unsigned application package", fails again, more verbose error messages:
as can see, says:
'android release export' has encountered problem.
failed export application
and strangely, lists file bin/$1$1.class
apparently cannot found. there's no obvious reason why file shouldn't found, however.
only when delete folders bin
, gen
, clear project, works. once -- , after every successful run on device or export apk, have repeat step described before.
any ideas why happens? lot in advance!
i had multiple issues export application package in eclipse before. switching project - build automatically off helped, deleting bin
folder , cleaning project helped. best , working solution found migration ant
build.
if interested, here how works. surprisingly simple. navigate project's folder , execute
android update project -p .
it created build.xml file. repeat same used library projects, if any. , done. calling ant release
create released apk-file. if want app signed, add key.store
, key.alias
, key.store.password
, key.alias.password
local.properties file inside project. can build new apk single command. hope can you.
Comments
Post a Comment