android-studio

Android Studio I keep getting Gradle error “The process cannot access the file because it is being used by another process”

老子叫甜甜 提交于 2020-04-09 05:21:36
问题 I can import a sample app project, try to build it and I keep getting this error. Not always the same file but a new temp file each time. I've tried several different samples. I've been programming for 30+ years and feel completely clueless. Only clue seems to be the Windows Task Manager shows 99% to 100% CPU usage when it gives the error and ends the build. 回答1: Do This File -> Invalidate Caches / Restart.. -> Invalidate/ Restart 回答2: Just clean the project and have a run ! It would work ...

Android Studio I keep getting Gradle error “The process cannot access the file because it is being used by another process”

核能气质少年 提交于 2020-04-09 05:19:52
问题 I can import a sample app project, try to build it and I keep getting this error. Not always the same file but a new temp file each time. I've tried several different samples. I've been programming for 30+ years and feel completely clueless. Only clue seems to be the Windows Task Manager shows 99% to 100% CPU usage when it gives the error and ends the build. 回答1: Do This File -> Invalidate Caches / Restart.. -> Invalidate/ Restart 回答2: Just clean the project and have a run ! It would work ...

Android Studio is using this JDK location … which is different to what Gradle uses by default

倾然丶 夕夏残阳落幕 提交于 2020-04-09 02:18:36
问题 After Android Studio sync my gradle project, I see the following message in the event log: Android Studio is using this JDK location: /path/to/my/project/specific/jdk which is different to what Gradle uses by default: /path/to/android/studio/embedded/jdk Using different locations may spawn multiple Gradle daemons if Gradle tasks are run from command line while using Android Studio. Set Android Studio to use the same JDK as Gradle and sync project I have /path/to/my/project/specific/jdk set in

Android Studio is using this JDK location … which is different to what Gradle uses by default

不羁的心 提交于 2020-04-09 02:14:21
问题 After Android Studio sync my gradle project, I see the following message in the event log: Android Studio is using this JDK location: /path/to/my/project/specific/jdk which is different to what Gradle uses by default: /path/to/android/studio/embedded/jdk Using different locations may spawn multiple Gradle daemons if Gradle tasks are run from command line while using Android Studio. Set Android Studio to use the same JDK as Gradle and sync project I have /path/to/my/project/specific/jdk set in

Android Studio is using this JDK location … which is different to what Gradle uses by default

不羁的心 提交于 2020-04-09 02:12:17
问题 After Android Studio sync my gradle project, I see the following message in the event log: Android Studio is using this JDK location: /path/to/my/project/specific/jdk which is different to what Gradle uses by default: /path/to/android/studio/embedded/jdk Using different locations may spawn multiple Gradle daemons if Gradle tasks are run from command line while using Android Studio. Set Android Studio to use the same JDK as Gradle and sync project I have /path/to/my/project/specific/jdk set in

Android Studio is using this JDK location … which is different to what Gradle uses by default

試著忘記壹切 提交于 2020-04-09 02:09:21
问题 After Android Studio sync my gradle project, I see the following message in the event log: Android Studio is using this JDK location: /path/to/my/project/specific/jdk which is different to what Gradle uses by default: /path/to/android/studio/embedded/jdk Using different locations may spawn multiple Gradle daemons if Gradle tasks are run from command line while using Android Studio. Set Android Studio to use the same JDK as Gradle and sync project I have /path/to/my/project/specific/jdk set in

How to get certfile (.android\emulator-grpc.cer)?

对着背影说爱祢 提交于 2020-04-08 21:14:14
问题 After updating java, this message appears every time I run the emulator 21:13 Emulator: emulator: WARNING: EmulatorService.cpp:448: Cannot find certfile: C:\Users\Aml\.android\emulator-grpc.cer security will be disabled. 21:13 Emulator: Started GRPC server at 127.0.0.1:8554 Did some one face this issue and do I resolve this issue? 回答1: I met the same problem with you in Android Studio 3.6.1. I think it is a bug in this version. I solved this problem by downgrading the Android studio to 3.5.3.

How to get certfile (.android\emulator-grpc.cer)?

此生再无相见时 提交于 2020-04-08 21:13:32
问题 After updating java, this message appears every time I run the emulator 21:13 Emulator: emulator: WARNING: EmulatorService.cpp:448: Cannot find certfile: C:\Users\Aml\.android\emulator-grpc.cer security will be disabled. 21:13 Emulator: Started GRPC server at 127.0.0.1:8554 Did some one face this issue and do I resolve this issue? 回答1: I met the same problem with you in Android Studio 3.6.1. I think it is a bug in this version. I solved this problem by downgrading the Android studio to 3.5.3.

Cannot use old NDK (android-ndk-r17c) after Catalina upgrade due to new security

无人久伴 提交于 2020-04-08 08:57:50
问题 After upgrading to macOS Catalina, my project won't build anymore. This is due to Catalina believing the binaries in 'android-ndk-r17c' to not be from a trusted developer. You get messages such as: "“ld” cannot be opened because the developer cannot be verified." "macOS cannot verify that this app is free from malware" I have to use the old NDK due to problems with native openCV library SDK and newer NDKs. They are working on it, but the newer SDK is not stable enough for me yet. I was able

Illegal class file: Class module-info is missing a super type. Class file version 53

狂风中的少年 提交于 2020-04-08 04:01:47
问题 When I add firebase perf dependency into my project i am getting this error Illegal class file: Class module-info is missing a super type. Class file version 53. My Gradle and google services project-level dependencies are classpath 'com.android.tools.build:gradle:3.5.1' classpath 'com.google.gms:google-services:4.3.2' and I followed the exact steps mentioned in their docs https://firebase.google.com/docs/perf-mon/get-started-android. I have tried clean and rebuild and clearing the Android