1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Python linter configuration in Android studio

Discussão em 'Python' iniciado por Stack, Maio 7, 2025.

  1. Stack

    Stack Membro Participativo

    Within a flutter project I have the functions folder for cloud functions that should be written in python.

    What I did so far:

    • In File >> Project Structure >> SDKs I added the python interpreter from the functions/venvenvironment
    • I added the site-packages directory to the classes
    • In Modules I excluded the directory from the main flutter project and made it it's own content root and source directory associated with SDK configured above

    When calling any kind of python code:

    print("Hello world!")


    I get an error from the Android studio linter Unresolved reference 'print'

    This does not happen if I have the same script in an isolated directory which is not part of a flutter project.

    I would appreciate any ideas on how to get the linter to work correctly.

    Continue reading...

Compartilhe esta Página