You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I just got this issue in my flutter project.
i am unable to find out solution regarding this...
FAILURE: Build failed with an exception.
Could not determine the dependencies of task ':app:processStagingDebugResources'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 10m 15s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
its my pubspec.yaml file.
name: my_project_name
description: A new Flutter project.
version: 1.0.0+14
environment:
sdk: ">=2.2.2 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
draggable_scrollbar: ^0.0.4
firebase_auth: ^0.15.3
firebase_messaging: ^6.0.9
cloud_firestore: ^0.12.9+5
carousel_slider: ^1.3.0
flutter_facebook_login: ^3.0.0
dotted_border: ^2.0.0+1
share: ^0.6.3+1
page_indicator: ^0.3.0
webview_flutter: ^0.3.15+1
shared_preferences: ^0.5.4+6
expandable: ^5.0.1
image_picker: ^0.6.1+11
flutter_rating_bar: ^3.0.0
esys_flutter_share: ^1.0.2
firebase_storage: ^3.0.6
image_cropper: ^1.1.2
cached_network_image: ^2.0.0
apple_sign_in: ^0.1.0
intl: ^0.17.0
firebase_dynamic_links: ^0.5.0+9
flutter_email_sender: ^2.2.2
fluttertoast: ^3.1.3
http: ^0.12.2
url_launcher: ^5.5.0
firebase_remote_config: ^0.3.0+1
google_maps_flutter: ^0.5.11
flutter_local_notifications: ^1.1.3
firebase_crashlytics: ^0.1.2+4
connectivity_widget: ^0.1.7
provider: ^4.0.1
firebase_analytics: ^5.0.11
flare_flutter: ^2.0.3
percent_indicator: ^2.1.5
table_calendar: ^2.2.3
device_calendar: ^3.1.0
flutter_styled_toast: ^1.3.2
animations: ^1.1.2
flutter_svg: ^0.22.0
package_info: ^0.4.3+4
stacked: ^1.9.5
permission_handler: ^5.1.0+2
geocoding: ^1.0.5
geolocator: ^6.2.1
google_place: ^0.3.3
confetti: ^0.6.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/images/onboarding/
- assets/images/home/
- assets/images/profile/
fonts:
- family: SourceSansPro
fonts:
- asset: assets/fonts/SourceSansPro-Bold.ttf
- asset: assets/fonts/SourceSansPro-Light.ttf
- asset: assets/fonts/SourceSansPro-Regular.ttf
- asset: assets/fonts/SourceSansPro-SemiBold.ttf
- family: Poppins
fonts:
- asset: assets/fonts/Poppins-Regular.ttf
- family: CustomIcon
fonts:
- asset: assets/fonts/CustomIcon.ttf
flutter_intl:
enabled: true
its my app/build.gradle file.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '11'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply plugin: 'com.google.firebase.firebase-perf'
android {
compileSdkVersion 30
}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.firebase:firebase-messaging:20.1.0'
implementation 'com.google.firebase:firebase-perf:19.0.5'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
implementation 'com.google.firebase:firebase-inappmessaging-display:19.0.4'
implementation 'com.google.firebase:firebase-analytics:17.3.0'
}
apply plugin: 'io.fabric'
apply plugin: 'com.google.gms.google-services'
Beta Was this translation helpful? Give feedback.
All reactions