Android Support plugin failed to save settings

Answered

 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

 

0
7 comments
Avatar
Permanently deleted user

Hello Serge,

thanks for the quick response!

Find the log here: https://www.dropbox.com/s/wxnvrrz2qo8y0d8/idea.log.zip?dl=0

Stefan

0

Does it happen with any Android project? Can you share any sample project that would reproduce the problem?

0
Avatar
Permanently deleted user

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

 

0
Avatar
Permanently deleted user

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.)

0

I can't reproduce the problem.

0
Avatar
Permanently deleted user

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

0

Please sign in to leave a comment.