是否有可能在android studio中用python编写代码? [英] is it possible to code in python inside android studio?

查看:248
本文介绍了是否有可能在android studio中用python编写代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在android studio中用python编写代码?

is it possible to code in python inside android studio?

我该怎么做.我有一个尝试开发的Android应用程序.我想在python中编写代码.谢谢您的帮助我该怎么做.我有一个尝试开发的Android应用程序.我想在python中编写代码.感谢您的帮助

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

推荐答案

如果您的意思是用python(例如,另一部分用Java)编码Android应用程序的一部分,则目前尚不可能.但是,您可以编写Python脚本并将其包含在您的项目中,然后在将以某种方式调用它的应用程序部分中进行编写.另外,您可以将Android Studio用作Python脚本的文本编辑器.要使用Python开发适用于Android的应用,您必须为其使用适当的库.

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.

这篇关于是否有可能在android studio中用python编写代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆