Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8600253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:34:31+00:00 2026-06-12T01:34:31+00:00

I have problem with running an android application from eclipse on real android device

  • 0

I have problem with running an android application from eclipse on real android device

when I click on Run it just show me this error:
Installation error: INSTALL_FAILED_UID_CHANGED

Logcat:

[2012-09-09 14:38:26 - SearchApp] Android Launch!
[2012-09-09 14:38:26 - SearchApp] adb is running normally.
[2012-09-09 14:38:26 - SearchApp] Performing com.example.MainActivity activity launch
[2012-09-09 14:38:26 - SearchApp] Automatic Target Mode: using device 'cff192abd7f551f'
[2012-09-09 14:38:26 - SearchApp] Uploading SearchApp.apk onto device 'cff192abd7f551f'
[2012-09-09 14:38:27 - SearchApp] Installing SearchApp.apk...
[2012-09-09 14:38:28 - SearchApp] Installation error: INSTALL_FAILED_UID_CHANGED
[2012-09-09 14:38:28 - SearchApp] Please check logcat output for more details.
[2012-09-09 14:38:28 - SearchApp] Launch canceled!
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:34:33+00:00Added an answer on June 12, 2026 at 1:34 am

    I EVENTUALLY FOUND THE SOLUTION FOR INSTALL_FAILED_DEXOPT and INSTALL_FAILED_UID_CHANGED ERROR

    After lot of testing a vary of tricks in vain, I eventually found the main solution to solve this sticky problem forever!

    I think the problem is caused by an Eclipse bug! , in fact eclipse can not copy and install built APK file just because of a string name(described further)

    I should add that when you use tricks on internet such as delete package name folder in data/data you will face a new sticky error “INSTALL_FAILED_DEXOPT“

    So lets see how to solve INSTALL_FAILED_DEXOPT and INSTALL_FAILED_UID_CHANGED

    In my case, when i check the log cat i noticed below lines:

    09-30 19:03:19.882: I/PackageManager(314): Running dexopt on: com.example.searchapp
    09-30 19:03:19.921: E/dalvikvm(6129): Invalid name: 'search_‌country_name'
    09-30 19:03:19.921: E/dalvikvm(6129): Trouble with item 226 @ offset 0x2094
    09-30 19:03:19.921: E/dalvikvm(6129): Cross-item verify of section type 0004 failed
    09-30 19:03:19.921: E/dalvikvm(6129): ERROR: Byte swap + verify failed
    09-30 19:03:19.961: E/dalvikvm(6129): Optimization failed
    09-30 19:03:19.961: W/installd(144): DexInv: --- END '/data/app/com.example.searchapp-1.apk' --- status=0xff00, process failed
    09-30 19:03:19.961: E/installd(144): dexopt failed on '/data/dalvik-cache/data@app@com.example.searchapp-1.apk@classes.dex' res = 65280
    09-30 19:03:19.961: W/PackageManager(314): Package couldn't be installed in /data/app/com.example.searchapp-1.apk
    

    As you can see the second line is: Invalid name: ‘search_‌country_name’

    This is one of my string names in String.xml

    So I delete this string and comment all referenced codes

    Then I delete the package name folder in /data/data (if you are using a actual device you should have root access , if you are using emulator just wipe data before opening emulator or make a new AVD)

    Now the problem is solved!

    You can easily continue coding!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running Windows Vista and have an error in my Android application which
I'm developing an Android application and I have a problem running a new thread
I keep getting the error java.lang.NoClassDefFoundError: com.facebook.android.Facebook when running my application. This occurs when
I'm developing a chat application in Android and have run into a massive problem.
I'm a beginner with jdbc ... I have a problem running this code :
I have a problem in running a new project which I downloaded from github.
I am running into a problem with bitmaps on an Android application I am
I have an Android app, in which Activities fire long running operations that run
I'm trying to get a PhoneGap application for Android running (using Eclipse with PhoneGap
I have a weird problem in the setup of my Android application which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.