Coder Social home page Coder Social logo

estudos---flutter's Introduction

myapp

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Configurando o Framework em ambiente LINUX

Clone o repositório do git oficial do flutter

git clone -b beta https://github.com/flutter/flutter.git

**insira o flutter como variável de ambiente, pegue o caminho /flutter/bin, no meu caso coloquei no /etc/profile **

echo export PATH="$PATH:/home/projects/flutter/flutter/bin" >> /etc/profile

atualize as alterações source /etc/profile

Criando um projeto ...

Após ter feito os passos anteriores, basta criar ou acessar algum workspace de sua preferencia e criar o projeto

flutter create <nomeProjeto>

Verifique se está tudo OK antes de compilar executando o seguinte comando

flutter doctor -v


Alguns problemas que tive ...

SEM SDK INSTALADA - Instale a sdk caso não tenha

apt-get install android-sdk

SDK 23 E FLUTTER TRABALHA COM 28 - baixe o tools atualizado direto da google

https://developer.android.com/studio/index.html#downloads

substitua em /usr/lib/android-sdk/tools pelo que foi baixado e execute

/usr/lib/android-sdk/tools/bin/sdkmanager "platforms;android-28" "build-tools;28.0.3"

ACEITAR LICENÇAS DA SDK - para aceitar as licenças

yes | /usr/lib/android-sdk/tools/bin/sdkmanager --licenses


OK ... BORA TESTAR!

agora basta conectar seu aparelho android no ubs e executar

flutter run

se estiver tudo certo irá abrir um aplicativo DEMO .

estudos---flutter's People

Contributors

jeffersonnunesfonseca avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.