1. Are you ready for the Galaxy S20? Here is everything we know so far!

What is a library group prefix? It's now breaking my build.

Discussion in 'Android Development' started by Stokestack, Jun 18, 2020.

  1. Stokestack

    Stokestack Lurker
    Thread Starter

    Hi all.

    I'm new to Android development and am cramming info, but I've inherited a project that is now (after updating Android Studio and the project) failing the de-linter with an error saying that a method on a control can "only be called from within the same library group prefix."

    The method in question is MenuItemImpl.setExclusiveCheckable, and the error says it can only be called from "within the same library group prefix." It goes on to say:

    referenced groupId=androidx.appcompat with prefix androidx from groupId=[my application] [RestrictedApi]

    What does this mean? Is this a deprecated API call?

    Thanks for any insight.
     


  2. Maybe this will help: https://developer.android.com/jetpack/androidx/migrate
     
    Stokestack likes this.
  3. Stokestack

    Stokestack Lurker
    Thread Starter

    Thanks for that reference!
     
  4. No problem, I know how hard finding references can be sometimes.
     
Loading...
Similar Threads - library group prefix
  1. Azad Mamiyev
    Replies:
    0
    Views:
    167
  2. App Update
    Replies:
    0
    Views:
    194
  3. Ink Library
    Replies:
    1
    Views:
    259
  4. Azad Mamiyev
    Replies:
    2
    Views:
    446
  5. App Update
    Replies:
    0
    Views:
    333
  6. Azad Mamiyev
    Replies:
    1
    Views:
    413
  7. Ismael López Quintero
    Replies:
    1
    Views:
    287
  8. Kim Mett
    Replies:
    3
    Views:
    267
  9. earnest1209
    Replies:
    1
    Views:
    531
  10. musicmatters
    Replies:
    15
    Views:
    1,026

Share This Page

Loading...