Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] Flutter warning: path_provider_linux-0.0.1+1android does not exist

Posted on November 11, 2022 By

Solution 1 :

in path_provider_linux & path_provider_macos no android project
https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_linux
https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos

Solution 2 :

In the pubspec.yaml file under dependencies use:

path_provider: ^1.6.5

Dont use latest one

In build.gradle make sure classpath is as follow:

 classpath 'com.android.tools.build:gradle:3.6.3'

In gradle-wrapper.properties file makes sure this is the distribtion URL:

distributionUrl=https://services.gradle.org/distributions/gradle-5.6.4-all.zip

Make sure in all the gradle files the latest version are there.Android studio only will help that and try again

Problem :

Running a Flutter project and after upgrading Android Studio to version 4.0 I get the following warning when opening the Android module in Android Studio:

Warning: root project 'android': Unable to resolve additional project configuration.
Details: org.apache.tools.ant.BuildException: Basedir C:srcflutter.pub-cachehostedpub.dartlang.orgpath_provider_linux-0.0.1+1android does not exist.

I can see that now this android directory does indeed not exist.
On the project screen, it says: Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly.
I have tried to reinstall both Android Studio and Flutter, but it doesn’t help.

How can this problem be solved?

Comments

Comment posted by nstrelow

Same problem here

Comment posted by Marco

This happened to me when updating to Android Studio 4.1 Beta 1, going back to the previous version I used (4.0 Beta 5) appears to work

Comment posted by ClWin

Thank you. It tried this, but it din not work, and I got the same error message.

READ  [FIXED] wifi - Android WiFiManager.startScan always returns same results
Powered by Inline Related Posts
Android Tags:android, flutter, upgrade

Post navigation

Previous Post: [FIXED] android – Can you get the tag of a date picker
Next Post: [FIXED] Android Recyclerview add item and notifyiteminserted causes blink recycled view before draw the correct

Related Posts

[FIXED] android – Width change of a view is not reflected in UI even though view.isInLayout is true Android
[FIXED] function – How do I pass a filename parameter to MediaPlayer in android kotlin? Android
[FIXED] java – I don’t understand how to organise my fragments Android
[FIXED] android – How to simply create a custom view without duplicate LinearLayout? Android
[FIXED] android – How to make message from google script to WhatsApp group? Android
[FIXED] android – OkHttp Dispatcher IllegalStateException when tried to make second network call Android

Archives

  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • Can Vicks humidifier be used without filter?
  • What color is Spanish green?
  • How old is Jamie in The War That Saved My Life?
  • When should I use scalp massager for hair growth?
  • Can I put polyurethane over liming wax?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme