androidpython-3.xandroid-studio

is it possible to code in python inside android studio?


is it possible to code in python inside android studio?

how can I do it. I have an android app that I am try to develop. and I want to code some part in python. Thanks for the help how can I do it. I have an android app that I am try to develop. and I want to code some part in python. Thanks for the help


Solution

  • If you mean coding part of your Android application in python (and another part for example in Java) it's not possible for now. However, you can write Python script and include it in your project, then write in your application part that will invoke it somehow. Also, you can use Android Studio as a text editor for Python scripts. To develop apps for Android in Python you have to use a proper library for it.

    See https://wiki.python.org/moin/Android for recommended options.