Android Platform Developer's Guide




Download 1.28 Mb.
bet9/95
Sana22.12.2019
Hajmi1.28 Mb.
#4580
1   ...   5   6   7   8   9   10   11   12   ...   95

Troubleshooting


The following error is likely caused by running an outdated version of Java.

device Dex: core UNEXPECTED TOP-LEVEL ERROR:

java.lang.NoSuchMethodError: method java.util.Arrays.hashCode with

signature ([Ljava.lang.Object;)I was not found.

at com.google.util.FixedSizeList.hashCode(FixedSizeList.java:66)

at com.google.rop.code.Rop.hashCode(Rop.java:245)

at java.util.HashMap.hash(libgcj.so.7)

[...]


dx is a Java program that uses facilities first made available in Java version 1.5. Check your version of Java by executing % java -version in the shell you use to build. You should see something like:

java version "1.5.0_07"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)

Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

If you do have Java 1.5 or later and your receive this error, verify that you have properly updated your PATH variable.


Download 1.28 Mb.
1   ...   5   6   7   8   9   10   11   12   ...   95




Download 1.28 Mb.

Bosh sahifa
Aloqalar

    Bosh sahifa



Android Platform Developer's Guide

Download 1.28 Mb.