When I click to run a project I just created in Android Studio 0.2.10 and select my Android (connected by USB with debug by USB on) I get this error:
Waiting
I had this issue and none of the above solutions worked for me.
The reason is probably root version phone that has available quota or apk install permissions only at the sdcard.
I fixed the issue using ADB (you'll need a rooted device):
I got this issue on a project with Dagger and multiple modules. What worked for me (none of the above worked) was to 1) empty the .gradle folder 2) empty the .idea folder 3) In project gradle.properties, mark org.gradle.caching=false 4) Possibly invalidate caches in AS, clean, rebuild
You may be able to get away with just #3, clean then build.
EDIT: Lately I've been able to get around this by restarting AS, then doing a clean, then install again.
I ran into this issue by having mismatched build variants. A Dynamic Delivery module was on the debug variant while the remaining modules were on release. Simply changing the Dynamic Delivery module to release, rebuilding, and installing, fixed the issue.
I had this issue and none of the above solutions worked for me.
For some reason, the permissions weren't set correctly on my /data/local/tmp
directory (only root had rwx). I fixed the issue using ADB (you'll need a rooted device):
adb shell
/data/local
using cd /data/local
su
tmp
directory using chmod 777 tmp
I was getting this in Android Studio and all I did to fix it was go to "Build" > "Clean Project"
and it just worked.
I have used the androidquickstart maven archetype and faced the same problem:
My package name was an only androidquickstart. According to advices before
package="androidquickstart"
to package="androidquickstart.test"
and correspondingly removed test from other parts of xml <activity android:name=".test.HelloAndroidActivity" >
to <activity android:name=".HelloAndroidActivity" >