Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Android App couldn't be build with SDK version 28 that Firebase require #11

Open
sw-dev-code opened this issue Apr 2, 2020 · 4 comments

Comments

@sw-dev-code
Copy link

According to documentation "https://firebase.google.com/docs/android/setup#assistant" required SDK version is 28 so when I run build with version 27 from source on this repository following error occurs:

error: resource android:attr/fontVariationSettings not found

@devunwired
Copy link
Contributor

Sorry for the confusion. You really only need to follow the Firebase instructions during mobile setup to the point where you can obtain the google-services.json and GoogleService-Info.plist configuration files. The Flutter project is already set up with all the necessary SDK dependencies.

@sw-dev-code
Copy link
Author

@devunwired Thank you. I've downloaded the google-services.json and copied it. How can deploy app to my phone and install it?

@devunwired
Copy link
Contributor

The app is built using Flutter, so you can deploy to an Android or iOS device using the Flutter SDK tools. I would recommend the Get Started guide to get the SDK installed and the Test Drive guide shows you how to run an app on your connected device via the Terminal with flutter run.

@chakshujain
Copy link

I've followed firebase setup to the point only where i obtained google-services.json file but it is still showing the same error .
/home/ck/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0.aar/9e33028a37e6b11fe4991f1b7c19ebd6/res/values/values.xml: AAPT: error: resource android:attr/fontVariationSettings not found.

/home/ck/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0.aar/9e33028a37e6b11fe4991f1b7c19ebd6/res/values/values.xml: AAPT: error: resource android:attr/ttcIndex not found.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants