I'm looking into shortcut creation with Android O. Unfortunately Android Studio is not recognizing the ShortcutManager class:
In the gradle file I have set as a dependency:
compile 'com.android.support:appcompat-v7:25.3.1'
In the gradle file I have these versions set:
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
minSdkVersion 25
targetSdkVersion 25
I have followed the steps in this SO response and executed File => Invalidate Caches / Restart...
Unfortunately Android Studio continues to not recognize the class.
Information on my version of Android Studio:
Android Studio 2.3.2
Build #AI-162.3934792, built on April 21, 2017
JRE: 1.8.0_112-release-b06 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Attempting to manually import the class is not successful: