I am trying to build IntelliJ IDEA from source code by following the build instructions.but I am facing this error message while compiling the code:
/home/youssef/intellij-community/android/as-driver/utils/testSrc/com/android/tools/asdriver/tests/XvfbServer.java:26:31
java: package org.apache.commons.lang does not exist
/home/youssef/intellij-community/android/as-driver/utils/testSrc/com/android/tools/asdriver/tests/XvfbServer.java:85:10
java: cannot find symbol
symbol: variable SystemUtils
location: class com.android.tools.asdriver.tests.XvfbServer
I also see some invalid dependencies in the project structure window:
-Module intellij.android.core: invalid item 'commons-lang' in the dependencies list
-Module intellij.android.as-driver.utils: invalid item 'commons-lang' in the dependencies list
-Module intellij.android.glance-designer: invalid item 'commons-lang' in the dependencies list
-Module intellij.android.studio.integration: invalid item 'commons-lang' in the dependencies list
-Module intellij.android.compose-designer.tests: invalid item 'commons-lang' in the dependencies list
-Module android.sdktools.db-compiler: invalid item 'commons-lang' in the dependencies list
It seems like the package org.apache.commons.lang cannot be found, and the symbol SystemUtils cannot be resolved. Additionally, there are invalid items in the dependencies list of multiple modules.
Can someone help me with this error? What could be the reason for this error, and how can I resolve it?
Also, I encountered a problem in the getPlugins.sh script, but I was able to solve it:
fatal: read error: Connection reset by peer fatal: early EOF fatal: index-pack failed
The solution I followed: fatal: early EOF fatal: index-pack failed
I tried