steps to modify apk
Quote:
Originally Posted by bobukcat
Thanks again to all the people who make all the tools to enable a total NOOB like me to get this working! I expect Google to release the applications I needed tomorrow now that I have this working. 
|
Hi, bobukcat - great to see that you have the Nexus Q app working on your ICS device - could you share how you did this?
Did you grab the APK from a JB device and somehow change the AndroidManifest.xml to < 16 and then repackage, sign, & zipalign to an apk via Eclipse, command-line or some other tools?
I have a Xoom (stingray) with ICS 4.0.4 as well as the Google Play app v 4.3.606.
On Edit
As it always happens, once I post/ask a question, I got around to figuring it out myself - I modified the minSdkVersion and targetSdkVersion to 15 (from 16) and installed on my Xoom/ICS - works great
Steps
0. I had the android sdk on my laptop and the android platform tools in my path (I'm on Win x64)
1. I grabbed the apk from a 4.1 device (adb pull path_to_nexusq.apk
2. using apktool, I expanded the apk
3. using a text editor (I like sublime text2), I changed the relevant values in the AndroidManifest.xml
4. repackaged using apk
5. signed with the android debug key (the repackaged apk needs to be signed to be installed)
6. installed by adb install
|