Hi, I'm attempting to compile chrome with androidx.
I currently run into the error seen below error I was wondering:
2. Would this need to be changed to use androidx.annotion.Nullable for the move to androidx?
3. It seems whatever is being build is using the old android support library rather than androidx. I'm not sure where gen/base/base_java.javac.jar.errorprone.jar is taking it's cue to use android support library over androidx to build "tmp/tmpFrQJhA/gen/org/chromium/base/ApplicationState.java:13"
[
49/3287] ACTION //base:base_java__compile_java_errorprone(//build/toolchain/android:android_clang_arm64)
FAILED: gen/base/base_java.javac.jar.errorprone.jar gen/base/base_java.javac.jar.errorprone.jar.info
python ../../build/android/gyp/javac.py --enable-errorprone @gen/base/base_java.sources
...Traceback (most recent call last):
File "../../build/android/gyp/javac.py", line 609, in <module>
sys.exit(main(sys.argv[1:]))
File "../../build/android/gyp/javac.py", line 604, in main
CheckOutput
raise CalledProcessError(cwd, args, stdout + stderr)
util.build_utils.CalledProcessError: Command failed: ( cd /usr/local/google/code/clankium/src/out/Debug; bin/errorprone -g -encoding UTF-8 -sourcepath
.....
/tmp/tmpFrQJhA/gen/org/chromium/base/ApplicationState.java:13: error: package android.support.annotation does not exist
import android.support.annotation.IntDef;
^
/tmp/tmpFrQJhA/gen/org/chromium/base/ApplicationState.java:18: error: cannot find symbol
@IntDef({
^
symbol: class IntDef
/tmp/tmpFrQJhA/gen/org/chromium/base/ChildBindingState.java:13: error: package android.support.annotation does not exist
import android.support.annotation.IntDef;
....
....
/tmp/tmpFrQJhA/gen/org/chromium/base/TraceRecordMode.java:18: error: cannot find symbol
@IntDef({
^
symbol: class IntDef
16 errors