1. Are you ready for the Galaxy S20? Here is everything we know so far!

Dalvik format and cannot find .apk

Discussion in 'Android Apps & Games' started by zacoid55, Jun 4, 2010.

  1. zacoid55

    zacoid55 Lurker
    Thread Starter

    Hey guys, I have just started some tutorial projects for android on the official site. I'm sure a few of you are familiar to this, one in particular is called HelloGridView tutorial, it obviously being a tutorial to help you set some images up in a grid view.

    I have followed everything to a tee from what I can see, there are no errors until I compile or save which comes up with the error: "Conversion to Dalvik format failed with error 1".

    1. I have ran the cleaner on several occasions now, with and without the checked build automatically selection.
    2. I have deleted it from the workspace and then re-imported it
    3. I deleted the error, ran it and it then said that it could not find "HelloGridView.apk"

    I have searched around the net and none of what I have found has been very useful as it is pre-dated. I am using the latest eclipse and android 2.1 and have also tried 2.2.

    I am a java/android noobie so be gentle!

    Any suggestions would be very helpful

  2. GTbrewer

    GTbrewer Well-Known Member

    I'm getting the same error. A series of errors, in fact, that start with
    java.lang.IllegalArgumentException: already added: Lorg/json/JSONArray;
    and end with the above error you mention.

    It seems that one is a popular error, but nobody seems to be getting any
    answers..... My full error listing is under "Stuck in Chapter 6 in Learning Android".

Share This Page