Android Support plugin failed to save settings
Hi,
I try to use the Android Support plugin with IntelliJ IDEA 2017.1 but can not create a new project with the following error message:
The plugin org.jetbrains.android failed to save settings and has been disabled. Please restart IntelliJ IDEA
I'm using
IntelliJ IDEA 2017.1
Build #IU-171.3780.107, built on March 22, 2017
JRE: 1.8.0_112-release-736-b13 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.4
Additionally I can not open the SDK Manager. Therefore I downloaded Android Studio, downloaded the SDK with it to "~/Library/Android/sdk" and registered it in IDEA via "Configure/Project Defaults/Project Structure/SDKs" as follows:
Name: Android API 25 Platform
Android SDK home path: /Users/stefanscheidt/Library/Android/sdk
Build target: Android API 25
Java SDK: 1.8
I still can not open the SDK Manager in IDEA.
Of course I could use Android Studio in parallel to IDEA, but I really would like to use IDEA for all of my projects.
Any ideas?
Kind Regards
Stefan
Please sign in to leave a comment.
Please share the logs (https://intellij-support.jetbrains.com/hc/articles/207241085).
SDK Manager has been deprecated: https://youtrack.jetbrains.com/issue/IDEA-170166.
Hello Serge,
thanks for the quick response!
Find the log here: https://www.dropbox.com/s/wxnvrrz2qo8y0d8/idea.log.zip?dl=0
Stefan
Does it happen with any Android project? Can you share any sample project that would reproduce the problem?
This is the project that was created by IDEA by the "New project wizard" but wasn't open by IDEA. Instead the error message "The plugin org.jetbrains.android failed to save settings ..." was shown
https://www.dropbox.com/s/uxsvsb5dw0z4e7g/HelloAndroid.zip?dl=0
Does this help?
Stefan
I just reactivated the Android Support Plugin and opened the "HelloAndroid" project and got the following events:
20:17 Unlinked Gradle project?
Import Gradle project, this will also enable Gradle Tool Window.
Don't want to see the message for the project again: press here.
20:17 Frameworks detected: Android framework is detected in the project Configure
And then after importing the Gradle project I got this message:
Warning:'Create separate module per source set' feature was disabled.
It isn't supported by android projects
And the project seems to be somehow broken:
in AndroidManifest:
'de.stefanscheidt.helloandroid.MainActivity' is not assignable to 'android.app.Activity' less... (⌘F1)
Validates resource references inside Android XML files.
in activity_main.xml:
Rendering Problems Missing styles. Is the correct theme chosen for this layout?
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.
Failed to find style 'textViewStyle' in current theme (4 similar errors not shown)
(By the way, I'm just starting with Android Development and have no idea yet how it should look like.)
I can't reproduce the problem.
Hmm. I just try do create a HelloWorld project with Android Studio and it seems to work fine. (Currently downloading an Android system image ...)
Probably I simply stick with Android Studio for now and will try to reproduce the effects with a colleague.
Stefan