intellij-13

How to fix “Fail to connect to camera service” exception in Android emulator

大兔子大兔子 提交于 2019-11-27 07:26:11
I'm getting a Fail to connect to camera service exception when I run my Android app in the emulator. I've read the various existing posts but none have fixed this. It is clearly the Camera.open() call which is failing. I would eventually like to get the webcam going in the emulator, as many SO posts discuss, but right now just want the app to run without bombing. I do not care whether any camera video gets shown or not, since there are other features besides the camera that I need to test, and will primarily test the camera on my device anyway. My manifest seems to be ok. The following lines

`-Dmaven.multiModuleProjectDirectory not set` issue with Maven and IntelliJ

▼魔方 西西 提交于 2019-11-27 05:39:33
问题 I've spent quite some time trying to figure out what I'm doing wrong and hoping someone may be able to help. My current setup is running Maven 3.3.3 (via homebrew) and Java 1.8. IntelliJ 13 is the IDE of choice. Running mvn -version results in the following: Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04- 22T12:57:37+01:00) Maven home: /usr/local/Cellar/maven/3.3.3/libexec Java version: 1.8.0_45, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines

Error:java: invalid source release: 8 in Intellij. What does it mean?

狂风中的少年 提交于 2019-11-27 02:33:18
Im trying to compile some code in I'm using Intellij Ultimate 13.1.4, but I get the following error and I have no idea what it means: Information:Using javac 1.7.0_55 to compile java sources Information:java: Errors occurred while compiling module 'Example' Information:Compilation completed with 1 error and 0 warnings in 3 sec Information:1 error Information:0 warnings Error:java: invalid source release: 8 My guess is that its something related to Java 8 vs Java 7, but I have no idea what specifically. I've tried to Google around for this message, but they either talk about javac or target

IntelliJ IDEA 13.1 - Updating maven repository index authentication failure

不想你离开。 提交于 2019-11-27 00:54:37
问题 When I want to update indices from the central Maven repository, I always get an error: java.lang.RuntimeException: java.io.IOException: Authorization exception retrieving nexes-maven-repository-index.properties. What I am missing here? 回答1: It's a known issue. The workaround is to disable an option to Use Maven 3 in IDEA Settings | Maven | Importing . Another workaround is to replace Maven jars in IDEA distribution with more recent versions. Original problem will be fixed in IDEA 13.1.2 (to

How to fix “Fail to connect to camera service” exception in Android emulator

前提是你 提交于 2019-11-26 13:09:34
问题 I\'m getting a Fail to connect to camera service exception when I run my Android app in the emulator. I\'ve read the various existing posts but none have fixed this. It is clearly the Camera.open() call which is failing. I would eventually like to get the webcam going in the emulator, as many SO posts discuss, but right now just want the app to run without bombing. I do not care whether any camera video gets shown or not, since there are other features besides the camera that I need to test,

Error:java: invalid source release: 8 in Intellij. What does it mean?

血红的双手。 提交于 2019-11-26 08:40:37
问题 Im trying to compile some code in I\'m using Intellij Ultimate 13.1.4, but I get the following error and I have no idea what it means: Information:Using javac 1.7.0_55 to compile java sources Information:java: Errors occurred while compiling module \'Example\' Information:Compilation completed with 1 error and 0 warnings in 3 sec Information:1 error Information:0 warnings Error:java: invalid source release: 8 My guess is that its something related to Java 8 vs Java 7, but I have no idea what