Only a month ago, running an app through the Android Studio emulator was running fine. Now I'm warmly greeted by
Error
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES
The complete error is
Launching '{project}' on Pixel 5 API 33.
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES
List of apks:
[0] '/Users/andrewfletcher/Apps/{project}/android/app/build/intermediates/extracted_apks/release/base-en.apk'
[1] '/Users/andrewfletcher/Apps/{project}/android/app/build/intermediates/extracted_apks/release/base-master_2.apk'
[2] '/Users/andrewfletcher/Apps/{project}/android/app/build/intermediates/extracted_apks/release/base-xxhdpi.apk'
[3] '/Users/andrewfletcher/Apps/{project}/android/app/build/intermediates/extracted_apks/release/base-x86_64_2.apk'
APK signature verification failed.
Retry
Failed to launch an application on all devices
Initially, to resolve this issue, there are two areas of focus:
- INSTALL_PARSE_FAILED_NO_CERTIFICATES; and
- APK signature verification failed.
While attempting that option, I wanted to attempt a run command prompt
nix cap run android
Response
✔ Please choose a target device: › Pixel 5 API 33 (emulator) (Pixel_5_API_33)
✖ Running Gradle build - failed!
[error] Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use
--status for details
> Configure project :app
WARNING:Using flatDir should be avoided because it doesn't support any
meta-data formats.
> Configure project :capacitor-cordova-android-plugins
WARNING:Using flatDir should be avoided because it doesn't support any
meta-data formats.
> Task :capacitor-android:preBuild UP-TO-DATE
> Task :capacitor-android:preDebugBuild UP-TO-DATE
> Task :capacitor-android:compileDebugAidl NO-SOURCE
> Task :capacitor-app:preBuild UP-TO-DATE
> Task :capacitor-app:preDebugBuild UP-TO-DATE
> Task :capacitor-app:compileDebugAidl NO-SOURCE
> Task :capacitor-app:mergeDebugJniLibFolders
> Task :capacitor-app:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-app:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-android:compileDebugRenderscript NO-SOURCE
> Task :capacitor-app:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-android:generateDebugBuildConfig
> Task :capacitor-android:generateDebugResValues
> Task :capacitor-android:generateDebugResources
> Task :capacitor-android:packageDebugResources
> Task :capacitor-android:packageDebugRenderscript NO-SOURCE
> Task :capacitor-app:compileDebugRenderscript NO-SOURCE
> Task :capacitor-android:javaPreCompileDebug
> Task :capacitor-app:generateDebugBuildConfig
> Task :capacitor-app:generateDebugResValues
> Task :capacitor-app:generateDebugResources
> Task :capacitor-app:packageDebugResources
> Task :capacitor-app:parseDebugLocalResources
> Task :capacitor-app:javaPreCompileDebug
> Task :capacitor-app:mergeDebugShaders
> Task :capacitor-app:compileDebugShaders NO-SOURCE
> Task :capacitor-app:generateDebugAssets UP-TO-DATE
> Task :capacitor-android:parseDebugLocalResources
> Task :capacitor-app:packageDebugAssets
> Task :capacitor-app:packageDebugRenderscript NO-SOURCE
> Task :capacitor-app:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-app:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-app:processDebugJavaRes NO-SOURCE
> Task :capacitor-camera:preBuild UP-TO-DATE
> Task :capacitor-camera:preDebugBuild UP-TO-DATE
> Task :capacitor-camera:compileDebugAidl NO-SOURCE
> Task :capacitor-app:writeDebugAarMetadata
> Task :capacitor-camera:mergeDebugJniLibFolders
> Task :capacitor-camera:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-camera:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-camera:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-camera:compileDebugRenderscript NO-SOURCE
> Task :capacitor-camera:generateDebugBuildConfig
> Task :capacitor-camera:generateDebugResValues
> Task :capacitor-camera:generateDebugResources
> Task :capacitor-camera:packageDebugResources
> Task :capacitor-camera:parseDebugLocalResources
> Task :capacitor-camera:javaPreCompileDebug
> Task :capacitor-camera:mergeDebugShaders
> Task :capacitor-camera:compileDebugShaders NO-SOURCE
> Task :capacitor-camera:generateDebugAssets UP-TO-DATE
> Task :capacitor-android:processDebugManifest
> Task :capacitor-camera:processDebugManifest
> Task :capacitor-app:processDebugManifest
> Task :capacitor-camera:packageDebugAssets
> Task :capacitor-camera:packageDebugRenderscript NO-SOURCE
> Task :capacitor-camera:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-camera:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-camera:processDebugJavaRes NO-SOURCE
> Task :capacitor-app:mergeDebugJavaResource
> Task :capacitor-filesystem:preBuild UP-TO-DATE
> Task :capacitor-camera:writeDebugAarMetadata
> Task :capacitor-filesystem:preDebugBuild UP-TO-DATE
> Task :capacitor-camera:mergeDebugJavaResource
> Task :capacitor-filesystem:compileDebugAidl NO-SOURCE
> Task :capacitor-filesystem:mergeDebugJniLibFolders
> Task :capacitor-filesystem:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-filesystem:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-filesystem:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-filesystem:compileDebugRenderscript NO-SOURCE
> Task :capacitor-filesystem:generateDebugBuildConfig
> Task :capacitor-filesystem:generateDebugResValues
> Task :capacitor-filesystem:generateDebugResources
> Task :capacitor-filesystem:packageDebugResources
> Task :capacitor-filesystem:parseDebugLocalResources
> Task :capacitor-filesystem:javaPreCompileDebug
> Task :capacitor-filesystem:mergeDebugShaders
> Task :capacitor-filesystem:compileDebugShaders NO-SOURCE
> Task :capacitor-filesystem:generateDebugAssets UP-TO-DATE
> Task :capacitor-filesystem:processDebugManifest
> Task :capacitor-filesystem:packageDebugAssets
> Task :capacitor-filesystem:packageDebugRenderscript NO-SOURCE
> Task :capacitor-filesystem:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-filesystem:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-filesystem:processDebugJavaRes NO-SOURCE
> Task :capacitor-filesystem:writeDebugAarMetadata
> Task :capacitor-haptics:preBuild UP-TO-DATE
> Task :capacitor-filesystem:mergeDebugJavaResource
> Task :capacitor-haptics:preDebugBuild UP-TO-DATE
> Task :capacitor-haptics:compileDebugAidl NO-SOURCE
> Task :capacitor-haptics:mergeDebugJniLibFolders
> Task :capacitor-haptics:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-haptics:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-haptics:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-haptics:compileDebugRenderscript NO-SOURCE
> Task :capacitor-haptics:generateDebugBuildConfig
> Task :capacitor-haptics:generateDebugResValues
> Task :capacitor-haptics:generateDebugResources
> Task :capacitor-haptics:packageDebugResources
> Task :capacitor-haptics:parseDebugLocalResources
> Task :capacitor-haptics:javaPreCompileDebug
> Task :capacitor-haptics:mergeDebugShaders
> Task :capacitor-haptics:compileDebugShaders NO-SOURCE
> Task :capacitor-haptics:generateDebugAssets UP-TO-DATE
> Task :capacitor-haptics:processDebugManifest
> Task :capacitor-haptics:packageDebugAssets
> Task :capacitor-haptics:packageDebugRenderscript NO-SOURCE
> Task :capacitor-haptics:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-haptics:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-haptics:processDebugJavaRes NO-SOURCE
> Task :capacitor-keyboard:preBuild UP-TO-DATE
> Task :capacitor-keyboard:preDebugBuild UP-TO-DATE
> Task :capacitor-haptics:writeDebugAarMetadata
> Task :capacitor-haptics:mergeDebugJavaResource
> Task :capacitor-keyboard:compileDebugAidl NO-SOURCE
> Task :capacitor-keyboard:mergeDebugJniLibFolders
> Task :capacitor-keyboard:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-keyboard:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-keyboard:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-keyboard:compileDebugRenderscript NO-SOURCE
> Task :capacitor-keyboard:generateDebugBuildConfig
> Task :capacitor-keyboard:generateDebugResValues
> Task :capacitor-keyboard:generateDebugResources
> Task :capacitor-keyboard:packageDebugResources
> Task :capacitor-keyboard:parseDebugLocalResources
> Task :capacitor-keyboard:javaPreCompileDebug
> Task :capacitor-keyboard:mergeDebugShaders
> Task :capacitor-keyboard:compileDebugShaders NO-SOURCE
> Task :capacitor-keyboard:generateDebugAssets UP-TO-DATE
> Task :capacitor-keyboard:processDebugManifest
> Task :capacitor-keyboard:packageDebugAssets
> Task :capacitor-keyboard:packageDebugRenderscript NO-SOURCE
> Task :capacitor-keyboard:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-keyboard:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-keyboard:processDebugJavaRes NO-SOURCE
> Task :capacitor-keyboard:writeDebugAarMetadata
> Task :capacitor-splash-screen:preBuild UP-TO-DATE
> Task :capacitor-splash-screen:preDebugBuild UP-TO-DATE
> Task :capacitor-keyboard:mergeDebugJavaResource
> Task :capacitor-splash-screen:compileDebugAidl NO-SOURCE
> Task :capacitor-splash-screen:mergeDebugJniLibFolders
> Task :capacitor-splash-screen:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-splash-screen:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-splash-screen:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-splash-screen:compileDebugRenderscript NO-SOURCE
> Task :capacitor-splash-screen:generateDebugBuildConfig
> Task :capacitor-splash-screen:generateDebugResValues
> Task :capacitor-splash-screen:generateDebugResources
> Task :capacitor-splash-screen:packageDebugResources
> Task :capacitor-splash-screen:parseDebugLocalResources
> Task :capacitor-splash-screen:javaPreCompileDebug
> Task :capacitor-splash-screen:mergeDebugShaders
> Task :capacitor-splash-screen:compileDebugShaders NO-SOURCE
> Task :capacitor-splash-screen:generateDebugAssets UP-TO-DATE
> Task :capacitor-splash-screen:processDebugManifest
> Task :capacitor-splash-screen:packageDebugAssets
> Task :capacitor-splash-screen:packageDebugRenderscript NO-SOURCE
> Task :capacitor-splash-screen:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-splash-screen:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-splash-screen:processDebugJavaRes NO-SOURCE
> Task :capacitor-status-bar:preBuild UP-TO-DATE
> Task :capacitor-status-bar:preDebugBuild UP-TO-DATE
> Task :capacitor-splash-screen:writeDebugAarMetadata
> Task :capacitor-splash-screen:mergeDebugJavaResource
> Task :capacitor-status-bar:compileDebugAidl NO-SOURCE
> Task :capacitor-status-bar:mergeDebugJniLibFolders
> Task :capacitor-status-bar:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-status-bar:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-status-bar:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-status-bar:compileDebugRenderscript NO-SOURCE
> Task :capacitor-status-bar:generateDebugBuildConfig
> Task :capacitor-status-bar:generateDebugResValues
> Task :capacitor-status-bar:generateDebugResources
> Task :capacitor-status-bar:packageDebugResources
> Task :capacitor-status-bar:parseDebugLocalResources
> Task :capacitor-status-bar:javaPreCompileDebug
> Task :capacitor-status-bar:mergeDebugShaders
> Task :capacitor-status-bar:compileDebugShaders NO-SOURCE
> Task :capacitor-status-bar:generateDebugAssets UP-TO-DATE
> Task :capacitor-status-bar:processDebugManifest
> Task :capacitor-status-bar:packageDebugAssets
> Task :capacitor-status-bar:packageDebugRenderscript NO-SOURCE
> Task :capacitor-status-bar:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-status-bar:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-status-bar:processDebugJavaRes NO-SOURCE
> Task :capacitor-status-bar:mergeDebugJavaResource
> Task :capacitor-status-bar:writeDebugAarMetadata
> Task :capacitor-android:generateDebugRFile
> Task :capacitor-android:mergeDebugJniLibFolders
> Task :capacitor-android:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-android:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-android:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-android:mergeDebugShaders
> Task :capacitor-android:compileDebugShaders NO-SOURCE
> Task :capacitor-android:generateDebugAssets UP-TO-DATE
> Task :capacitor-android:packageDebugAssets
> Task :capacitor-android:prepareDebugArtProfile UP-TO-DATE
> Task :capacitor-android:prepareLintJarForPublish UP-TO-DATE
> Task :capacitor-android:processDebugJavaRes NO-SOURCE
> Task :capacitor-cordova-android-plugins:preBuild UP-TO-DATE
> Task :capacitor-cordova-android-plugins:preDebugBuild UP-TO-DATE
> Task :capacitor-android:mergeDebugJavaResource
> Task :capacitor-android:writeDebugAarMetadata
> Task :capacitor-cordova-android-plugins:compileDebugAidl NO-SOURCE
> Task :capacitor-cordova-android-plugins:mergeDebugJniLibFolders
> Task :capacitor-cordova-android-plugins:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-cordova-android-plugins:stripDebugDebugSymbols
NO-SOURCE
> Task :capacitor-cordova-android-plugins:compileDebugRenderscript
NO-SOURCE
> Task
:capacitor-cordova-android-plugins:copyDebugJniLibsProjectAndLocalJars
> Task :capacitor-android:compileDebugJavaWithJavac
Note:
/Users/andrewfletcher/Apps/{group}/{project}/node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/cordova/MockCordovaInterfaceImpl.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :capacitor-android:bundleLibCompileToJarDebug
> Task :capacitor-app:generateDebugRFile
> Task :capacitor-app:extractDebugAnnotations
> Task :capacitor-camera:generateDebugRFile
> Task :capacitor-app:compileDebugJavaWithJavac
> Task :capacitor-app:mergeDebugGeneratedProguardFiles UP-TO-DATE
> Task :capacitor-app:mergeDebugConsumerProguardFiles UP-TO-DATE
> Task :capacitor-app:syncDebugLibJars
> Task :capacitor-app:bundleDebugLocalLintAar
> Task :capacitor-camera:extractDebugAnnotations
> Task :capacitor-camera:compileDebugJavaWithJavac
> Task :capacitor-camera:mergeDebugGeneratedProguardFiles UP-TO-DATE
> Task :capacitor-camera:mergeDebugConsumerProguardFiles UP-TO-DATE
> Task :capacitor-camera:syncDebugLibJars
> Task :capacitor-camera:bundleDebugLocalLintAar
> Task :capacitor-filesystem:generateDebugRFile
> Task :capacitor-haptics:generateDebugRFile
> Task :capacitor-keyboard:generateDebugRFile
> Task :capacitor-splash-screen:generateDebugRFile
> Task :capacitor-filesystem:extractDebugAnnotations
> Task :capacitor-status-bar:generateDebugRFile
> Task :capacitor-filesystem:compileDebugJavaWithJavac
> Task :capacitor-filesystem:mergeDebugGeneratedProguardFiles UP-TO-DATE
> Task :capacitor-filesystem:mergeDebugConsumerProguardFiles UP-TO-DATE
> Task :capacitor-filesystem:syncDebugLibJars
> Task :capacitor-filesystem:bundleDebugLocalLintAar
> Task :capacitor-haptics:extractDebugAnnotations
> Task :capacitor-haptics:compileDebugJavaWithJavac
> Task :capacitor-haptics:mergeDebugGeneratedProguardFiles UP-TO-DATE
> Task :capacitor-haptics:mergeDebugConsumerProguardFiles UP-TO-DATE
> Task :capacitor-haptics:syncDebugLibJars
> Task :capacitor-haptics:bundleDebugLocalLintAar
> Task :capacitor-keyboard:extractDebugAnnotations
> Task :capacitor-keyboard:compileDebugJavaWithJavac
> Task :capacitor-keyboard:mergeDebugGeneratedProguardFiles UP-TO-DATE
> Task :capacitor-keyboard:mergeDebugConsumerProguardFiles UP-TO-DATE
> Task :capacitor-keyboard:syncDebugLibJars
> Task :capacitor-keyboard:bundleDebugLocalLintAar
> Task :capacitor-splash-screen:extractDebugAnnotations
> Task :capacitor-splash-screen:compileDebugJavaWithJavac
Note:
/Users/andrewfletcher/Apps/{group}/{project}/node_modules/@capacitor/splash-screen/android/src/main/java/com/capacitorjs/plugins/splashscreen/SplashScreen.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :capacitor-splash-screen:mergeDebugGeneratedProguardFiles
UP-TO-DATE
> Task :capacitor-splash-screen:mergeDebugConsumerProguardFiles
UP-TO-DATE
> Task :capacitor-splash-screen:syncDebugLibJars
> Task :capacitor-splash-screen:bundleDebugLocalLintAar
> Task :capacitor-status-bar:extractDebugAnnotations
> Task :capacitor-status-bar:compileDebugJavaWithJavac
> Task :capacitor-status-bar:mergeDebugGeneratedProguardFiles UP-TO-DATE
> Task :capacitor-status-bar:mergeDebugConsumerProguardFiles UP-TO-DATE
> Task :capacitor-status-bar:syncDebugLibJars
> Task :capacitor-status-bar:bundleDebugLocalLintAar
> Task :capacitor-android:extractDebugAnnotations
> Task :capacitor-android:mergeDebugGeneratedProguardFiles UP-TO-DATE
> Task :capacitor-android:mergeDebugConsumerProguardFiles
> Task :capacitor-android:syncDebugLibJars
> Task :capacitor-android:bundleDebugLocalLintAar
> Task :capacitor-cordova-android-plugins:generateDebugBuildConfig
> Task :capacitor-cordova-android-plugins:generateDebugResValues
> Task :capacitor-cordova-android-plugins:generateDebugResources
> Task :capacitor-cordova-android-plugins:packageDebugResources
> Task :capacitor-cordova-android-plugins:parseDebugLocalResources
> Task :capacitor-cordova-android-plugins:javaPreCompileDebug
> Task :capacitor-cordova-android-plugins:mergeDebugShaders
> Task :capacitor-cordova-android-plugins:compileDebugShaders NO-SOURCE
> Task :capacitor-cordova-android-plugins:generateDebugAssets UP-TO-DATE
> Task :capacitor-cordova-android-plugins:packageDebugAssets
> Task :capacitor-cordova-android-plugins:packageDebugRenderscript
NO-SOURCE
> Task :capacitor-cordova-android-plugins:prepareDebugArtProfile
UP-TO-DATE
> Task :capacitor-cordova-android-plugins:prepareLintJarForPublish
UP-TO-DATE
> Task :capacitor-cordova-android-plugins:processDebugManifest
> Task :capacitor-cordova-android-plugins:processDebugJavaRes NO-SOURCE
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :capacitor-cordova-android-plugins:writeDebugAarMetadata
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:javaPreCompileDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :capacitor-cordova-android-plugins:mergeDebugJavaResource
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :capacitor-cordova-android-plugins:generateDebugRFile
> Task :capacitor-android:extractDeepLinksDebug
> Task :capacitor-app:extractDeepLinksDebug
> Task :capacitor-camera:extractDeepLinksDebug
> Task :app:checkDebugAarMetadata
> Task :capacitor-cordova-android-plugins:extractDebugAnnotations
> Task :app:mergeDebugResources
> Task :capacitor-cordova-android-plugins:compileDebugJavaWithJavac
FAILED
/Users/andrewfletcher/Apps/{group}/{project}/android/capacitor-cordova-android-plugins/src/main/java/io/github/pwlin/cordova/plugins/fileopener2/FileProvider.java:28:
error: package android.support.v4.content does not exist
public class FileProvider extends
android.support.v4.content.FileProvider {
^
/Users/andrewfletcher/Apps/{group}/{project}/android/capacitor-cordova-android-plugins/src/main/java/io/github/pwlin/cordova/plugins/fileopener2/FileOpener2.java:119:
error: cannot find symbol
path = FileProvider.getUriForFile(context,
cordova.getActivity().getPackageName() + ".fileOpener2.provider", file);
^
symbol: method getUriForFile(Context,String,File)
location: class FileProvider
/Users/andrewfletcher/Apps/{group}/{project}/android/capacitor-cordova-android-plugins/src/main/java/io/github/pwlin/cordova/plugins/fileopener2/FileOpener2.java:127:
error: cannot find symbol
Uri path = FileProvider.getUriForFile(context,
cordova.getActivity().getPackageName() + ".fileOpener2.provider", file);
^
symbol: method getUriForFile(Context,String,File)
location: class FileProvider
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task
':capacitor-cordova-android-plugins:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 23s
196 actionable tasks: 163 executed, 33 up-to-date
Gradle error
in Android Studio, I'm seeing the following error when attempting to run
Unable to serialize GradleLocalSettings state
The complete error relating to this issue
com.intellij.util.xmlb.XmlSerializationException: Can't serialize instance of class org.jetbrains.plugins.gradle.settings.GradleLocalSettings$MyState
at com.intellij.configurationStore.JdomSerializerImpl.serialize(xmlSerializer.kt:61)
at com.intellij.configurationStore.XmlSerializer.serialize(xmlSerializer.kt:23)
at com.intellij.configurationStore.XmlSerializer.serialize$default(xmlSerializer.kt:22)
at com.intellij.configurationStore.SaveSessionBaseKt.serializeState(SaveSessionBase.kt:46)
at com.intellij.configurationStore.SaveSessionBase.setState(SaveSessionBase.kt:20)
at com.intellij.configurationStore.ComponentStoreImpl.setStateToSaveSessionProducer(ComponentStoreImpl.kt:350)
at com.intellij.configurationScript.providers.MyProjectStore.setStateToSaveSessionProducer(ConfigurationScriptProjectStoreFactory.kt:72)
at com.intellij.configurationStore.ComponentStoreImpl.commitComponent(ComponentStoreImpl.kt:343)
at com.intellij.configurationStore.ComponentStoreImpl.commitComponents$intellij_platform_configurationStore_impl(ComponentStoreImpl.kt:240)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.commitComponents$intellij_platform_configurationStore_impl(ComponentStoreWithExtraComponents.kt:94)
at com.intellij.configurationStore.ComponentStoreImpl$commitComponentsOnEdt$$inlined$withEdtContext$intellij_platform_configurationStore_impl$1.invokeSuspend(ComponentStoreImpl.kt:723)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at com.intellij.openapi.application.constraints.BaseConstrainedExecution$Companion$scheduleWithinConstraints$1.invoke(BaseConstrainedExecution.kt:68)
at com.intellij.openapi.application.constraints.BaseConstrainedExecution$Companion.scheduleWithinConstraints(BaseConstrainedExecution.kt:71)
at com.intellij.openapi.application.constraints.BaseConstrainedExecution.scheduleWithinConstraints(BaseConstrainedExecution.kt:38)
at com.intellij.openapi.application.impl.BaseExpirableExecutorMixinImpl.access$scheduleWithinConstraints$s1153900543(BaseExpirableExecutorMixinImpl.kt:12)
at com.intellij.openapi.application.impl.BaseExpirableExecutorMixinImpl$scheduleWithinConstraints$$inlined$Runnable$1.run(Runnable.kt:19)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.util.ConcurrentModificationException
at java.base/java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.base/java.util.ArrayList$Itr.next(Unknown Source)
at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:144)
at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:65)
at com.intellij.util.xmlb.BasePrimitiveBinding.serialize(BasePrimitiveBinding.java:44)
at com.intellij.util.xmlb.BeanBinding.serializePropertyInto(BeanBinding.java:128)
at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:93)
at com.intellij.serialization.xml.KotlinAwareBeanBinding.serializeInto(KotlinAwareBeanBinding.kt:39)
at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:80)
at com.intellij.util.xmlb.MapBinding.serializeKeyOrValue(MapBinding.java:298)
at com.intellij.util.xmlb.MapBinding.serialize(MapBinding.java:123)
at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:65)
at com.intellij.util.xmlb.BasePrimitiveBinding.serialize(BasePrimitiveBinding.java:44)
at com.intellij.util.xmlb.BeanBinding.serializePropertyInto(BeanBinding.java:128)
at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:93)
at com.intellij.serialization.xml.KotlinAwareBeanBinding.serializeInto(KotlinAwareBeanBinding.kt:39)
at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:80)
at com.intellij.util.xmlb.MapBinding.serializeKeyOrValue(MapBinding.java:298)
at com.intellij.util.xmlb.MapBinding.serialize(MapBinding.java:123)
at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:65)
at com.intellij.util.xmlb.BasePrimitiveBinding.serialize(BasePrimitiveBinding.java:44)
at com.intellij.util.xmlb.BeanBinding.serializePropertyInto(BeanBinding.java:128)
at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:93)
at com.intellij.serialization.xml.KotlinAwareBeanBinding.serializeInto(KotlinAwareBeanBinding.kt:39)
at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:84)
at com.intellij.configurationStore.JdomSerializerImpl.serialize(xmlSerializer.kt:51)
... 48 more
Cross check that Gradle exists. This can be achieved by
gradle -v
Response
zsh: command not found: gradle
To install Gradle on OSX run
brew install gradle
Post the installation of Gradle, once again check the version of Gradle
gradle -v
Response
Welcome to Gradle 8.2.1!
Here are the highlights of this release:
- Kotlin DSL: new reference documentation, assignment syntax by default
- Kotlin DSL is now the default with Gradle init
- Improved suggestions to resolve errors in console output
- Reduced sync memory consumption
For more details see https://docs.gradle.org/8.2.1/release-notes.html
------------------------------------------------------------
Gradle 8.2.1
------------------------------------------------------------
Build time: 2023-07-10 12:12:35 UTC
Revision: a38ec64d3c4612da9083cc506a1ccb212afeecaa
Kotlin: 1.8.20
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 20.0.1 (Homebrew 20.0.1)
OS: Mac OS X 13.4.1 aarch64
INSTALL_PARSE_FAILED_NO_CERTIFICATES
Approaches taken to date include:
- Invalidate caches and restarting;
- Build Bundle/APK - trying both options;
- Install APK and run APK in emulator;
- Wiping the data in the emulator and cold reboot
Keystore
What about if I check the password that's being used for the .keystore file. You can do this by using bash to go to the directory where your app is located. Where your {name}.keystore file is located enter the command
keytool -list -v -keystore {name}.keystore
Of course replace {name} with your project.
The response will look something similar to
Enter keystore password:
Keystore type: PKCS12
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: upload
Creation date: 8 Aug. 2022
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: {details}
Issuer: {details}
Serial number: {number}
Valid from: {date} until: Fri {date}
Certificate fingerprints:
SHA1: {fingerprint}
SHA256: {fingerprint}
Signature algorithm name: {sha...}
Subject Public Key Algorithm: {let_type}
Version: {number}
Extensions:
#1: ObjectId: {object}
SubjectKeyIdentifier [
KeyIdentifier [
/.../
]
]
*******************************************
*******************************************