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?