7

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.

7
  • Make sure the device does not go to sleep while the apk is uploading/installing. In other words, keep the screen on until the task is completed. Commented Feb 2, 2015 at 12:21
  • Device screen is on for 2-3 minutes. Commented Feb 2, 2015 at 12:26
  • 1
    Check your USB cable. Try using another one. Else, use wifi to upload apk. - joelifernandes.com/android/… Commented Feb 2, 2015 at 12:33
  • How to upload apk using wifi? Commented Feb 2, 2015 at 12:36
  • There's a tutorial in the link posted in my last comment. Follow that. Commented Feb 2, 2015 at 12:37

4 Answers 4

4

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.

Sign up to request clarification or add additional context in comments.

Comments

4

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!!

Comments

-1

In my case, I was using an app(NetLimiter) to limit the download rate and upload rate so has to manage the data usage that my PC is using. Immediately I remove this rule for my android studio. My app installed immediately

Comments

-1

2hours into this and i realized that my device didnt have enough space... It have to have some free space to install some dependecies and other resources...

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.