{"id":65,"date":"2012-07-23T18:09:53","date_gmt":"2012-07-23T18:09:53","guid":{"rendered":"http:\/\/toolbox.pingvinfeszek.hu\/?p=65"},"modified":"2012-08-13T09:57:57","modified_gmt":"2012-08-13T09:57:57","slug":"android-sdk-error-under-ubuntu-12-04-precise-pangolin-avd-emulator-failed-to-load-libgl-so","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/android-sdk-error-under-ubuntu-12-04-precise-pangolin-avd-emulator-failed-to-load-libgl-so\/","title":{"rendered":"Android SDK Error under Ubuntu 12.04 “Precise Pangolin” 64-bit – AVD Emulator Failed to load libGL.so"},"content":{"rendered":"
Doing some Android bloodshedding with the good ol’ Tux gives an undescribable feel in elaborating your carefully crafted lines of code…so does an error message which pops it’s head up if you’ve recently upgraded to the latest LTS release of Ubuntu. Precisely, test-driving your code on an Android Vitual Device will surely lead to the result you more or less have expected, albeit with a little stuttering: if all of this is happening on the 64-bit variant of the OS, then you are most likely to be exposed to the error message in the headline. The fix is right here, in form of installing a small package and making a correspondent symbolic link<\/strong>. Let’s roll:<\/p>\n As always, issue these commands with a logged on user who is in the sudoers group!<\/em><\/p>\n <\/p>\n sudo apt-get install libgl1-mesa-dev<\/p>\n sudo ln -s \/usr\/lib\/libGL.so.1.2 \/usr\/lib\/libGL.so<\/p><\/blockquote>\n <\/p>\n Or if the above path does not exist in your system in the first place, make sure libgl1-mesa-glx:i386<\/strong> is installed, then issue this:<\/p>\n <\/p>\n sudo ln -s \/usr\/lib\/i386-linux-gnu\/mesa\/libGL.so.1.2 \/usr\/lib\/libGL.so<\/p><\/blockquote>\n <\/p>\n Re-start Eclipse and now the pesky error message should have vanished away into oblivion.<\/p>\n <\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" Doing some Android bloodshedding with the good ol’ Tux gives an undescribable feel in elaborating your carefully crafted lines of code…so does an error message which pops it’s head up if you’ve recently upgraded to the latest LTS release of Ubuntu. Precisely, test-driving your code on an Android Vitual Device will surely lead to the […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14,13,12,6,7],"tags":[20],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/65"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":10,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":88,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/65\/revisions\/88"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}