Flutter error while trying to start debugging - flutter

After installing firebase, cloud firestore I have an error....
Here is my buildgradle file
Also when I'm trying to upgrade my flutter to the newest version is an error that says:
ProcessException: Process exited abnormally:
remote: Repository not found.
fatal: repository 'https://github.com/mateuszptak/flutter.git/' not found
Command: git fetch --tags

Related

can't check flutter doctor

I'm installing Androit Studio in the second, but there were no such problems before. I am getting the following error in terminal -
fatal: git repository (or one of parent directories) not found: .git
Building flutter tool...
/home/daniil/snap/flutter/common/flutter/bin/internal/shared.sh: line 24: cd: /home/daniil/snap/flutter/common/flutter/packages/flutter_tools: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (2 tries left)
/home/daniil/snap/flutter/common/flutter/bin/internal/shared.sh: line 24: cd: /home/daniil/snap/flutter/common/flutter/packages/flutter_tools: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (1 tries left)
Command 'pub upgrade' still failed after 10 tries, giving up.
Also, I tried to create a new flutter project in android studio, and tried to specify the path to the flutter sdk, but I get the message -
Flutter SDK is not found in the specified location.
Although, I drive the path according to the results of the flutter sdk-path conmada
Please help solve this problem!
PS: It's definitely not a network problem.
PSS: deleting the cache folder doesn't help
PSS: When I command git status, I get the error "On the stable branch
Your branch has been updated to reflect "origin/stable".
nothing to commit, no changes in working directory
All activies -
daniil#daniil-laptop:~/flutter$ git status
On the stable branch
Your branch has been updated to reflect "origin/stable".
nothing to commit, no changes in working directory
daniil#daniil-laptop:~/flutter$ flutter doctor
fatal: git repository (or one of parent directories) not found: .git
Building flutter tool...
/home/daniil/snap/flutter/common/flutter/bin/internal/shared.sh: line 24: cd: /home/daniil/snap/flutter/common/flutter/packages/flutter_tools: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
/home/daniil/snap/flutter/common/flutter/bin/internal/shared.sh: line 24: cd: /home/daniil/snap/flutter/common/flutter/packages/flutter_tools: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (8 tries left)
I decided to remove the flutter that I installed via snap. And cloned the repository from git. But I realized that there are no cache folders.
When executing all the above commands - the errors do not change

Getting an error from "Pub get" on android studio

I recently updated dart and flutter and after that I am getting this error when trying
Pug Get:
C:\flutter\flutter\bin\flutter.bat --no-color pub upgrade
Resolving dependencies...
Git error. Command: `git fetch`
stdout:
stderr: fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Unknown error
exit code: 128
pub finished with exit code 69
Process finished with exit code 69
I am not sure how to fix this? thank you in advance!
There is an issue with the URL to one of the packages in your pubspec. You can see more info on which repository is giving the error by running flutter pub get -v.
This occurred to me as Github has removed git native transport via git://. I had to change my git pubspec entries to
package_name:
git:
url: https://github.com/Sub6Resources/flutter_html.git
flutter pub upgrade
flutter pub get
These command needs to be run from inside a project folder, not from inside the folder flutter\bin\, where the flutter installation lives.

Codemagic or Fastlane failing while exporting archive for iOS in Flutter projects

Problem
For flutter projects when trying to do CI via Fastlane or Code magic getting an error.
Error(s)
Unable to export archive: 2019-07-19 06:35:19.256
xcodebuild[3381:21183] [MT] IDEDistribution: -[IDEDistributionLogging
_createLoggingBundleAtPath:]: Created bundle at path '/var/folders/r7/d9twdq011sb8d3q1p8f39cdr0000gn/T/Runner_2019-07-19_06-35-19.252.xcdistributionlogs'.
error: exportArchive: Symbols tool failed Error
Domain=IDEFoundationErrorDomain Code=1 "Symbols tool failed"
UserInfo={NSLocalizedDescription=Symbols tool failed} ** EXPORT FAILED
**
Some Extra Detail(s)
This issue is coming with recent master commits in Flutter git.
When using Flutter stable git branch we don't have this issue.
Had the same issue. Running pod install solved on my side. I'm using local Fastlane on flutter beta channel.

unable to upgrade flutter on mac

I am unable to update flutter on osX.
When I run:
flutter doctor
I get the following error:
Because flutter_tools depends on xml >=3.5.0 which requires SDK version >=2.3.0 <3.0.0, version solving failed.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
The current Dart SDK version is 2.3.0-dev.0.5.flutter-a1668566e5.
I have not idea how to solve this issue since I cannot issue any flutter commands.
I tried to cd into the flutter/bin directory and do :
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor
But this did not solve my issues.
Any ideas ? I don't have sudo rights.

Can't connect to github on terminal. Error message: Proxy CONNECT aborted on

I'm trying to load AFNetworking library on my project but in terminal I have always this error message:
MacBook-Pro-Aleksandr:KAFileMap aleksandrkarpov$ pod install
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (2.5.2)
[!] Error installing AFNetworking
[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git
/Users/aleksandrkarpov/Desktop/KAFileMap/Pods/AFNetworking --single-branch --
depth 1 --branch 2.5.2
Cloning into '/Users/aleksandrkarpov/Desktop/KAFileMap/Pods/AFNetworking'...
fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/':
Proxy CONNECT aborted
Anybody can help me? Thank's
GitHub is currently suffering from a distributed denial of service attack. Try again later.