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?
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...
Android One is a Google initiative set to bring an AOSP-like experience tosome emergingmarkets like India, … more
15 Sep 2014
By Tomek Kondrat
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?