Android Studio not installing application into device

17,974

Solution 1

Take a look at your installed apps list at the device.

  1. If your app really isn't installed, try adding this:

    android:exported="true"
    

To the main activity at the AndroidManifest.xml.

  1. In other case, if your app appears in that list but you can't find a shortcut to it, just add this:

    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    

To the main activity at the AndroidManifest.xml. I hope I've helped someone.

Solution 2

I may be late and the question was answered for sure. On my end the problem was as mentioned above the

<activity android:exported="true" \>

in my manifest file.

happy coding day!!

Share:
17,974
Malwinder
Author by

Malwinder

Updated on June 25, 2022

Comments

  • Malwinder
    Malwinder almost 2 years

    I am making project on Android Studio. Now, when i Run the application on device, Android Studio failed to install it on the target device (not emulator). It is showing only this message:

    Waiting for device.
    Target device: samsung-nexus_s-3133E2A0C87E00EC
    Uploading file
        local path: /home/aaaa/Desktop/aaab/app/build/outputs/apk/app-debug.apk
        remote path: /data/local/tmp/com.aab.aabc
    

    Android Studio is not installing the application on device. Please help.