Closed samtux closed 6 years ago
Sorry, I need to update the docs. The versions there are about a year old from when I first added remote debugging and before python 3 support was added.
Please uninstall those old versions and use the latest versions from conda (which should be used when you create a new app).
The rest should work, let me know if you run into issues. I'll get on https://gitter.im/enaml-native/Lobby.
Thanks @frmdstryr, I managed to do the remote debugging, configuring the debugging on my mobile device and install dependencies from conda.
It is necessary to write a note in the documentation when starting the script:
enaml-native start --remote-debugging
python src/main.py
One last question, how does the enaml-native install
command work?
Great! Feel free to do a PR to update the docs.
It is just an alias to conda install <args>
and then it runs enaml-native link
.
See https://github.com/codelv/enaml-native-cli/blob/master/enamlnativecli/main.py#L727
Thank you @frmdstryr . Great software you develop, and the most enjoyable with Python.
I'm trying to follow the tutorial to debug the application on Android, however I've had many problems and it doesn't work correctly.
Docs Remote debugging
The working environment is:
The packages list is:
First, when installing the dependencies it registers an error by version number:
The solution was to perform the installation as follows. Including the ENAML package::
Then, it logs an error for another additional dependency
Then it logs errors for missing packages 'msgpack' and 'tornado'.
the last error, is due to an error when importing a function from the enaml package, which does not exist
The solution was to comment on the function to be imported, and finally change 'str' to 'Unicode()''.
Finally, the application start in Android, but is only locked in the background splash. I have tried to follow the documentation but I have not been able to perform the remote debugging.
I share the project in: MEGA