Hardware Debugging Using Eclipse

Search This thread

parthnatu

Member
Nov 26, 2013
22
1
Mumbai
I started using ADT to develop new Android applications recently. After a number if tests,I found the emulator to be painfully slow for me. So I decided to use my Razr i to debug it directly. The device is recognized and shows up int the debug list. But when I try to run it, it cannot install the .apk file for my application and says "INVALID APK FILE". I've tried this with various other applications too and it still doesn't work (so I think I can eliminate the possibility of something being wrong with my app itself). Also, I am using Anerik's JellyAOSP ROM. Anybody for a fix?

Thanks.
 

5m00v3

Senior Member
Nov 26, 2013
154
50
Hamburg, DE
Hi, did you use the x86 Android libs? because Ri is x86 hardware... (just my silly idea)
Or didn´t export signed APK? U can make ur own key by File->AndroidTools->Export Signed APK...
Did you allowed "install unsigned Apps" in your Ri Settings?
Maybe some "Manifest" Settings / Permissions? Install Directory: Auto?

I don´t use my Ri to develop, so i never face this problem.
Also be sure to not use 64bit Java or 64bit ADT !!!
I can also test your APK on my Stock RI if u want...

greetz
 
Last edited: