iot-smart-home-cloud icon indicating copy to clipboard operation
iot-smart-home-cloud copied to clipboard

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

Open sw-dev-code opened this issue 4 years ago • 4 comments

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

sw-dev-code avatar Apr 02 '20 10:04 sw-dev-code

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.

devunwired avatar Apr 07 '20 19:04 devunwired

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

sw-dev-code avatar Apr 07 '20 20:04 sw-dev-code

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.

devunwired avatar Apr 08 '20 03:04 devunwired

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.

chakshujain avatar Apr 29 '20 19:04 chakshujain