After updating Android studio 3.2.1. i am facing above issue
i had go through com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed after updating android studio but no useful.
Previously i have faced Build errors after Android Studio 3.2.1 upgrade issue after adding this lines project level gridle iam getting above issue
buildscript {
repositories {
google() // <--here
}
}
allprojects {
repositories {
google() // <-- here
}
}
This is the Error log :
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: warn: removing resource com.viotalk:string/account_settings_confirm_password without required default value.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3510: error: style attribute 'attr/attr/color_text_primary (aka com.viotalk:attr/attr/color_text_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3511: error: style attribute 'attr/attr/color_text_secondary (aka com.viotalk:attr/attr/color_text_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3513: error: style attribute 'attr/attr/color_background_primary (aka com.viotalk:attr/attr/color_background_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3514: error: style attribute 'attr/attr/color_background_secondary (aka com.viotalk:attr/attr/color_background_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3516: error: style attribute 'attr/attr/infocard_border (aka com.viotalk:attr/attr/infocard_border)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3517: error: style attribute 'attr/attr/divider (aka com.viotalk:attr/attr/divider)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3519: error: style attribute 'attr/attr/ic_send_cancel_offline (aka com.viotalk:attr/attr/ic_send_cancel_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3520: error: style attribute 'attr/attr/ic_send_location_offline (aka com.viotalk:attr/attr/ic_send_location_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3521: error: style attribute 'attr/attr/ic_send_photo_offline (aka com.viotalk:attr/attr/ic_send_photo_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3522: error: style attribute 'attr/attr/ic_send_picture_offline (aka com.viotalk:attr/attr/ic_send_picture_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3523: error: style attribute 'attr/attr/ic_send_text_offline (aka com.viotalk:attr/attr/ic_send_text_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3524: error: style attribute 'attr/attr/ic_send_voice_offline (aka com.viotalk:attr/attr/ic_send_voice_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3526: error: style attribute 'attr/attr/ic_attach_camera (aka com.viotalk:attr/attr/ic_attach_camera)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3527: error: style attribute 'attr/attr/ic_attach_document (aka com.viotalk:attr/attr/ic_attach_document)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3528: error: style attribute 'attr/attr/ic_attach_location (aka com.viotalk:attr/attr/ic_attach_location)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3529: error: style attribute 'attr/attr/ic_attach_photo (aka com.viotalk:attr/attr/ic_attach_photo)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3530: error: style attribute 'attr/attr/ic_attach_record (aka com.viotalk:attr/attr/ic_attach_record)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3532: error: style attribute 'attr/attr/icon_add_group (aka com.viotalk:attr/attr/icon_add_group)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3533: error: style attribute 'attr/attr/icon_add_person (aka com.viotalk:attr/attr/icon_add_person)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3534: error: style attribute 'attr/attr/icon_cancel (aka com.viotalk:attr/attr/icon_cancel)' not found.
Command: /Users/user/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/bde3fad980e487b411c5a0ae6f8ff6d1/aapt2-3.2.1-4818971-osx/aapt2 link -I\
/Users/user/Library/Android/sdk/platforms/android-28/android.jar\
--manifest\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
#/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--proguard-main-dex\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt\
--custom-package\
com.viotalk\
-0\
apk\
--output-text-symbols\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
Output: warn: removing resource com.viotalk:string/account_settings_confirm_password without required default value.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_text_primary (aka com.viotalk:attr/attr/color_text_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_text_secondary (aka com.viotalk:attr/attr/color_text_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_background_primary (aka com.viotalk:attr/attr/color_background_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/color_background_secondary (aka com.viotalk:attr/attr/color_background_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/infocard_border (aka com.viotalk:attr/attr/infocard_border)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/divider (aka com.viotalk:attr/attr/divider)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_cancel_offline (aka com.viotalk:attr/attr/ic_send_cancel_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_location_offline (aka com.viotalk:attr/attr/ic_send_location_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_photo_offline (aka com.viotalk:attr/attr/ic_send_photo_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_picture_offline (aka com.viotalk:attr/attr/ic_send_picture_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_text_offline (aka com.viotalk:attr/attr/ic_send_text_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_send_voice_offline (aka com.viotalk:attr/attr/ic_send_voice_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_camera (aka com.viotalk:attr/attr/ic_attach_camera)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_document (aka com.viotalk:attr/attr/ic_attach_document)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_location (aka com.viotalk:attr/attr/ic_attach_location)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_photo (aka com.viotalk:attr/attr/ic_attach_photo)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/ic_attach_record (aka com.viotalk:attr/attr/ic_attach_record)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/icon_add_group (aka com.viotalk:attr/attr/icon_add_group)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/icon_add_person (aka com.viotalk:attr/attr/icon_add_person)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/src/main/res/values/themes.xml:79:5-152:13: AAPT: error: style attribute 'attr/attr/icon_cancel (aka com.viotalk:attr/attr/icon_cancel)' not found.
Command: /Users/user/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/bde3fad980e487b411c5a0ae6f8ff6d1/aapt2-3.2.1-4818971-osx/aapt2 link -I\
/Users/user/Library/Android/sdk/platforms/android-28/android.jar\
--manifest\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
#/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--proguard-main-dex\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt\
--custom-package\
com.viotalk\
-0\
apk\
--output-text-symbols\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteException(Aapt2ErrorUtils.kt:97)
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteLinkException(Aapt2ErrorUtils.kt:73)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:527)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.doFullTaskAction(LinkApplicationAndroidResourcesTask.java:275)
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106)
at sun.reflect.GeneratedMethodAccessor616.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:124)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:113)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:95)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:73)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:256)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:249)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:238)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:663)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:597)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: warn: removing resource com.viotalk:string/account_settings_confirm_password without required default value.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3510: error: style attribute 'attr/attr/color_text_primary (aka com.viotalk:attr/attr/color_text_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3511: error: style attribute 'attr/attr/color_text_secondary (aka com.viotalk:attr/attr/color_text_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3513: error: style attribute 'attr/attr/color_background_primary (aka com.viotalk:attr/attr/color_background_primary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3514: error: style attribute 'attr/attr/color_background_secondary (aka com.viotalk:attr/attr/color_background_secondary)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3516: error: style attribute 'attr/attr/infocard_border (aka com.viotalk:attr/attr/infocard_border)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3517: error: style attribute 'attr/attr/divider (aka com.viotalk:attr/attr/divider)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3519: error: style attribute 'attr/attr/ic_send_cancel_offline (aka com.viotalk:attr/attr/ic_send_cancel_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3520: error: style attribute 'attr/attr/ic_send_location_offline (aka com.viotalk:attr/attr/ic_send_location_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3521: error: style attribute 'attr/attr/ic_send_photo_offline (aka com.viotalk:attr/attr/ic_send_photo_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3522: error: style attribute 'attr/attr/ic_send_picture_offline (aka com.viotalk:attr/attr/ic_send_picture_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3523: error: style attribute 'attr/attr/ic_send_text_offline (aka com.viotalk:attr/attr/ic_send_text_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3524: error: style attribute 'attr/attr/ic_send_voice_offline (aka com.viotalk:attr/attr/ic_send_voice_offline)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3526: error: style attribute 'attr/attr/ic_attach_camera (aka com.viotalk:attr/attr/ic_attach_camera)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3527: error: style attribute 'attr/attr/ic_attach_document (aka com.viotalk:attr/attr/ic_attach_document)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3528: error: style attribute 'attr/attr/ic_attach_location (aka com.viotalk:attr/attr/ic_attach_location)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3529: error: style attribute 'attr/attr/ic_attach_photo (aka com.viotalk:attr/attr/ic_attach_photo)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3530: error: style attribute 'attr/attr/ic_attach_record (aka com.viotalk:attr/attr/ic_attach_record)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3532: error: style attribute 'attr/attr/icon_add_group (aka com.viotalk:attr/attr/icon_add_group)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3533: error: style attribute 'attr/attr/icon_add_person (aka com.viotalk:attr/attr/icon_add_person)' not found.
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3534: error: style attribute 'attr/attr/icon_cancel (aka com.viotalk:attr/attr/icon_cancel)' not found.
Command: /Users/user/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/bde3fad980e487b411c5a0ae6f8ff6d1/aapt2-3.2.1-4818971-osx/aapt2 link -I\
/Users/user/Library/Android/sdk/platforms/android-28/android.jar\
--manifest\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
#/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--proguard-main-dex\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt\
--custom-package\
com.viotalk\
-0\
apk\
--output-text-symbols\
/Users/user/Desktop/VioTalk_Android_16Nov 2/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
at com.android.builder.internal.aapt.v2.Aapt2DaemonImpl.doLink(Aapt2DaemonImpl.kt:177)
at com.android.builder.internal.aapt.v2.Aapt2Daemon.link(Aapt2Daemon.kt:103)
at com.android.builder.internal.aapt.v2.Aapt2DaemonManager$LeasedAaptDaemon.link(Aapt2DaemonManager.kt:176)
at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:823)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:525)
... 49 more
Please help me ?
Related
I'm encountering this error:
Caused by: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\fbc90cfd248703a7e0db4d61153601cb\res\values\values.xml:14:5-370: AAPT: error: duplicate value for resource 'attr/layout_scrollFlags' with config ''.
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\fbc90cfd248703a7e0db4d61153601cb\res\values\values.xml:14:5-370: AAPT: error: resource previously defined here.
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\fbc90cfd248703a7e0db4d61153601cb\res\values\values.xml:15:5-180: AAPT: error: duplicate value for resource 'attr/behavior_peekHeight' with config ''.
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\fbc90cfd248703a7e0db4d61153601cb\res\values\values.xml:15:5-180: AAPT: error: resource previously defined here.
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\dc61720a1def28041d1d315e107b6600\res\values\values.xml:142:5-149:95: AAPT: error: duplicate value for resource 'attr/layout_collapseMode' with config ''.
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\dc61720a1def28041d1d315e107b6600\res\values\values.xml:142:5-149:95: AAPT: error: resource previously defined here.
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\fbc90cfd248703a7e0db4d61153601cb\res\values\values.xml:19:5-827: AAPT: error: duplicate value for resource 'attr/layout_anchorGravity' with config ''.
C:\Users\ASUS\.gradle\caches\transforms-2\files-2.1\fbc90cfd248703a7e0db4d61153601cb\res\values\values.xml:19:5-827: AAPT: error: resource previously defined here.
I don't know what are duplicated in my values.xml file. Here are the lines that is mentioned:
<declare-styleable name="AppBarLayout_LayoutParams"><attr name="layout_scrollFlags"><flag name="scroll" value="0x1"/><flag name="exitUntilCollapsed" value="0x2"/><flag name="enterAlways" value="0x4"/><flag name="enterAlwaysCollapsed" value="0x8"/><flag name="snap" value="0x10"/></attr><attr format="reference" name="layout_scrollInterpolator"/></declare-styleable>
<declare-styleable name="BottomSheetBehavior_Params"><attr format="dimension" name="behavior_peekHeight"/><attr format="boolean" name="behavior_hideable"/></declare-styleable>
<declare-styleable name="CollapsingAppBarLayout_LayoutParams"><attr name="layout_collapseMode"><enum name="none" value="0"/><enum name="pin" value="1"/><enum name="parallax" value="2"/></attr><attr format="float" name="layout_collapseParallaxMultiplier"/></declare-styleable>
<declare-styleable name="CollapsingToolbarLayout"><attr format="dimension" name="expandedTitleMargin"/><attr format="dimension" name="expandedTitleMarginStart"/><attr format="dimension" name="expandedTitleMarginTop"/><attr format="dimension" name="expandedTitleMarginEnd"/><attr format="dimension" name="expandedTitleMarginBottom"/><attr format="reference" name="expandedTitleTextAppearance"/><attr format="reference" name="collapsedTitleTextAppearance"/><attr format="color" name="contentScrim"/><attr format="color" name="statusBarScrim"/><attr format="reference" name="toolbarId"/><attr name="collapsedTitleGravity"><flag name="top" value="0x30"/><flag name="bottom" value="0x50"/><flag name="left" value="0x03"/><flag name="right" value="0x05"/><flag name="center_vertical" value="0x10"/><flag name="fill_vertical" value="0x70"/><flag name="center_horizontal" value="0x01"/><flag name="center" value="0x11"/><flag name="start" value="0x00800003"/><flag name="end" value="0x00800005"/></attr><attr name="expandedTitleGravity"><flag name="top" value="0x30"/><flag name="bottom" value="0x50"/><flag name="left" value="0x03"/><flag name="right" value="0x05"/><flag name="center_vertical" value="0x10"/><flag name="fill_vertical" value="0x70"/><flag name="center_horizontal" value="0x01"/><flag name="center" value="0x11"/><flag name="start" value="0x00800003"/><flag name="end" value="0x00800005"/></attr><attr format="boolean" name="titleEnabled"/><attr name="title"/></declare-styleable>
<declare-styleable name="CoordinatorLayout"><attr format="reference" name="keylines"/><attr format="reference" name="statusBarBackground"/></declare-styleable>
<declare-styleable name="CoordinatorLayout_LayoutParams"><attr name="android:layout_gravity"/><attr format="string" name="layout_behavior"/><attr format="reference" name="layout_anchor"/><attr format="integer" name="layout_keyline"/><attr name="layout_anchorGravity"><flag name="top" value="0x30"/><flag name="bottom" value="0x50"/><flag name="left" value="0x03"/><flag name="right" value="0x05"/><flag name="center_vertical" value="0x10"/><flag name="fill_vertical" value="0x70"/><flag name="center_horizontal" value="0x01"/><flag name="fill_horizontal" value="0x07"/><flag name="center" value="0x11"/><flag name="fill" value="0x77"/><flag name="clip_vertical" value="0x80"/><flag name="clip_horizontal" value="0x08"/><flag name="start" value="0x00800003"/><flag name="end" value="0x00800005"/></attr></declare-styleable>
<declare-styleable name="CollapsingToolbarLayout_Layout"><attr name="layout_collapseMode">
I'm using FloatingActionButton and TextInputLayout in one of my xml files
AAPT: error: duplicate value for resource 'attr/layout_scrollFlags' with config ''.
AAPT: error: resource previously defined here.
AAPT: error: duplicate value for resource 'attr/behavior_peekHeight' with config ''.
AAPT: error: resource previously defined here.
AAPT: error: duplicate value for resource 'attr/layout_collapseMode' with config ''.
AAPT: error: resource previously defined here.
AAPT: error: duplicate value for resource 'attr/layout_anchorGravity' with config ''.
AAPT: error: resource previously defined here.
Try building your project again, because my error output stated only 2 duplicates.
This suggests that you've defined duplicate attributes in your values.xml file.
Here are some duplicates I found:
For layout_collapseMode:
<declare-styleable name="CollapsingAppBarLayout_LayoutParams">
<attr name="layout_collapseMode">
<enum name="none" value="0"/>
<enum name="pin" value="1"/>
<enum name="parallax" value="2"/>
</attr>
<attr format="float" name="layout_collapseParallaxMultiplier"/>
</declare-styleable>
and
<declare-styleable name="CollapsingToolbarLayout_Layout">
<attr name="layout_collapseMode"> <!--Why is this here??-->
<!--Should be like this:-->
<declare-styleable name="CollapsingToolbarLayout_Layout">
<attr name="layout_collapseMode"/>
</declare-styleable>
For layout_anchorGravity:
The new versions of ConstraintLayouts already define layout_anchorGravity
I'm trying to install CouchDB 2.0 on CentOS 6.8 and its running into this error, I'm not sure what is wrong.
Any ideas ??
This is the log:
Compiled src/couch_db.erl
Compiled src/couch_native_process.erl
Compiled src/couch_util.erl
Compiling /root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:18:19: warning: jsapi.h: No such file or directory
In file included from /root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:20:
priv/couch_js/utf8.h:16: error: expected ‘)’ before ‘*’ token
priv/couch_js/utf8.h:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:21:
priv/couch_js/util.h:25: error: expected specifier-qualifier-list before ‘JSString’
priv/couch_js/util.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
priv/couch_js/util.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
priv/couch_js/util.h:32: error: expected ‘)’ before ‘*’ token
priv/couch_js/util.h:33: error: expected ‘)’ before ‘*’ token
priv/couch_js/util.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘couch_load_funcs’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_ctor’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_dtor’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_open’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_set_hdr’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_send’
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:72: error: expected ‘)’ before ‘*’ token
/root/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_uri’
ERROR: compile failed while processing /root/apache-couchdb-2.0.0/src/couch: rebar_abort
make: *** [couch] Error 1
Thank you
Its because jsapi.h by default its on /usr/local/include/js/
Try compiling SpiderMonkey with prefix on /usr like this:
./configure --prefix=/usr && make && make install
And compile couchdb again.
When I am loading my application through android studio, I am getting following error:
I have compiled SDL2 library separately using Android.mk/Application.mk and added those so paths in my application.
buildToolsVersion = '23.0.2'
minSdkVersion.apiLevel = 17
targetSdkVersion.apiLevel = 23
Error
FATAL EXCEPTION: main
Process: com.example.hellojni, PID: 14607
java.lang.UnsatisfiedLinkError: dlopen failed: library "libSDL2.so" not found
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at com.example.hellojni.HelloJni.(HelloJni.java:66)
at java.lang.Class.newInstance(Native Method)
at android.app.Instrumentation.newActivity(Instrumentation.java:1095)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3083)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
at android.app.ActivityThread.access$1100(ActivityThread.java:221)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
In Visual Studio 2012 I made an MsBuild inline task that works, until I uncomment a single line of code. When uncommented it fails with this message:
C:\Build\MyScript.targets(49,5): error MSB4018: The "MyCustomGetPath" task failed unexpectedly.
C:\Build\MyScript.targets(49,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'NuGet, Version=2.7.40906.75, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
C:\Build\MyScript.targets(49,5): error MSB4018: File name: 'NuGet, Version=2.7.40906.75, Culture=neutral, PublicKeyToken=null'
C:\Build\MyScript.targets(49,5): error MSB4018: at InlineCode.GetNuGetRepositoryPath.Execute()
C:\Build\MyScript.targets(49,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
C:\Build\MyScript.targets(49,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
C:\Build\MyScript.targets(49,5): error MSB4018:
C:\Build\MyScript.targets(49,5): error MSB4018: === Pre-bind state information ===
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: User = Biz\baria2
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: DisplayName = NuGet, Version=2.7.40906.75, Culture=neutral, PublicKeyToken=null
C:\Build\MyScript.targets(49,5): error MSB4018: (Fully-specified)
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Appbase = file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Initial PrivatePath = NULL
C:\Build\MyScript.targets(49,5): error MSB4018: Calling assembly : (Unknown).
C:\Build\MyScript.targets(49,5): error MSB4018: ===
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: This bind starts in default load context.
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Using application configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe.Config
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Using host configuration file:
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/NuGet.DLL.
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/NuGet/NuGet.DLL.
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/NuGet.EXE.
C:\Build\MyScript.targets(49,5): error MSB4018: LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/NuGet/NuGet.EXE.
C:\Build\MyScript.targets(49,5): error MSB4018:
Done Building Project "C:\Build\MyScript.targets" (default targets) -- FAILED.
The command I am executing is:
C:\Build\>msbuild MyScript.targets
Here is the inline task:
<UsingTask TaskName="MyCustomGetPath" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<config ParameterType="System.String" Required="true" />
<repositoryPath ParameterType="System.String" Output="true" />
</ParameterGroup>
<Task>
<Reference Include="$(NuGetExePath)" />
<Using Namespace="NuGet" />
<Using Namespace="System.IO" />
<Code Type="Fragment" Language="cs">
<![CDATA[
ISettings settings = null;
string directoryName = Path.GetDirectoryName(Path.GetFullPath(config));
string fileName = null;
if (File.Exists(config))
{
fileName = Path.GetFileName(config);
}
//var temp = new NullLogger();
//MessageLevel msg = MessageLevel.Warning;
//PhysicalFileSystem physicalFileSystem = new PhysicalFileSystem(directoryName);
repositoryPath = directoryName;
]]>
</Code>
</Task>
</UsingTask>
Yes, this code is referencing the NuGet.exe (version 2.7 in this case). There are three commented lines above; uncommenting any one of them will cause the error. Overall I suspect this is fusion related. That reasonably makes sense, but then what are my options to fix this?
Update
This post seems to be the same problem.
I've downloaded the Ceylon SDK and try to play a little bit, but after a while I realize of this:
...
SDK
At this time, the only module available is the language module
ceylon.language, included in the distribution.
http://ceylon-lang.org/blog/2011/12/20/ceylon-m1-newton/
Would that explain why am I getting ClassNotFoundException here? Or am I missing something else?
$cat source/time.ceylon
import javax.swing { JFrame }
void run() {
print( "Yeap, it's working ");
value frame = JFrame();
frame.pack();
frame.visible := true;
}
$../../bin/ceylonc default
error: warning: Has multiple constructors: javax.swing.JFrame
error: warning: Has conflicting attribute and method name 'layout': javax.swing.JFrame
error: warning: Has conflicting attribute and method name 'iconImage': javax.swing.JFrame
error: warning: Has multiple constructors: java.awt.Frame
error: warning: Has conflicting attribute and method name 'cursor': java.awt.Frame
error: warning: Has multiple constructors: java.awt.Window
error: warning: Has conflicting attribute and method name 'cursor': java.awt.Window
error: warning: Has conflicting attribute and method name 'minimumSize': java.awt.Window
error: warning: Has conflicting attribute and method name 'visible': java.awt.Window
error: warning: Has conflicting attribute and method name 'locationRelativeTo': java.awt.Window
error: warning: Has conflicting attribute and method name 'size': java.awt.Window
error: warning: Has conflicting attribute and method name 'bounds': java.awt.Window
error: warning: Has conflicting attribute and method name 'iconImage': java.awt.Window
error: warning: Has conflicting attribute and method name 'font': java.awt.Container
14 warnings
$../../bin/ceylon default
Note: Ceylon repository 'http://modules.ceylon-lang.org' not yet available.
Yeap, it's working
Exception in thread "main" java.lang.RuntimeException: Error using Ceylon Runtime.
at ceylon.modules.Main.main(Main.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:243)
at org.jboss.modules.Main.main(Main.java:313)
Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
at java.security.AccessController.doPrivileged(Native Method)
at ceylon.modules.api.runtime.SecurityActions.invokeRun(SecurityActions.java:59)
at ceylon.modules.api.runtime.AbstractRuntime.invokeRun(AbstractRuntime.java:69)
at ceylon.modules.api.runtime.AbstractRuntime.execute(AbstractRuntime.java:109)
at ceylon.modules.Main.execute(Main.java:76)
at ceylon.modules.Main.main(Main.java:55)
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ceylon.modules.api.runtime.SecurityActions$2.run(SecurityActions.java:66)
... 12 more
Caused by: java.lang.NoClassDefFoundError: javax/swing/JFrame
at run.run(time.ceylon:4)
at run.main(time.ceylon)
... 17 more
Caused by: java.lang.ClassNotFoundException: javax.swing.JFrame from [Module "default:**NO_VERSION**" from Ceylon ModuleLoader: RootRepository: FileContentStore: /Users/oscarryz/.ceylon/repo]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)
... 19 more
Java interop is not ready yet, so M1 does not include it. It's planned for M2:
http://ceylon-lang.org/documentation/roadmap/#milestone_2