Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #26573

Closed (moved)
Open
Opened Jun 29, 2018 by Matthew Finkel@sysrqb

TBA: Cleanup logging on < API 21

Compiling with localWithGeckoBinariesNoMinApiPhotonDebug (or another NoMinApi variant), these methods don't exist when using the lower APIs and can't be revolved at run-time. It'd be nice we can avoid this in the the situations where we know it won't work. This only happens in onCreate from GeckoApp, but the errors are misleading. These errors are not fatal.

These errors generally come from Hardwareutils.isSystemSupported(), I haven't tracked down where the getDrawable*() methods are used.

12-31 19:06:13.340 2133-2133/org.torproject.torbrowser I/GeckoApplication: zerdatime 373344 - application start
12-31 19:06:20.390 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve virtual method 466: Landroid/content/Context;.checkSelfPermission (Ljava/lang/String;)I
12-31 19:06:20.770 2133-2133/org.torproject.torbrowser D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS
12-31 19:06:20.770 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve static field 173 (SUPPORTED_ABIS) in Landroid/os/Build;
12-31 19:06:20.810 2133-2133/org.torproject.torbrowser I/dalvikvm: Could not find method android.system.Os.uname, referenced from method org.mozilla.gecko.util.HardwareUtils.isX86System
12-31 19:06:20.810 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve static method 19531: Landroid/system/Os;.uname ()Landroid/system/StructUtsname;
12-31 19:06:23.260 2133-2133/org.torproject.torbrowser D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS
12-31 19:06:23.290 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve static field 173 (SUPPORTED_ABIS) in Landroid/os/Build;
12-31 19:06:24.260 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
12-31 19:06:24.260 2133-2133/org.torproject.torbrowser I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
12-31 19:06:24.260 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve interface method 20450: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
12-31 19:06:24.290 2133-2133/org.torproject.torbrowser I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
12-31 19:06:24.290 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve interface method 20454: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
12-31 19:06:25.370 2133-2133/org.torproject.torbrowser I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
12-31 19:06:25.370 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve virtual method 696: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
12-31 19:06:25.380 2133-2133/org.torproject.torbrowser I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
12-31 19:06:25.380 2133-2133/org.torproject.torbrowser W/dalvikvm: VFY: unable to resolve virtual method 698: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;

[[https://developer.android.com/reference/android/content/Context.html#checkSelfPermission(java.lang.String)|android.content.Context.checkSelfPermission()]] - added in API level 23 [[https://developer.android.com/reference/android/os/Build.html#SUPPORTED_ABIS|android.os.Build.SUPPORTED_ABIS]] - added in API level 21 [[https://developer.android.com/reference/android/system/Os.html#uname()|android.system.Os.uname()]] - added in API level 21 [[https://developer.android.com/reference/android/view/SearchEvent|android.view.SearchEvent]] - added in API level 23 [[https://developer.android.com/reference/android/view/Window.Callback.html#onWindowStartingActionMode(android.view.ActionMode.Callback,%20int)|android.view.Window.Callback.onWindowStartingActionMode]] - added in API level 23 [[https://developer.android.com/reference/android/content/res/Resources.html#getDrawable(int,%20android.content.res.Resources.Theme)|android.content.res.Resources.getDrawable()]] - added in API level 21 [[int, android.content.res.Resources.Theme)|android.content.res.Resources.getDrawableForDensity()](https://developer.android.com/reference/android/content/res/Resources.html#getDrawableForDensity(int,)] - added in API level 21

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#26573