Closed OlivierGre closed 9 months ago
A side comment: I have downloaded GoogleHomeMobileSDK.pdf but I can't open it. It looks corrupted.
I can see them though on https://github.com/google-home/sample-apps-for-matter-android/blob/main/docs/GoogleHomeMobileSDK.pdf
I had a version of GHSAM from beginning of july which was working. I have downloaded https://github.com/google-home/sample-apps-for-matter-android/tree/main/3p-ecosystem but for the moment I don't succeed to build it.
I'm getting errors with Java version:
Build file 'C:\GIT\sample-apps-for-matter-android\3p-ecosystem\build.gradle.kts' line: 13
An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin 'com.android.internal.application'.
> Could not create an instance of type com.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated.
> Could not create an instance of type com.android.build.gradle.internal.dsl.LintImpl$AgpDecorated.
> Could not generate a decorated class for type LintImpl$AgpDecorated.
> com/android/tools/lint/model/LintModelSeverity has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
I had a version of GHSAM from beginning of july which was working. I have downloaded https://github.com/google-home/sample-apps-for-matter-android/tree/main/3p-ecosystem but for the moment I don't succeed to build it.
I'm getting errors with Java version:
Build file 'C:\GIT\sample-apps-for-matter-android\3p-ecosystem\build.gradle.kts' line: 13
An exception occurred applying plugin request [id: 'com.android.application'] > Failed to apply plugin 'com.android.internal.application'. > Could not create an instance of type com.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated. > Could not create an instance of type com.android.build.gradle.internal.dsl.LintImpl$AgpDecorated. > Could not generate a decorated class for type LintImpl$AgpDecorated. > com/android/tools/lint/model/LintModelSeverity has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
I have fixed it by installing JDK 17 corretto
I then had this error: "The project is using an incompatible version (AGP 8.1.0) of the Android Gradle plugin. Latest supported version is AGP 7.4.1" so I have decided to update Android Studio to the latest version (Android Studio Giraffe).
Unfortunately Android Studio is now displaying this error:
Despite this error, the build is successful and I'm able to use GHSAM.
Despite this error, the build is successful and I'm able to use GHSAM.
I have fixed it by installing JDK 17 corretto => Please tell me which section it is in
This is what I have in Android Studio Giraffe:
This error is because you haven't done 'git lfs init' in your git directory.
Please note that with v2.0.0 that was just released, we get the libraries from Maven so there is no need for 'git lfs' anymore.
I'm installing the latest version as explained on https://github.com/google-home/sample-apps-for-matter-android/tree/main/3p-ecosystem.
During the cloning operation, I'm seeing the following warnings:
Shall I do something to fix them? Thanks