haipv1108 / androjena

Automatically exported from code.google.com/p/androjena
0 stars 0 forks source link

arqoid-0.5 and androjena-0.5 crashes Eclipse #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add arqoid-0.5, androjena-0.5, and other libs files to classpath
2. build project

What is the expected output? What do you see instead?
Expected: Project builds
Actual: Eclipse crashes with out of memory error.
If androjena is added only, project builds fine. If arqoid is added only, 
projects builds fine. If they are added at the same time together, project 
hangs and crashes.

If you're using a real device and not the emulated AVD, what is the device
model?
HTC Desire

What version of Android runs on your device/emulated AVD? (please put an X
next to the correct version)

Android 1.1
Android 1.5 (Cupcake)
Android 1.6 (Donut)
Android 2.0/2.1 (Eclair)
Android 2.2 (Froyo)
Android 2.3 (Gingerbread) X
Android 3.0 (Honeycomb)

What version of Android is your application targeting? (please put an X
next to the correct version)

Android 1.1
Android 1.5 (Cupcake)
Android 1.6 (Donut)
Android 2.0/2.1 (Eclair)
Android 2.2 (Froyo)
Android 2.3 (Gingerbread)
Android 3.0 (Honeycomb) X

What IDE/environment are you developing with? (Eclipse w/ ADT, Android SDK
w/ Apache Ant, ...)
Eclipse

What operating system and hardware is your IDE/development environment
running on?
Win 7

Please attach the following application files (when applicable):

- AndroidManifest.xml
- .classpath
- default.properties
- a full LogCat dump from application launch to exception/crash
- a meaningful portion of the source code where the exception is thrown

Please provide any additional detail below

Original issue reported on code.google.com by bitva...@gmail.com on 15 Jun 2011 at 7:54

Attachments:

GoogleCodeExporter commented 8 years ago
Another screenshot. This time I tried to compile straight from the source, no 
luck

Original comment by bitva...@gmail.com on 15 Jun 2011 at 10:10

Attachments:

GoogleCodeExporter commented 8 years ago
This is due to a low heap limit in your Eclipse configuration (Android's dx 
tool requires a lot of memory when used to compile large libraries). Please 
follow this guide to solve the problem:

http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse
%3F

Original comment by loreca...@gmail.com on 15 Jun 2011 at 10:46

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks, increasing the heap size has worked! Now it gives the exception:

java.lang.IllegalAccessError: Class ref in pre-verified class resolved to 
unexpected implementation

Original comment by bitva...@gmail.com on 16 Jun 2011 at 12:47

Attachments:

GoogleCodeExporter commented 8 years ago
This problem is apparently due to some compilation garbage left around by 
Eclipse when it crashes:

http://stackoverflow.com/questions/3621163/cannot-resolve-mapactivity-class-on-a
ndroid

Try closing eclipse, deleting the bin and gen folders, starting eclipse, 
cleaning up the project (you have to disable "build automatically"), and 
rebuilding; please let me know if it works thanks :)

Original comment by loreca...@gmail.com on 16 Jun 2011 at 1:08

GoogleCodeExporter commented 8 years ago
I've managed to solve the IllegalAccessError. Here's a link for others 
http://blog.js-development.com/2010/06/android-instrumentation-test.html

Original comment by bitva...@gmail.com on 16 Jun 2011 at 1:13