i doing test app requires gcm (google cloud messaging) calling this:
googlecloudmessaging gcm = googlecloudmessaging.getinstance(this);
so, , added google-play-services_lib in workspace , , added main project's build path.
whenever trying run main project, error :
[2015-05-08 12:21:37 - dex loader] unable execute dex: java heap space [2015-05-08 12:21:37 - gcmtester] conversion dalvik format failed: unable execute dex: java heap space
i have tried cleaning , rebuilding, restarting eclipse, pc, etc.
my target sdk android 5.1.1, , have physical device debugging, runs 5.0.1
after reaching 99% in progress, launching stuck, , after few minutes, heap space error.
i had same problem yours. have deleted library workspace. , removed reference project.
and again created fresh copy of library , added reference project , every thing has worked.
Comments
Post a Comment