I reverted back to IntelliJIDEA 14.1 after trying 2016.2

Answered

Last year I wrote a lot of Android programs with IntelliJIDEA 14.1 community edition and it was a pleasure. I did a complete re-installed my Windows 7 and got my computer back to a clean factory set up and then started to re-install programs such as IntellijIDEA, but this time with the latest version community edition 2016.2.

When I loaded my old projects back in, I got them going with some issues that I was able to resolve. I then started a new project and I had so many issues, I don't know where to start. At the end I re-installed my version 14.1 and now I am happy again. But it does worry me if the latest version is such a failure, that I simply gave up after a few days.

Some of the problems were when starting a new project:

  • It forces cradle into it, whether you like it or not.
  • When you start, and you select Android, a window opens that says Android Studio. You cannot select if it is a blank Android project.
  • When I was looking at the tutorial of the Jetbrains web site as to what the issues are, the help file still showed the old IntelliJIDEA way of doing it (like the version I have back 14.1.
  • When the project had started, the MainActivity it created (java class file) did not inherit (extend) from Activity but it had some class which it was unable to import.
  • The R class (like in "setContentView(R.layout.main)" could not be found. When I changed the coding so that it would inherit (extend) from the Activity class it still did not recognize the R. The odd thing is, it was the program itself that put it in.

This whole thing was a mete-gated disaster. Importation of the latest Android SDKs did not seem to fix anything. I reverted back to version 1.4, and now the help files on the web site match and all the problems are gone.

What is going on here?

 

6 comments
Comment actions Permalink

Support for non-Gradle projects will be dropped by Google soon. Android Studio supports only Gradle projects right now. Since IDEA Android support is merged from AS, you no longer have an option to create non-Gradle projects.

0
Comment actions Permalink

I would still accept the compulsory cradle, however I could not make a new project work. The MainActivity it created did not inherit from the class Activity but from some other class (cannot remember its name) which could not be imported. In addition to this the R class could not be found. It was impossible to actually run a new project. The number of issues I was having with seemed unsolvable. And there was no help file in regards to the new changes. When I started to build IntellijIDEA more than a year ago I learned everything from the jetbrains web site and it taught me how to do things very effectively, but now if I look for help it is still showing the older IntellijIDEA version. Nothing of what I learned that worked in the past made any sense to me. No idea why the R class cannot be resolved, it is the project that automatically put it there, and why extend a class that cannot be resolved? I am not trying to belittle intelliJIDEA, to the contrary, but it would be nice if the later version would actually work, and if it does not explain somehow what the fixes are to make it work.

0
Comment actions Permalink

Please submit a ticket to support and attach a sample project that doesn't work for you. We'll check what's wrong.

0
Comment actions Permalink

I cannot re-create this issue, as I have already uninstalled the new intellijIDEA version. Can I have both versions installed on my computer, 14.1 and 2006.2? Then I could re-install it and attach a sample project. As I said, the project was a plain start up project, without me adding any codes.

0
Comment actions Permalink

Yes, you can have multiple versions installed side by side without affecting each other. It's actually the default behavior.

0
Comment actions Permalink

I have installed Android Studio and it says "Powered by Intellij Platform. It is identical to the 2016.2 IntellijIDEA version except when I start a new project I have many project options. Is Android Studio made by jetbrains?  You are right, gradle is there and is actually required for my own library. It does exactly what IntellijIDEA does, except it does not give me any issues. However I find plugging in your own library much nicer and easier with IntellijIDEA, with Android Studio this is a bit tiresome and messy.

Following problems are resolved with Android Studio compared with IntellijIDEA 2016.2:

So where it says "extends AppCompatActivity"this import android.support.v7.app.AppCompatActivity can actually be found and where it says "setContentView(R.layout.activity_main)" the "R" is actually recognized by the software. I wander if this makes any sense to you.
I don't think I will re-install version 2016.2, but I will leave the old intelliJIDEA 14.1 which works beautifully and the Android Studio 2.1.2 on my computer. Should I re-install IntellijIDEA 2016.2 I shall create a ticket as you suggested.

Thanks

0

Please sign in to leave a comment.