Skip to content

Commit e0b6923

Browse files
author
Trevor Martin
committed
note about import error
1 parent cb59b55 commit e0b6923

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pythonforandroid/recipes/websocket-client/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
from pythonforandroid.toolchain import Recipe
22

3+
# if android app crashes on start with "ImportError: No module named websocket"
4+
#
5+
# copy the 'websocket' directory into your app directory to force inclusion.
6+
#
7+
# see my example at https://github.com/debauchery1st/example_kivy_websocket-recipe
8+
39

410
class WebSocketClient(Recipe):
511
url = 'https://github.com/debauchery1st/websocket-client/raw/master/websocket_client-0.40.0.tar.gz'

0 commit comments

Comments
 (0)