android / car-samples

Multiple samples showing best practices for car app development on both Android Auto and Android Automotive OS.
Apache License 2.0
358 stars 166 forks source link

Update or add dependencies to be able to build the apps and run tests #35

Closed gogamid closed 2 years ago

gogamid commented 2 years ago

If you pull the project from last commit, then car app library apps won't build and launch. These changes have to be done to successfully build and launch these apps:

  1. I see that gradle version in that commit is 4.0.1. It would be not possible to build the project with short names like compileSdk 32 because this is not available in gradle version 4.0.1. So I updated this version to latest 7.4.0-alpha10
  2. I see that last commit still uses car app library version 1.2.0-rc01, but in this version there is no support for SessionInfo that has been used here. So I updated it to the car app library version 1.3.0-alpha01.
  3. Last point is helloworld tests. There are no dependencies included for these tests. So I added dependencies such as truth, roboelectric etc. to be able to run these tests.
google-cla[bot] commented 2 years ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.