[{"data":1,"prerenderedAt":120},["ShallowReactive",2],{"post-\u002Fblog\u002F2018\u002Forangepi-2g-iot-android-sdk":3},{"id":4,"title":5,"body":6,"categories":107,"date":110,"description":64,"extension":111,"image":112,"meta":113,"navigation":115,"path":116,"seo":117,"stem":118,"__hash__":119},"blog\u002Fblog\u002F2018\u002Forangepi-2g-iot-android-sdk.md","OrangePi 2G-IOT Android 4.4 SDK",{"type":7,"value":8,"toc":100},"minimark",[9,14,18,21,24,32,36,54,65,69,72,78,81,85],[10,11,13],"h2",{"id":12},"getting-the-android-sdk","Getting the Android SDK",[15,16,17],"p",{},"Since I just struggled getting the Android SDK for my little OrangePi 2G-IOT, I felt responsible to share it using bittorrent. The main problems have been, to download all that stuff from mega.nz (it raises limits for users not paying a monthly fee) and another one was, to concat all 7 files to a working tar.gz. I think, the wildcard they use in the OrangePi's user manual does not expand the filesnames of the parts in the right order. But then, wired errors occur.",[15,19,20],{},"If you encounter problems with not being able to create symbolic links when unpacking, just use a real file system as the base for your unpacked archive (e.g. ext4, btrfs, ..., but NOT NTFS or FAT).",[15,22,23],{},"Here you can find the torrent:",[15,25,26],{},[27,28,29],"a",{"href":29,"rel":30},"https:\u002F\u002Fdownloads.the78mole.de\u002FOrangePi_2G-IOT.tar.gz.torrent",[31],"nofollow",[10,33,35],{"id":34},"getting-the-toolchain","Getting the toolchain",[15,37,38,39,44,45,49,50,53],{},"Another dangling point of OrangePi's SDK is the lack of a toolchain. They have a large download, but it does not contain a toolchain. So just download the correct one from ",[27,40,43],{"href":41,"rel":42},"https:\u002F\u002Freleases.linaro.org\u002Fcomponents\u002Ftoolchain\u002Fbinaries\u002Flatest-5\u002Farm-linux-gnueabi\u002F",[31],"linaro"," (take the appropriate one for your system, mine is x86_64), unpack it inside the folder where the empty folder ",[46,47,48],"em",{},"toolchain"," is (here it's ",[46,51,52],{},"~\u002Fsomewhere\u002FOrangePi"," in the example) located, remove this toolchain folder (rmdir should succeed with a fresh unpack, when it is already a link, use rm) and set a symbolic link to the fresh linaro one.",[55,56,61],"pre",{"className":57,"code":59,"language":60},[58],"language-text","$ cd ~\u002Fsomewhere\u002FOrangePi\u002F$ wget https:\u002F\u002Freleases.linaro.org\u002Fcomponents\u002Ftoolchain\u002Fbinaries\u002Flatest-5\u002Farm-linux-gnueabi\u002Fgcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi.tar.xz$ rmdir toolchain$ ln -s gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi toolchain\n","text",[62,63,59],"code",{"__ignoreMap":64},"",[10,66,68],{"id":67},"running-the-kernel-build","Running the kernel build",[15,70,71],{},"Just stick to your User's guide again and do:",[55,73,76],{"className":74,"code":75,"language":60},[58],"$ .\u002Fbuild.sh\n",[62,77,75],{"__ignoreMap":64},[79,80],"hr",{},[10,82,84],{"id":83},"kommentare-comments","Kommentare \u002F Comments",[15,86,87,88,93,94,99],{},"Hast du Fragen oder Anmerkungen zu diesem Artikel? ",[27,89,92],{"href":90,"rel":91},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fissues\u002Fnew?title=Kommentar+zu%3A+orangepi-2g-iot-android-sdk&labels=comment",[31],"Erstelle ein GitHub Issue"," oder starte eine ",[27,95,98],{"href":96,"rel":97},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fdiscussions",[31],"Diskussion",".",{"title":64,"searchDepth":101,"depth":101,"links":102},2,[103,104,105,106],{"id":12,"depth":101,"text":13},{"id":34,"depth":101,"text":35},{"id":67,"depth":101,"text":68},{"id":83,"depth":101,"text":84},[108,109],"Android","ARM","2018-12-10","md",null,{"tags":114},[],true,"\u002Fblog\u002F2018\u002Forangepi-2g-iot-android-sdk",{"title":5,"description":64},"blog\u002F2018\u002Forangepi-2g-iot-android-sdk","jKfwdBmHHcPREgtVrPHkG8wVi5MUiMTpL22src0mtmI",1777286694452]