{"id":401,"date":"2007-12-01T08:22:17","date_gmt":"2007-12-01T12:22:17","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=401"},"modified":"2011-12-17T12:24:45","modified_gmt":"2011-12-17T16:24:45","slug":"important-google-android-skill-my-applications-dont-seem-to-get-updated","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2007\/12\/important-google-android-skill-my-applications-dont-seem-to-get-updated\/","title":{"rendered":"Important Google Android Skill &#8211; My Applications don&#8217;t seem to get updated!"},"content":{"rendered":"<p>If you keep making modifications and they are *not* making it down to your Android device you can wipe out the versions of the app on our device as follows.  For example &#8211; I simply added a Log.i method to the onCreate method and it *never* came out &#8211; I thought I was crazy.  I figured I was doing something wrong.<\/p>\n<p>\nI don&#8217;t know why it does not just overwrite the files on my Emulator &#8211; but by blasting the files on the emulator life gets much better.<\/p>\n<p>\nStart this process with Eclipse up and running and the emulator up and running &#8211; hey try to update your app.<\/p>\n<pre>\n$ cd \/Users\/csev\/dev\/android_sdk_darwin_m3-rc20a\/tools\n$ .\/adb devices\nList of devices attached\n1\temulator-tcp-5555\tdevice\t0\n$ .\/adb shell\n# ls\ndrwxr-xr-x root     root              1969-12-31 19:00 var\ndrwxrwxrwt root     root              2007-12-01 08:06 tmp\ndrwxr-xr-x root     root              2007-11-11 15:59 system\ndrwxr-xr-x root     root              1969-12-31 19:00 sys\ndrwxr-xr-x root     root              1969-12-31 19:00 sbin\ndr-xr-xr-x root     root              1969-12-31 19:00 proc\n-rwxr-xr-x root     root        93824 1969-12-31 19:00 init\ndrwxr-xr-x root     root              1969-12-31 19:00 etc\ndrwxrwx--x system   system            2007-11-11 15:59 data\ndrwx------ root     root              1969-12-31 19:00 root\ndrwxr-xr-x root     root              2007-12-01 08:06 dev\n# cd data\n# cd app\n# ls\n-rw-rw-rw- root     root       139313 2007-12-01 08:06 Lunar.apk\n-rw-r--r-- system   system    1325833 2007-11-11 15:59 ApiDemos.apk\n-rw-rw-rw- root     root       139233 2007-11-13 16:50 Toozday.apk\n-rw-rw-rw- root     root        49781 2007-11-29 08:01 Twitter.apk\n-rw-rw-rw- root     root        51506 2007-11-29 12:21 Hello.apk\n-rw-rw-rw- root     root        11931 2007-11-29 12:32 H2.apk\n-rw-rw-rw- root     root        54804 2007-11-29 18:48 SkeletonActivity.apk\n-rw-rw-rw- root     root        11931 2007-11-29 19:49 H3.apk\n-rw-rw-rw- root     root       139591 2007-11-30 20:07 LunarLander.apk\n# rm Too*\n# rm Hello*\n# rm H2*\n# rm H3*\n# rm Ske*\n# rm L*\n# rm T*\n# ls\n-rw-r--r-- system   system    1325833 2007-11-11 15:59 ApiDemos.apk\n#   (Exit with CTRL-D)\n<\/pre>\n<p>\nThen run the app again &#8211; Voila!<\/p>\n<p>\nSO far once I have done this &#8211; I can re-download again the normal way &#8211; if I get stuck and downloads seem not to be overwriting the app on the emulator &#8211; blast away!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you keep making modifications and they are *not* making it down to your Android device you can wipe out the versions of the app on our device as follows. For example &#8211; I simply added a Log.i method to the onCreate method and it *never* came out &#8211; I thought I was crazy. I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-401","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=401"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/401\/revisions"}],"predecessor-version":[{"id":2506,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/401\/revisions\/2506"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}