Error while running on android device!


#1

I have custom rom installed on my android device ! On previous custom rom i had no such issue… but yesterday i changed the rom !

now , app is not getting installed

ERROR

C:\xampp\htdocs\Ionic\hello_cardui\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                    ^
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device:  pkg:     
/data/local/tmp/android-debug.apk
Failure [INSTALL_FAILED_INVALID_APK]

It gets installed if i manually take the apk file and install it…! Any solution…


#2

Please tell me the solution for this… :pensive:


#3

Googled the error (INSTALL_FAILED_INVALID_APK) and this came up on Stackoverflow:

http://stackoverflow.com/questions/28242646/android-studio-failure-install-failed-invalid-apk

Looks like a file permission problem on your rom’s file system?


#4

thanks @leob i will try this


#5

That worked :slight_smile: Thanks alot @leob instead of linking i just changed the permissions for that path …thanks again


#6

Okay cool, glad I could help!