Skip to content Skip to sidebar Skip to footer

Watchviewstub.requestapplyinsets Fails With Nosuchmethoderror

I'm trying to run simple Android Wear app on S5 with KitKat. The app is just sample generated by Android Studio. When I run the app it fails with: java.lang.NoSuchMethodError: andr

Solution 1:

Ok it's my fault. Looks like if you have wear module in your application it is built and installed by default (instead of app module).

To build and install Android app from terminal now I have to run

gradlew app:iD 

Where app is my plain Android project (named mobile by default). Running it without app: prefix installs wear app.

Post a Comment for "Watchviewstub.requestapplyinsets Fails With Nosuchmethoderror"