Issue
From few days, I'm not able to see preview/design of screens/layouts. Only a black screen is shown with android...ActionBarOverlayLayout written on it.
There is no error or exception in logcat. Also after running the project no issue on device. Only preview and Design tab in Android Studio showing black screen.
This is happening for every layouts after some Android Studio and build tools updates(which happened automatically)
Note: If I change Theme in preview (Theme in Editor), then sometimes the preview is shown, but it's very weird preview which can't be used for development
Solution
Got this error-message:
Error:Execution failed for task ':app:processDebugManifest'.
Suggestion: use a compatible library with a minSdk of at most 9,
or increase this project's minSdk version to at least 14.
The solution is (as everyone said before) to match up the versions:
compileSdkVersion 26
buildToolsVersion '26.0.2'
targetSdkVersion 26
compile "com.android.support:support-v4:26.0.2"
compile "com.android.support:design:26.0.2"
But also change the compatible library minSDK
minSdkVersion 14
And the play-services
compile 'com.google.android.gms:play-services:11.8.0'
Answered By - Steffo Dimfelt
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.