ReactiveCircus/android-emulator-runner

Question: How to run this action with an Automotive Polestar emulator?

TimJonsson opened this issue · 0 comments

Hey, I'm not sure if it's possible to run this action for a specific Polestar emulator.
Below is the yml code in my current action, If I were to use this action instead, what would I use for a value as a hardware profile for example?

        run: |
          touch ~/.android/repositories.cfg
          echo -e "### User Sources for Android Repository
          enabled00=true
          count=2
          enabled01=true
          src00=https\://developer.polestar.com/sdk/polestar2-sys-img.xml" > ~/.android/repositories.cfg

      - name: Download polestar sdk
        run: |
          echo "y" | sdkmanager --install "platforms;android-29"
          echo "y" | sdkmanager --install "system-images;android-29;polestar_emulator;x86_64"
          
      - name: Create polestar emulator
        run: |
          echo "no" | avdmanager create avd -n testpolestar -k "system-images;android-29;polestar_emulator;x86_64"

      - name: cd to emulator folder
        run: |
          cd $ANDROID_HOME/emulator
          ./emulator -avd testpolestar -noaudio -no-boot-anim -no-window```