Comments (8)
We do run/use this script inside a headless environment with the latest IDEA IntelliJ 2016.2 release. I'd assume that it's rather implicit by design that a CLI-based mode should be able to run in a headless environment.
I'd recommend to test your assumption by downgrading. IDEA 2016.2 is brand-new. So I wonder if your preview is already based on the idea 2016.3 code base or this problem is introduced by some Android specific parts.
from idea-cli-inspector.
Thank you for the quick response. It seems that Android Studio 2.2 preview 5 is using version 2016.1 of IntelliJ.
I tried downgrading to Android Studio 2.1.1 (making sure I remove all configuration files etc..) but I still have the same error.
Is there any specific reason you are using the IDEA to launch te script? I was wondering if it would be possible to directly launch inspect.sh without using the IDEA? It might solve the "Too many instances" problem? Or did you go down that path already without result?
from idea-cli-inspector.
Sounds like the issue comes from a installed plugin/extension.
Try to temporarily move the whole Android Studio folder with the two config
and system
subdirectories. Then start Studio once, click OK to everything and then try again. This way you should have a vanilla base installation.
After reading it, I saw no need to use inspect.sh
besides working only under *nix.
from idea-cli-inspector.
Yes, that's exactly what I did. I removed all those folders to be sure I had a clean installation. I found the config folders here.
I'm working on Mac OSX, I don't think it has anything to do with it. I'll have a look if I can run it with inspect.sh
from idea-cli-inspector.
Does the system/logs
folder contain some hints about the source of your startup-Error?
from idea-cli-inspector.
Not really, here's the output in the logs:
idea.txt
And here's the output from the script:
script_output.txt
from idea-cli-inspector.
ok, I found another leftover folder from a different, very old configuration. The issue seems to be resolved when I removed it. I'm sorry for your time, but it seems my question is resolved now!
I will still check if it might be possible to just use inspect.sh
because at the end that's what IntelliJ executes.
from idea-cli-inspector.
I see one, newly benefit of inspect.sh : It could workaround/fix #9
But: I think in that case the script won't be able to longer track the excecution of the IDEA. I think that could be the root issue if I remember correctly.
from idea-cli-inspector.
Related Issues (16)
- Fails to launch intellij idea 2016.01 on OSX HOT 3
- Identifying new violations introduced with changes HOT 4
- Inspection fails on checkstyle.xml - how to fix? HOT 2
- IDEA reporting OK though "Inspection cannot proceed" due to unresolved path variable HOT 5
- command line arguments should override .ideainspect file HOT 5
- Allow to specify fullpath of pom.xml as project path HOT 3
- Plugin error while inspecting code HOT 3
- Incorporate sylvainlaurent/docker-intellij-inspect with idea-cli-inspector
- required files in repo to run this inspect tool HOT 1
- Does it run with other IDEs HOT 4
- Remove usage of `jcenter` HOT 1
- Jenkins Pipelining HOT 6
- Custom Scopes in Inspections HOT 7
- Configure Libraries HOT 2
- Script looks for `idea.sh` for Android Studio installations under Linux
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 idea-cli-inspector.