java.lang.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

Stack Overflow | Jean Carlos | 5 months ago
  1. 0

    Run App with Wear app without watch

    Stack Overflow | 5 months ago | Jean Carlos
    java.lang.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
  2. 0
    The application is unable to connect to the database. It could be resolved by configuring access privileges on the database side.
  3. 0
    Execute mvn dependency:tree from your project's root directory.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    You should define the TestContext class in your classpath
  6. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.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

      at android.support.wearable.activity.WearableActivity.initAmbientSupport()
    2. android.support.wearable
      WearableActivity.onCreate
      1. android.support.wearable.activity.WearableActivity.initAmbientSupport(WearableActivity.java:187)
      2. android.support.wearable.activity.WearableActivity.onCreate(WearableActivity.java:70)
      2 frames
    3. com.mundocompilado.sesamo
      MainActivity.onCreate
      1. com.mundocompilado.sesamo.MainActivity.onCreate(MainActivity.java:25)
      1 frame
    4. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6259)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
      3 frames