Open avaidyam opened 2 years ago
@avaidyam ok.
Saranya is going to working on this from tomorrow after the Telephony updates are done.
@avaidyam do you need to keep wear os in a separate folder in the master branch or do you want it within the mindLamp source?
@saranya-sajeev It should a separate module (i.e. folder, with its own build.gradle
) but in the master
branch. Please follow the instructions provided by Google here if you're still unsure.
Ok Aditya, @saranya-sajeev will comment on this one the workflow is corrected.
@avaidyam I will integrate wear os code in master right after you create the release. Otherwise, there may be issues with code references.
@avaidyam WearOs code integrated to master branch.
So if I make a new release for Android, it will also appear available for WearOS?
@avaidyam yes it should work, but yesterday it is not worked. May be any issues with wear os workflow. We will check and update you.
@aditya wear os workflow is not shown under actions tab? Do you have any suggestions?
@saranya-sajeev Unfortunately I don't. It should be included in the Gradle build process if you've added it as a submodule correctly. Please consult the Android/wearOS documentation.
@avaidyam We have moved the mindLamp code to main directory and put the wear os code inside mindLamp project. Then we have modified the mindLamp app workflow to build the WearOs code. We have faced some issues on building the code using workflow and finally, we have built the code. After that, we started to sign the apk. We are getting the below issue while signing the apk and we are working on it. jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 78895 but got 80894 bytes)
@avaidyam We have created a separate workflow file for WearOs. We will merge it to the main workflow once it is completed. Now it is showing following error and we are working on it. We have checked the syntax on yamllint and it says it is valid.
Error: .github#L1
every step must define a uses
or run
key
@avaidyam We have fixed the above error and now we are getting the old jarsigner. error. jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 78895 but got 80894 bytes)
@avaidyam We have fixed the jar signer issue, it was due to the signing configuration already defined in the build.gradle file.
@avaidyam Now we got below issue. I thnik it is due to same package name used for both mindLamp and wearos. We wil check on it. Error: Error: APK specifies a version code that has already been used.
@avaidyam wearosa pp and minLamp should have same package name and so we have added an empty commit in wear os workflow to make the version code different. Currently we are getting below error and we are working on it.
You cannot rollout this release because it does not allow any existing users to upgrade to the newly added APKs.
@avaidyam We assume that the above issue is due to the wear app is referring mindLamp app. Shall we try to upload from a different branch to check whether it works?
(See discussion from issue #476.)