{"id":596,"date":"2018-03-02T17:03:19","date_gmt":"2018-03-02T17:03:19","guid":{"rendered":"http:\/\/netpipe.ca\/?page_id=596"},"modified":"2018-03-02T17:03:19","modified_gmt":"2018-03-02T17:03:19","slug":"android-dev","status":"publish","type":"page","link":"https:\/\/netpipe.ca\/?page_id=596","title":{"rendered":"Android Dev"},"content":{"rendered":"<p>#!\/bin\/bash<\/p>\n<p>#use line below to update the project to a new platform<br \/>\n#\/home\/Dev\/android-sdk-linux\/tools\/android update project &#8211;path . &#8211;target android-19<\/p>\n<p>export ANDROID_HOME=\/home\/Dev\/android-sdk-linux<br \/>\nexport PATH=:\/home\/Dev\/android-sdk-linux\/tools\/lib:\/home\/Dev\/android-sdk-linux\/tools:\/home\/Dev\/android-sdk-linux\/platform-tools:\/home\/Dev\/android-ndk-r10e<\/p>\n<p>export ANDROID_NDK=\/home\/Dev\/android-ndk-r10e<br \/>\nexport PATH=.:\/home\/micha\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin:\/usr\/X11R6\/bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/games:\/:$ANDROID_HOME\/tools:$ANDROID_HOME\/platform-tools:\/home\/Dev\/android-ndk-r10e<\/p>\n<p>.\/..\/..\/..\/..\/ndk-build &amp;&amp; ant debug &amp;&amp; adb install -r bin\/NativeActivity-debug.apk &amp;&amp; adb kill-server<\/p>\n<p>#exit 0<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>#!\/bin\/bash<\/p>\n<p>#adb shell<br \/>\n#logcat-enable<br \/>\n#reboot<\/p>\n<p>#also side not i had to enter *#*#2846579#*#* Go to &#8220;ProjectMenu&#8221; -&gt; &#8220;Background Setting&#8221; -&gt; &#8220;Log Setting&#8221;<br \/>\n#Open &#8220;Log switch&#8221; and set it to ON. on an android 2.3<\/p>\n<p>#adb -d logcat -c;adb logcat Irrlicht:V DEBUG:V *:S<\/p>\n<p>adb logcat<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>#!\/bin\/bash<\/p>\n<p>.\/..\/..\/..\/..\/ndk-build clean<\/p>\n<p>#exit 0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#!\/bin\/bash #use line below to update the project to a new platform #\/home\/Dev\/android-sdk-linux\/tools\/android update project &#8211;path . &#8211;target android-19 export ANDROID_HOME=\/home\/Dev\/android-sdk-linux export PATH=:\/home\/Dev\/android-sdk-linux\/tools\/lib:\/home\/Dev\/android-sdk-linux\/tools:\/home\/Dev\/android-sdk-linux\/platform-tools:\/home\/Dev\/android-ndk-r10e export ANDROID_NDK=\/home\/Dev\/android-ndk-r10e export PATH=.:\/home\/micha\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin:\/usr\/X11R6\/bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/games:\/:$ANDROID_HOME\/tools:$ANDROID_HOME\/platform-tools:\/home\/Dev\/android-ndk-r10e .\/..\/..\/..\/..\/ndk-build &amp;&amp; ant debug &amp;&amp; adb install -r bin\/NativeActivity-debug.apk &amp;&amp; adb kill-server #exit 0 &nbsp; &nbsp; &nbsp; #!\/bin\/bash #adb shell #logcat-enable #reboot #also side not i had to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":100,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-596","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=596"}],"version-history":[{"count":1,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/596\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/596\/revisions\/597"}],"up":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/100"}],"wp:attachment":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}