Comments (4)
Did you encounter the problem?
Yes, I did.
Any ideas?
You have at least 3 options:
- Ignore (build in IDEA is successful, right?)
- Create empty project libraries with expected names (e.g. studio-plugin-gradle, ...)
- Cleanup modules by deleting references to non-existing libraries
IntelliJ IDEA follows approach *3. I didn't include this patch because large patches are hard to maintain and usually they won't be compatible with new studio sources.
from android-studio-builder-1.
Did you encounter the problem?
Yes, I did.
Any ideas?
You have at least 3 options:
- Ignore (build in IDEA is successful, right?)
- Create empty project libraries with expected names (e.g. studio-plugin-gradle, ...)
- Cleanup modules by deleting references to non-existing libraries
IntelliJ IDEA follows approach *3. I didn't include this patch because large patches are hard to maintain and usually they won't be compatible with new studio sources.
After some research, I found the 'IDEA jdk' not be configed, so, added it : Project Structure->Platform Settings->SDKs;
Before rebuild project ,IDEA prompted 'Kotlin Plugin must 1.4.99 or lower', My IDEA is 212, it is not compat with Kotlin Plugin which version is 1.4.99 or lower, I reinstall IDEA-203, but i didn`t found plugin 1.4.99, the version nearest 1.4.99 is 1.4.31,so i did and rebuild project again.Unfortunatly, also encounted error :
Kotlin: [Internal Error] org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Failed to generate expression: KtProperty File being compiled: (13,3) in /home/liuyu/Downloads/android-studio-builder/aosp_source/tools/idea/platform/execution-impl/src/com/intellij/execution/impl/BeforeRunTaskHelper.kt The root cause java.lang.IllegalStateException was thrown at: org.jetbrains.kotlin.codegen.state.KotlinTypeMapper$typeMappingConfiguration$1.processErrorType(KotlinTypeMapper.kt:122) ... ... Caused by: java.lang.IllegalStateException: Error type encountered: [ERROR : <LOOP IN SUPERTYPES>] (ErrorType).
I guessed it is still relatived with Kotlin Plugin ,but did`t find anything helpful after googling a lot.
I wonder whether it exists Kotlin Plugin which version is between 1.4.31 and 1.4.99,or is there some method work around for building project?
from android-studio-builder-1.
I found the 'IDEA jdk' not be configed, so, added it
Ah. You are right. I forgot to mention this step. It is explained here: https://github.com/JetBrains/intellij-community/blob/202/README.md#intellij-build-configuration
1.4.31
should work fine. This exception looks like a bug in kotlin compiler. Please click "build" button again. If it fails with exactly the same error - please try "rebuild project". If error is different - keep trying to build the project via "build" button. Let me know if neither helped. I observe similar error time to time with kotlin compiler 1.4.x while compiling IDEA sources.
from android-studio-builder-1.
Cleanup: closing obsolete issues
from android-studio-builder-1.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-studio-builder-1.