I\'m trying to learn about @AutoValue. I follow the example in https://github.com/google/auto/blob/master/value/userguide/index.md
I\'m using Android Studio 3.4
Apparent, the issue is because, I put my
@AutoValue
abstract class Animal {
static Animal create(String name, int numberOfLegs) {
return new AutoValue_Animal(name, numberOfLegs);
}
abstract String name();
abstract int numberOfLegs();
}
In the test folder instead of the source folder. Moving it over to the source folder (same place as MainActivity) solve the problem.