A memorandum because I was addicted to the setting of the Android project of IntelliJ IDEA

environment

Mac OSX 10.14.6 Mojave IntelliJ IDEA ULTIMATE 201903 Multi-module project

Problem 1 Not activated due to Network Error

Whether I updated IntelliJ or activated it, suddenly there was a phenomenon that I could not connect due to a network error.

Correspondence

Restart your mac I was able to resolve this symptom by rebooting twice for some reason. So it is unclear if it can be solved in one shot.

Problem 2 ClassNotFoundException: compile error with JAXBException

Since JAXBException disappears from Java9 when java9 or later is set as sdk I get a compile error.

Correspondence

  1. Switch to ProjectTab → Right-click Project root → Open Module Setting → Project Structure → Switch to dependencies tab → Match Module SDK to less than Java9 Project SDK or x.x can be used. Put them all together in the module.

If the above doesn't work, try the following and it works

  1. Preferences → Invalidate Caches & Build Run to clear the cache
  2. Delete the .gradle folder and the build folder of each module
  3. Delete /Users/xxxxx/.gradle/caches

I hope it helps someone.

Recommended Posts

A memorandum because I was addicted to the setting of the Android project of IntelliJ IDEA
A memorandum because I was addicted to the setting of the Android project of IntelliJ IDEA
A collection of Eclipse shortcuts that new graduates find useful
I was addicted to the setting of laradock + VSCode + xdebug
I was addicted to the API version min23 setting of registerTorchCallback
A story that I was addicted to twice with the automatic startup setting of Tomcat 8 on CentOS 8
The story I was addicted to when setting up STS
The secret to the success of IntelliJ IDEA
I was addicted to the roll method
I was addicted to the Spring-Batch test
A memo that was soberly addicted to the request of multipart / form-data
Memorandum: What I was addicted to when I hit the accounting freee API
A story I was addicted to when testing the API using MockMVC
I was addicted to a simple test of Jedis (Java-> Redis library)
[CircleCI] I was addicted to the automatic test of CircleCI (rails + mysql) [Memo]
I tried using the profiler of IntelliJ IDEA
I was addicted to the NoSuchMethodError in Cloud Endpoints
I tried the new feature profiler of IntelliJ IDEA 2019.2.
[Android] How to get the setting language of the terminal
The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans
A memorandum of the environment variable "JAVA_HOME" path setting procedure
What I was addicted to when introducing the JNI library
I was addicted to setting default_url_options with Rails devise introduction
I was addicted to looping the Update statement on MyBatis
A story I was addicted to in Rails validation settings
What I was addicted to with the Redmine REST API
I was confused because there was a split in the Array
When I switched to IntelliJ, I got a lot of differences in the encoding of the properties file.
I tried to make the sample application into a microservice according to the idea of the book "Microservice Architecture".
A story I was addicted to with implicit type conversion of ActiveRecord during unit testing
[Circle CI] A story I was addicted to at Start Building
I was addicted to starting sbt
Try to imitate the idea of a two-dimensional array with a one-dimensional array
What I was addicted to when updating the PHP version of the development environment (Docker) from 7.2.11 to 7.4.x
Technical causes and countermeasures for the points that I was addicted to with the Android app & Kotlin (2. Processing related to the camera function of Android *)
I made a gem to post the text of org-mode to qiita
A memorandum of the FizzBuzz problem
About the matter that I was addicted to how to use hashmap
Android memo-I was addicted to Permission
I tried to take a look at the flow of Android development environment construction with Android Studio
I made a tool to output the difference of CSV file
The story of making it possible to build a project that was built by Maven with Ant
[Rails] I was addicted to the nginx settings when using Action Cable.
Problems I was addicted to when building the digdag environment with docker
I want to summarize Apache Wicket 8 because it is a good idea
I was a little addicted to running old Ruby environment and old Rails
It was a life I wanted to reset the thread-safe associative counter
How to change the value of a variable at a breakpoint in intelliJ
I was a little addicted to ssh connection from mac to linux (ubuntu)
I was addicted to unit testing with the buffer operator in RxJava
I was addicted to rewriting to @SpringApplicationConfiguration-> @SpringBootTest
I made a plugin for IntelliJ IDEA
What I did when I was addicted to the error "Could not find XXX in any of the sources" when I added a Gem and built it
I tried to implement a function equivalent to Felica Lite with HCE-F of Android
What I tried when I wanted to get all the fields of a bean
SpringSecurity I was addicted to trying to log in with a hashed password (solved)
[When using MiniMagick] A memorandum because I stumbled in the CircleCI test environment.
I managed to get a blank when I brought the contents of Beans to the textarea
I want to recursively get the superclass and interface of a certain class
I was addicted to using RXTX on Sierra
I want to output the day of the week
A story addicted to EntityNotFoundException of getOne of JpaRepository