Coder Social home page Coder Social logo

flutter-codespaces's Issues

CORS Error.

supreme-broccoli-jrr495p4qfpj59-3000.app.github.dev/:1 Access to manifest at 'https://github.dev/pf-signin?id=neat-plane-hqb5zbh&cluster=asse&name=supreme-broccoli-jrr495p4qfpj59&port=3000&pb=https%3A%2F%2Fsupreme-broccoli-jrr495p4qfpj59-3000.app.github.dev%2Fauth%2Fpostback%2Ftunnel%3Frd%3D%252Fmanifest.json%26tunnel%3D1' (redirected from 'https://supreme-broccoli-jrr495p4qfpj59-3000.app.github.dev/manifest.json') from origin 'https://supreme-broccoli-jrr495p4qfpj59-3000.app.github.dev' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
github.dev/pf-signin?id=neat-plane-hqb5zbh&cluster=asse&name=supreme-broccoli-jrr495p4qfpj59&port=3000&pb=https%3A%2F%2Fsupreme-broccoli-jrr495p4qfpj59-3000.app.github.dev%2Fauth%2Fpostback%2Ftunnel%3Frd%3D%252Fmanifest.json%26tunnel%3D1:1 
        
        
       Failed to load resource: net::ERR_FAILED
supreme-broccoli-jrr495p4qfpj59-3000.app.github.dev/:1 Access to internal resource at 'https://github.dev/pf-signin?id=neat-plane-hqb5zbh&cluster=asse&name=supreme-broccoli-jrr495p4qfpj59&port=3000&pb=https%3A%2F%2Fsupreme-broccoli-jrr495p4qfpj59-3000.app.github.dev%2Fauth%2Fpostback%2Ftunnel%3Frd%3D%252Fmanifest.json%26tunnel%3D1' (redirected from 'https://supreme-broccoli-jrr495p4qfpj59-3000.app.github.dev/manifest.json') from origin 'https://supreme-broccoli-jrr495p4qfpj59-3000.app.github.dev' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

`flutter doctor` can't detect flutter version number used

Run

flutter doctor -v

Output

[!] Flutter (Channel master, 0.0.0-unknown, on Debian GNU/Linux 11 (bullseye) 5.15.0-1041-azure, locale en_US.UTF-8)
    ! Flutter version 0.0.0-unknown on channel master at /flutter
      Cannot resolve current version, possibly due to local changes.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 63a8298d4b (6 hours ago), 2023-07-01 13:36:10 -0500
    • Engine revision e6b8292705
    • Dart version 3.1.0 (build 3.1.0-262.0.dev)
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
    ✗ CMake is required for Linux development.
      It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
    ✗ pkg-config is required for Linux development.
      It is likely available from your distribution (e.g.: apt install pkg-config), or can be downloaded from https://www.freedesktop.org/wiki/Software/pkg-config/

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Debian GNU/Linux 11 (bullseye) 5.15.0-1041-azure

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 5 categories.

Android build from within the container

Is it possible to also install android sdk into the container, then runs android build, and extract/download the build result (apk/appbundle) from the container?

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.