Proguard errors when building Chrome for Android

199 views
Skip to first unread message

Ken Rockot

unread,
Sep 29, 2016, 2:58:18 PM9/29/16
to Chromium-dev
This is from ToT, DEPS synced, no local changes. I can't seem to build chrome_public_apk as of this morning, in a checkout which I've used to build chrome_public_apk many times before.

I've tried starting from a clean build with no luck. What I'm seeing:

[24653/24671] ACTION //chrome/android:chrome_public_apk__proguard(//build/toolchain/android:arm)
FAILED: gen/chrome/android/chrome_public_apk/chrome_public_apk.proguard.jar ... (snip for brevity)
 
Warning: com.google.vr.cardboard.AndroidNCompat: can't find referenced method 'void setVrModeEnabled(boolean,android.content.ComponentName)' in library class android.app.Activity
Warning: com.google.vr.cardboard.AndroidNCompat: can't find referenced method 'boolean isSustainedPerformanceModeSupported()' in library class android.os.PowerManager
Warning: com.google.vr.cardboard.AndroidNCompat: can't find referenced method 'void setSustainedPerformanceMode(boolean)' in library class android.view.Window
Warning: there were 3 unresolved references to library class members.
         You probably need to update the library versions.
         (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember)
 
Error: Please correct the above warnings first.
 
ninja: build stopped: subcommand failed.

Wat do?

Biao She

unread,
Sep 29, 2016, 3:47:06 PM9/29/16
to roc...@chromium.org, Chromium-dev
If you sync to TOT, the issue should have fixed. The issue is gvr depends on Android N SDK. But N isn't available for TOT yet.
Also, if you build a debug build, it should work.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Bo Liu

unread,
Sep 29, 2016, 4:50:18 PM9/29/16
to bs...@chromium.org, Ken Rockot, Chromium-dev
"is_java_debug = true" is a smaller workaround

On Thu, Sep 29, 2016 at 12:43 PM, Biao She <bs...@chromium.org> wrote:
If you sync to TOT, the issue should have fixed.

So crbug.com/650376 is fixed?

Biao She

unread,
Sep 29, 2016, 5:19:17 PM9/29/16
to bo...@chromium.org, Ken Rockot, Chromium-dev
hmm. Is it still reproducible on TOT for you? The CL that upgrade gvr library has been reverted. I assume it should fix the issue

Bo Liu

unread,
Sep 29, 2016, 5:27:21 PM9/29/16
to Biao She, Ken Rockot, Chromium-dev
Yeah checked just now. Trunk looks fixed. You update the bug owner to the right person, then close it.

Ken Rockot

unread,
Sep 29, 2016, 5:33:37 PM9/29/16
to bo...@chromium.org, Biao She, Chromium-dev
Thanks, working on ToT!
Reply all
Reply to author
Forward
0 new messages