Reputation: 133
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.
Upvotes: 7
Views: 24457
Reputation: 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...
Upvotes: -1
Reputation: 129
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
Upvotes: -1
Reputation: 1087
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!!
Upvotes: 4
Reputation: 85
Take a look at your installed apps list at the device.
If your app really isn't installed, try adding this:
android:exported="true"
To the main activity at the AndroidManifest.xml.
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.
Upvotes: 4