Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failure [INSTALL_FAILED_INVALID_APK]

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 for device. Target device: 0123456789ABCDEF Uploading file     local path: /Users/Rui/AndroidStudioProjects/FirstAppProject/FirstApp/build/apk/FirstApp-debug-unaligned.apk     remote path: /data/local/tmp/rui.firstapp Installing rui.firstapp DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/rui.firstapp" pkg: /data/local/tmp/rui.firstapp Failure [INSTALL_FAILED_INVALID_APK] 

Any Idea of what it might be?

like image 938
RuiG Avatar asked Sep 28 '13 19:09

RuiG


1 Answers

I was getting this in Android Studio and all I did to fix it was go to "Build" > "Clean Project" and it just worked.

like image 66
Francois Dermu Avatar answered Oct 06 '22 05:10

Francois Dermu