home-assistant / companion.home-assistant

:book: Home Assistant Companion docs
https://companion.home-assistant.io/
Other
89 stars 290 forks source link

minimal builsd is failing #1038

Closed LeOS-GSI closed 7 months ago

LeOS-GSI commented 7 months ago

I have followed the all steps in your readme. But I stuck here

  1. Create a Firebase project at Firebase Console

  2. Create four Android apps, with following package names

    • io.homeassistant.companion.android
    • io.homeassistant.companion.android.debug
    • io.homeassistant.companion.android.minimal
    • io.homeassistant.companion.android.minimal.debug
  3. Now download the google-services.json file and put it in the project's /app, /automotive and /wear folders. This file contains the configuration of the whole project (all four applications). (You can also use the mock services file instead of generating your own. The file should contain client IDs for all packages listed above for debugging to work properly. If you do not generate your own file FCM push notification will never work, only websocket notifications will)

I can't create a firebase project, because I don't own any google account

I have placed the mockgoogle-service.json (as google-services.json) file in both locations _/media/ich/1TB_SSD/AndroidApks/temp/android/common/ /media/ich/1TBSSD/AndroidApks/temp/android/wear but build still fails, because of missing google-services.json

dshokouhi commented 7 months ago

5. Now download the google-services.json file and put it in the project's /app, /automotive and /wear folders.

I have placed the mockgoogle-service.json (as google-services.json) file in both locations _/media/ich/1TB_SSD/AndroidApks/temp/android/common/ /media/ich/1TBSSD/AndroidApks/temp/android/wear

should be 3 locations, and the first one is incorrect

dshokouhi commented 7 months ago

please stop opening new project build issues in this repo, this is not hte correct location

https://github.com/home-assistant/android

LeOS-GSI commented 7 months ago

_/media/ich/1TBSSD/AndroidApks/temp/android/common/

was my mistake/mistyping. it was located in automotive.

And nice, after adding in 3rd location /app build finish successful.

LeOS-GSI commented 7 months ago

now I need to check how to remove the AltBeacon tracker. If you will have any suggestion, I will be very thankful