agera icon indicating copy to clipboard operation
agera copied to clipboard

Sample doesn't build, is this project dead?

Open kenstir opened this issue 5 years ago • 7 comments

Just picked up this library and started trying out the codelabs at https://codelabs.developers.google.com/codelabs/android-agera/#13

The project does not build in (nearly) current Android Studio 3.2.1 with gradle warnings, such as:

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

and build failures such as

Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  Output:  W/ResourceType(11468): For resource 0x0101053d, entry index(1341) is beyond type entryCount(1320)
  W/ResourceType(11468): For resource 0x0101053e, entry index(1342) is beyond type entryCount(1320)
  W/ResourceType(11468): For resource 0x0101053b, entry index(1339) is beyond type entryCount(1320)
  W/ResourceType(11468): For resource 0x0101053c, entry index(1340) is beyond type entryCount(1320)
  D:\src\samples\android-agera\app\src\main\res\layout\step2.xml:18: error: attribute orientation (aka com.example.android.codelabs.agera:orientation) not found.

Just want to make sure there is some life here before devoting my time to reviving that is only mostly dead.

kenstir avatar Mar 05 '19 01:03 kenstir

Apologies for not keeping the build structure up to date. We've been happily using the code in production with no improvements necessary, which leads to the seeming neglect of this project. Please allow us some time to upgrade the build toolchain.

maxtroy avatar Mar 05 '19 16:03 maxtroy

Thanks for the response. I tried to update the gradle infrastructure to gradle 4 in the hopes of submitting a PR, but I just do not know enough gradle to do it. Now I am stuck on Cannot create variant 'android-aidl' after configuration ':agera:debugApiElements' has been resolved

It's probably not helpful, but I pushed my gradle changes to https://github.com/kenstir/agera/commit/0003b1b0da6be962ca308aede3d8e6fbc0491f38

kenstir avatar Mar 06 '19 01:03 kenstir

Hello, just a friendly reminder that the sample still does not build. At least, no changes have been submitted recently. Any chance you could help me get the sample to build?

kenstir avatar Jul 14 '19 02:07 kenstir

I have this WIP commit which seems to build fine, but at least the tests in "rvdatabinding" are failing.

If you don't need "rvdatabinding", feel free to patch that commit and try out the samples.

maxtroy avatar Jul 17 '19 03:07 maxtroy

Hey thank you very much for this! Very much appreciated. Almost everything built except I could not sync the project until I reordered the repositories, and it did not run without warnings until I set targetSdkVersion. I filed https://github.com/maxtroy/agera/pull/5

kenstir avatar Jul 19 '19 01:07 kenstir

@ernstsson do you have any luck to get rvdatabinding tests to run successfully? Or maybe temporarily disable those tests and check in the rest of the fix? :)

maxtroy avatar Aug 11 '19 23:08 maxtroy

  1. Overview ATTENTION: This codelab has been deprecated in favor of Using Kotlin Coroutines in your Android > app. Please continue there.

Well it seems to be fully dead 🤔

I really hate how they just flat-out remove deprecated codelabs. What if I'm working with legacy software? Jeez.

Zhuinden avatar Jan 11 '20 11:01 Zhuinden