{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/python-for-android/issues/658","repository_url":"https://api.github.com/repos/kivy/python-for-android","labels_url":"https://api.github.com/repos/kivy/python-for-android/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/kivy/python-for-android/issues/658/comments","events_url":"https://api.github.com/repos/kivy/python-for-android/issues/658/events","html_url":"https://github.com/kivy/python-for-android/issues/658","id":137815365,"number":658,"title":"ImportError when the apk launches with SDL2 bootstrap, kivy and python3crystax","user":{"login":"haricot","id":344493,"avatar_url":"https://avatars.githubusercontent.com/u/344493?v=3","gravatar_id":"","url":"https://api.github.com/users/haricot","html_url":"https://github.com/haricot","followers_url":"https://api.github.com/users/haricot/followers","following_url":"https://api.github.com/users/haricot/following{/other_user}","gists_url":"https://api.github.com/users/haricot/gists{/gist_id}","starred_url":"https://api.github.com/users/haricot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haricot/subscriptions","organizations_url":"https://api.github.com/users/haricot/orgs","repos_url":"https://api.github.com/users/haricot/repos","events_url":"https://api.github.com/users/haricot/events{/privacy}","received_events_url":"https://api.github.com/users/haricot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-02T09:05:57Z","updated_at":"2016-03-03T23:45:00Z","closed_at":null,"body":"I do not know if it actually works, but in my case it does not work with android 5.0. And I'd like to know why :-) (the apk works well with sdl2, Kivy, python 2)\r\n\r\n```\r\n...\r\nI/python  ( 9904): Android kivy bootstrap done. __name__ is __main__\r\nI/python  ( 9904): AND: Ran string\r\nI/python  ( 9904): Run user program, change dir and execute entrypoint\r\nI/python  ( 9904): main.py\r\nI/python  ( 9904): [WARNING           ] [Config      ] Older configuration version detected (0 instead of 14)\r\nI/python  ( 9904): [WARNING           ] [Config      ] Upgrading configuration in progress.\r\nI/python  ( 9904): [INFO              ] [Logger      ] Record log in /data/data/org.hello.world/files/.kivy/logs/kivy_16-03-02_0.txt\r\nI/python  ( 9904): [INFO              ] [Kivy        ] v1.9.2-dev0\r\nI/python  ( 9904): [INFO              ] [Python      ] v3.5.0 (default, Dec 24 2015, 05:56:40) \r\nI/python  ( 9904): [GCC 5.3 20151204]\r\nI/python  ( 9904):  Traceback (most recent call last):\r\nI/python  ( 9904):    File \"main.py\", line 13, in <module>\r\nI/python  ( 9904):      from kivy.app import App\r\nI/python  ( 9904):    File \"/data/data/org.hello.world/files/crystax_python/site-packages/kivy/app.py\", line 319, in <module>\r\nI/python  ( 9904):      from kivy.base import runTouchApp, stopTouchApp\r\nI/python  ( 9904):    File \"/data/data/org.hello.world/files/crystax_python/site-packages/kivy/base.py\", line 30, in <module>\r\nI/python  ( 9904):      from kivy.event import EventDispatcher\r\nI/python  ( 9904):    File \"/data/data/org.hello.world/files/crystax_python/site-packages/kivy/event.py\", line 8, in <module>\r\nI/python  ( 9904):      import kivy._event\r\nI/python  ( 9904):  ImportError: dlopen failed: cannot locate symbol \"PyErr_GivenExceptionMatches\" referenced by \"_event.so\"...\r\nI/python  ( 9904): Python for android ended.\r\n```\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31518249-importerror-when-the-apk-launches-with-sdl2-bootstrap-kivy-and-python3crystax?utm_campaign=plugin&utm_content=tracker%2F11371&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11371&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/kivy/python-for-android/issues/comments/192023695","html_url":"https://github.com/kivy/python-for-android/issues/658#issuecomment-192023695","issue_url":"https://api.github.com/repos/kivy/python-for-android/issues/658","id":192023695,"user":{"login":"haricot","id":344493,"avatar_url":"https://avatars.githubusercontent.com/u/344493?v=3","gravatar_id":"","url":"https://api.github.com/users/haricot","html_url":"https://github.com/haricot","followers_url":"https://api.github.com/users/haricot/followers","following_url":"https://api.github.com/users/haricot/following{/other_user}","gists_url":"https://api.github.com/users/haricot/gists{/gist_id}","starred_url":"https://api.github.com/users/haricot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haricot/subscriptions","organizations_url":"https://api.github.com/users/haricot/orgs","repos_url":"https://api.github.com/users/haricot/repos","events_url":"https://api.github.com/users/haricot/events{/privacy}","received_events_url":"https://api.github.com/users/haricot/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T23:45:00Z","updated_at":"2016-03-03T23:45:00Z","body":"Thank you for your answers.\r\nI follow your instructions but I get the same result.\r\n\r\n```\r\n...\r\nI/python  ( 9743): Android kivy bootstrap done. __name__ is __main__\r\nI/python  ( 9743): AND: Ran string\r\nI/python  ( 9743): Run user program, change dir and execute entrypoint\r\nI/python  ( 9743): main.py\r\nI/python  ( 9743): [WARNING           ] [Config      ] Older configuration version detected (0 instead of 14)\r\nI/python  ( 9743): [WARNING           ] [Config      ] Upgrading configuration in progress.\r\nI/python  ( 9743): [INFO              ] [Logger      ] Record log in /data/data/org.hello.world/files/.kivy/logs/kivy_16-03-04_0.txt\r\nI/python  ( 9743): [INFO              ] [Kivy        ] v1.9.1\r\nI/python  ( 9743): [INFO              ] [Python      ] v3.5.0 (default, Dec 24 2015, 05:56:06) \r\nI/python  ( 9743): [GCC 5.3 20151204]\r\nI/python  ( 9743):  Traceback (most recent call last):\r\nI/python  ( 9743):    File \"main.py\", line 1, in <module>\r\nI/python  ( 9743):      from kivy.app import App\r\nI/python  ( 9743):    File \"/data/data/org.hello.world/files/crystax_python/site-packages/kivy/app.py\", line 319, in <module>\r\nI/python  ( 9743):      from kivy.base import runTouchApp, stopTouchApp\r\nI/python  ( 9743):    File \"/data/data/org.hello.world/files/crystax_python/site-packages/kivy/base.py\", line 30, in <module>\r\nI/python  ( 9743):      from kivy.event import EventDispatcher\r\nI/python  ( 9743):    File \"/data/data/org.hello.world/files/crystax_python/site-packages/kivy/event.py\", line 8, in <module>\r\nI/python  ( 9743):      import kivy._event\r\nI/python  ( 9743):  ImportError: dlopen failed: cannot locate symbol \"PyObject_GetAttr\" referenced by \"_event.so\"...\r\nI/python  ( 9743): Python for android ended.\r\n\r\n```"}}