Skip to content Skip to sidebar Skip to footer

Error Launching First Test Application: Android Packaging Problem?

Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first [project] Android Packaging Problem I've never worked with Java or ecli

Solution 1:

Go to Project -> Clean

It will rebuilt workspace and fix the errors if any.


Solution 2:

As I said, I had the same problem so I tried all the different versions and then I stopped filling in the SDK-version number and finally it did not complain anymore about the wrapper. After that it was totally fine to write the SDK-version when I created new projects.

Hope it works out for you too.


Solution 3:

Had the same problem (running on Windows 7). I resolved it by running Eclipse with Administrator privileges.


Solution 4:

try to run eclipse under administrator permission. Problem may be resolve.

I think you installed the SDK in "Program Files" folder . So for do something inside, must have administrator permission.


Solution 5:

One thing that may help is to create a new test Android project.

  1. In Eclipse, select File → New → Android Project.
  2. Set the project name to "Test3", check Android 2.3 for the build target, type "com.example.android.apps.test3" for the package name, and type "Test3Activity" in the "Create Activity:" text box. The form should look like:

    Screenshot of the resulting New Android Project form

  3. Click Finish.

  4. Expand the entry for "Test3" in the Package Explorer. Navigate to res/values/strings.xml. Double click on the entry for strings.xml:

    Screenshot of "Test3" in the Package Explorer

  5. Set the text content of the string element having name "app_name" to "Test3":

    Screenshot of XML editor with the described changes to strings.xml

  6. Right click on "Test3" in the Package Explorer and select Run As → Android Application. The emulator should open and after a long while, you should see:

    Screenshot of the Test3 app running within the emulator

If these steps do not work, then you probably have an error in your installation.

Try it out and let me know.


Post a Comment for "Error Launching First Test Application: Android Packaging Problem?"