Installation Error: Unknown Android Application Error

I just installed the Android ADT package with the Eclipse IDE.

I created an Android Android simulator and I am trying to install and run my first application on it.

This is what I see in the console log

Android Launch! adb is running normally. Performing com.example.outlast.MainActivity11 activity launch Automatic Target Mode: Unable to detect device compatibility. Please select a target device. Uploading Outlast.apk onto device 'emulator-5554' Installing Outlast.apk... Installation error: Unknown failure Please check logcat output for more details. Launch canceled! 

The application I'm trying to install is almost empty. I just created a project with empty activity, and I'm trying to start it. It should work in accordance with the official Android developers page.

I do not know how to watch logcat output.

How can I solve this problem?

+9
java android eclipse
source share
8 answers

I finally solved my problem.

I was not able to install any application on the Android phone simulator because I did not wait long enough to load the Android phone, so Eclipse could not install anything on the simulator.

+9
source share

The best way to solve the problem is to open a terminal and use adb manager to restart the server. I am using Mac OSX and this should also work on Windows and Linux. Go to the sdk-> platform-tools folder and use the command to enter the following commands:

If you are using a Mac, use. / adb instead of adb.

adb kill-server (ENTER) adb start-server (ENTER)

optional: use adb devices to check for connected devices on your computer so that you know exactly if adb is working or not.

After detecting problems, do not try to disconnect the device and press the play button to install the application. When you see a window without devices, you need to reconnect the Android device to the computer and select it to successfully install your application.

+2
source share

You need to change the version of the device (emulator) for Android in accordance with the target version. If still not working, reboot the emulator.

+1
source share

Guys, I had the same problem and I used the following method: (Windows 8, Eclipse Luna)

1) Change the ADB connection time to 1000000ms 2) Use ADBhost 127.0.0.1 3) Change the profiler buffer size to 20 MB 4) Uncheck the Launcher box from the snapshot using the AVD emulator settings.

And of course, a few xD restarts

+1
source share

I am working on Windows 8.1, and I solved the same problem by following these steps:

  • Open command prompt
  • Browse to the /platform-tools folder ( C:/Sample/sdk/platform-tools/ )
  • Type adb KILL-SERVER and press enter
  • Type adb START-SERVER again and press enter
  • Close an already open eclipse and restart
  • Try to run the Android application and it will work
+1
source share

The same problem may occur if you install the application a while ago, and now you are trying to install it from another PC or to some other computer.

Although you did not install the system before installing a new application, the system supports some data related to the application. To overcome this, completely remove the application using the abd command.

 adb uninstall my.package.id 

Please refer to another root cause for the same problem . It helped me a lot, spending 5 hours of my time.

Eclipse simply says that “Installation Error: Unknown failure”, it does not provide information about the reason for the failure in the console window

To find out what the error message is, install apk with adb command

 > adb install app.apk 

Then we can see the error message as "Failed to install app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: package com.myapp.id does not match the previously installed version, ignoring!]"

This helps to understand the problem.

+1
source share

In the Play Store, click the menu on the left - my application and game - all tabs - delete application history - rebuild application

0
source share

Thanks Naresh,

You are right, error Installation error: Unknown failure was resolved in my case. I tried to install my updated application, I went from sdk 19 to 18, and I had to uninstall, and then the problem did not appear

Yours faithfully

0
source share

All Articles