wear/src/main/java/androidx/wear/ambient/SharedLibraryVersion.java
public static void verifySharedLibraryPresent() {
        if (!PresenceHolder.PRESENT) {
            throw new IllegalStateException("Could not find wearable shared library classes. "
                    + "Please add <uses-library android:name=\"com.google.android.wearable\" "
                    + "android:required=\"false\" /> to the application manifest");
        }
    }
/**
     * Throws {@link IllegalStateException} if the Wearable Shared Library is not present and API
     * level is at least LMP MR1.
     * <p>
     * <p>This validates that the developer hasn't forgotten to include a {@code <uses-library>} tag
     * in their manifest. The method should be used in combination with API level checks for
     * features added before {@link #version() version} 1.
     */
Throws  IllegalStateException if the Wearable Shared Library is not present and API
level is at least LMP MR1.

This validates that the developer hasn't forgotten to include a   tag
in their manifest. The method should be used in combination with API level checks for
features added before  #version() version 1.
Throws IllegalStateException if the Wearable Shared Library is not present and API level is at least LMP MR1 . This validates that the developer hasn ' t forgotten to include a tag in their manifest . The method should be used in combination with API level checks for features added before #version () version 1 .
public static void verifySharedLibraryPresent() {
        if (!PresenceHolder.PRESENT) {
            throw new IllegalStateException("Could not find wearable shared library classes. "
                    + "Please add <uses-library android:name=\"com.google.android.wearable\" "
                    + "android:required=\"false\" /> to the application manifest");
        }
    }
public static void verifySharedLibraryPresent ( ) { if ( ! PresenceHolder . PRESENT ) { throw new IllegalStateException ( "Could not find wearable shared library classes. " + "Please add <uses-library android:name=\"com.google.android.wearable\" " + "android:required=\"false\" /> to the application manifest" ) ; } }
Throws {@link IllegalStateException} if the Wearable Shared Library is not present and API
 level is at least LMP MR1.
Throws { @link IllegalStateException } if the Wearable Shared Library is not present and API level is at least LMP MR1 .