Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Sample doesn't build, is this project dead? #172

Open
kenstir opened this issue Mar 5, 2019 · 7 comments
Open

Sample doesn't build, is this project dead? #172

kenstir opened this issue Mar 5, 2019 · 7 comments

Comments

@kenstir
Copy link

kenstir commented Mar 5, 2019

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.

@maxtroy
Copy link
Contributor

maxtroy commented Mar 5, 2019

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.

@kenstir
Copy link
Author

kenstir commented Mar 6, 2019

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
Copy link
Author

kenstir commented Jul 14, 2019

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?

@maxtroy
Copy link
Contributor

maxtroy commented Jul 17, 2019

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.

@kenstir
Copy link
Author

kenstir commented Jul 19, 2019

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 maxtroy#5

@maxtroy maxtroy assigned ghost Aug 11, 2019
@maxtroy
Copy link
Contributor

maxtroy commented Aug 11, 2019

@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? :)

@Zhuinden
Copy link

Zhuinden commented Jan 11, 2020

  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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants