Search Unity

Getting an error of re-packing "CommandInvokationFailure: Failed to re-package resources."

Discussion in 'Android' started by Ankit_JeGames, Aug 13, 2019.

  1. Ankit_JeGames

    Ankit_JeGames

    Joined:
    May 28, 2019
    Posts:
    11
    I just imported a Unity ADmobPackage to add Ads in my Unity Adds. but a soon as I added and made a demo scene to see how it would look like and how/where should I place the Ads.
    When I was trying to build that APK I got this error.

    Code (CSharp):
    1. CommandInvokationFailure: Failed to re-package resources.
    2. D:\Sdk\build-tools\29.0.0\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "D:/Sdk\platforms\android-28\android.jar" -F bin/resources.ap_ --extra-packages androidx.arch.core:androidx.asynclayoutinflater:androidx.browser:androidx.coordinatorlayout:androidx.core:androidx.cursoradapter:androidx.customview:androidx.documentfile:androidx.drawerlayout:androidx.fragment:androidx.interpolator:androidx.legacy.coreui:androidx.legacy.coreutils:androidx.legacy.v4:androidx.lifecycle.livedata:androidx.lifecycle.livedata.core:androidx.lifecycle:androidx.lifecycle.viewmodel:androidx.loader:androidx.localbroadcastmanager:androidx.media:androidx.print:androidx.slidingpanelayout:androidx.swiperefreshlayout:androidx.versionedparcelable:androidx.viewpager:androidx.asynclayoutinflater:androidx.browser:com.google.android.gms.ads.impl:com.google.android.gms.ads_base:com.google.android.gms.ads_identifier:com.google.android.gms.ads:com.google.android.gms.common:com.google.android.gms.gass:com.google.firebase.measurement:com.google.android.gms.measurement_base:com.google.firebase.measurement_impl:com.google.android.gms.measurement.sdk:com.google.android.gms.measurement.sdk.api:com.google.android.gms.stats:com.voxelbusters.commonlib:androidx.coordinatorlayout:androidx.core:androidx.arch.core:androidx.cursoradapter:androidx.customview:androidx.documentfile:androidx.drawerlayout:androidx.fragment:com.google.unity.ads:androidx.interpolator:androidx.legacy.coreui:androidx.legacy.coreutils:androidx.lifecycle.livedata:androidx.lifecycle.livedata.core:androidx.lifecycle:androidx.lifecycle.viewmodel:androidx.loader:androidx.localbroadcastmanager:com.secondfury.nativetoolkit:com.voxelbusters.androidnativeplugin:com.google.android.gms.ads.impl:com.google.android.gms.ads_base:com.google.android.gms.ads:com.google.android.gms.gass:androidx.print:androidx.slidingpanelayout:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:androidx.swiperefreshlayout:androidx.versionedparcelable:androidx.viewpager:com.voxelbusters.utility:com.unity3d.player -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.coordinatorlayout.coordinatorlayout-1.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\browser-1.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-18.1.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-lite-18.1.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-17.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\coordinatorlayout-1.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\core-1.0.0\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\NativeToolkit\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\native_plugins_lib\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\play-services-ads-18.1.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\play-services-ads-lite-18.1.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\support-compat-24.2.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\support-core-ui-24.2.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\support-core-utils-24.2.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\support-fragment-24.2.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\support-media-compat-24.2.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\support-v4-24.2.1\res" -S "D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\VuforiaWrapper\res"
    3.  
    4. stderr[
    5. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res\layout\browser_actions_context_menu_page.xml:15: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    6. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res\layout\browser_actions_context_menu_page.xml:15: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <TextView>
    7. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res\layout\browser_actions_context_menu_page.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/browser_actions_context_menu_page for configuration v17.
    8. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res\layout\browser_actions_context_menu_row.xml:5: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    9. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res\layout\browser_actions_context_menu_row.xml:5: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <LinearLayout>
    10. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res\layout\browser_actions_context_menu_row.xml:21: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
    11. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.browser.browser-1.0.0\res\layout\browser_actions_context_menu_row.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/browser_actions_context_menu_row for configuration v17.
    12. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    13. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    14. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/notification_action for configuration v17.
    15. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    16. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    17. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/notification_action_tombstone for configuration v17.
    18. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    19. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
    20. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
    21. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    22. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/notification_template_big_media for configuration v17.
    23. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    24. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    25. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <LinearLayout>
    26. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    27. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <FrameLayout>
    28. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    29. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    30. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_custom.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/notification_template_big_media_custom for configuration v17.
    31. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
    32. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <LinearLayout>
    33. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    34. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
    35. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
    36. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    37. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/notification_template_big_media_narrow for configuration v17.
    38. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:107: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
    39. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:93: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <LinearLayout>
    40. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:93: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    41. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    42. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <LinearLayout>
    43. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    44. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:49: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <FrameLayout>
    45. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:49: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    46. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    47. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.media.media-1.0.0\res\layout\notification_template_big_media_narrow_custom.xml: note: using v17 attributes; synthesizing resource com.tarc.app:layout/notification_template_big_media_narrow_custom for configuration v17.
    48. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_template_custom_big.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from <LinearLayout>
    49. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout\notification_template_custom_big.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <FrameLayout>
    50. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout-v16\notification_template_custom_big.xml:103: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    51. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout-v16\notification_template_custom_big.xml:95: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <ImageView>
    52. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout-v16\notification_template_custom_big.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    53. D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\androidx.core.core-1.0.0\res\layout-v16\notification_template_custom_big.xml:51: no<message truncated>

    I've tried so many things I was able to find on Google but nothing helped me. I'm not sure what I'm doing wrong. The main thing is that when I tried to build an Admob app without anything in a fresh project it works just fine.


    IDE:
    Unity 2017.4.30f1
    Latest Admob plugin, Vuforia.
     
  2. Ankit_JeGames

    Ankit_JeGames

    Joined:
    May 28, 2019
    Posts:
    11
    Hey all, I reverted back to my last backup and imported the AdMob plugin again and that error is gone now. But the new devil just came. When APK builder reaches to the point where it converts all the classes to dex format it throws an error. which is "Unable to convert classes to dex format please see console for more information". I get back to console to see what's going on. I was terrified just to look at that.


    Error:

    Code (CSharp):
    1. CommandInvokationFailure: Unable to convert classes into dex format.
    2. C:/Users/Unity3/Downloads/Java/jdk1.8.0_162\bin\java.exe -Xmx4096M -Dcom.android.sdkmanager.toolsdir="D:/Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity_2019.1.4f1\Editor\2019.1.4f1\Editor\2017.4.30f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
    3.  
    4. stderr[
    5. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/INotificationSideChannel;
    6. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/INotificationSideChannel$Stub;
    7. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/INotificationSideChannel$Stub$Proxy;
    8. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/os/IResultReceiver;
    9. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/os/IResultReceiver$Stub;
    10. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
    11. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/os/ResultReceiver;
    12. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/os/ResultReceiver$1;
    13. Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/os/ResultReceiver$MyResultReceiver;
    14.  
    15. UNEXPECTED TOP-LEVEL EXCEPTION:
    16. java.lang.RuntimeException: Translation has been interrupted
    17.     at com.android.dx.command.dexer.Main.processAllFiles(Main.java:614)
    18.     at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
    19.     at com.android.dx.command.dexer.Main.runDx(Main.java:288)
    20.     at com.android.dx.command.dexer.Main.main(Main.java:244)
    21.     at com.android.dx.command.Main.main(Main.java:95)
    22.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    23.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    24.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    25.     at java.lang.reflect.Method.invoke(Method.java:498)
    26.     at SDKMain.main(SDKMain.java:130)
    27. Caused by: java.lang.InterruptedException: Too many errors
    28.     at com.android.dx.command.dexer.Main.processAllFiles(Main.java:606)
    29.     ... 9 more
    30. ]
    31. stdout[
    32. processing archive D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\GoogleMobileAdsPlugin\libs\.\unity-plugin-library.jar...
    33. processing com/google/unity/BuildConfig.class...
    34. processing com/google/unity/ads/AdNetworkExtras.class...
    35. processing com/google/unity/ads/Banner.class...
    36. processing com/google/unity/ads/Banner$1.class...
    37. processing com/google/unity/ads/Banner$10.class...
    38. processing com/google/unity/ads/Banner$11.class...
    39. processing com/google/unity/ads/Banner$12.class...
    40. processing com/google/unity/ads/Banner$13.class...
    41. processing com/google/unity/ads/Banner$2.class...
    42. processing com/google/unity/ads/Banner$3.class...
    43. processing com/google/unity/ads/Banner$3$1.class...
    44. processing com/google/unity/ads/Banner$3$2.class...
    45. processing com/google/unity/ads/Banner$3$3.class...
    46. processing com/google/unity/ads/Banner$3$4.class...
    47. processing com/google/unity/ads/Banner$3$5.class...
    48. processing com/google/unity/ads/Banner$4.class...
    49. processing com/google/unity/ads/Banner$5.class...
    50. processing com/google/unity/ads/Banner$6.class...
    51. processing com/google/unity/ads/Banner$7.class...
    52. processing com/google/unity/ads/Banner$8.class...
    53. processing com/google/unity/ads/Banner$9.class...
    54. processing com/google/unity/ads/Banner$Insets.class...
    55. processing com/google/unity/ads/CustomNativeAd.class...
    56. processing com/google/unity/ads/CustomNativeAd$1.class...
    57. processing com/google/unity/ads/CustomNativeAd$2.class...
    58. processing com/google/unity/ads/Interstitial.class...
    59. processing com/google/unity/ads/Interstitial$1.class...
    60. processing com/google/unity/ads/Interstitial$1$1.class...
    61. processing com/google/unity/ads/Interstitial$1$1$1.class...
    62. processing com/google/unity/ads/Interstitial$1$1$2.class...
    63. processing com/google/unity/ads/Interstitial$1$1$3.class...
    64. processing com/google/unity/ads/Interstitial$1$1$4.class...
    65. processing com/google/unity/ads/Interstitial$1$1$5.class...
    66. processing com/google/unity/ads/Interstitial$2.class...
    67. processing com/google/unity/ads/Interstitial$3.class...
    68. processing com/google/unity/ads/NativeAdLoader.class...
    69. processing com/google/unity/ads/NativeAdLoader$1.class...
    70. processing com/google/unity/ads/NativeAdLoader$2.class...
    71. processing com/google/unity/ads/NativeAdLoader$3.class...
    72. processing com/google/unity/ads/NativeAdLoader$3$1.class...
    73. processing com/google/unity/ads/NativeAdLoader$3$2.class...
    74. processing com/google/unity/ads/NativeAdLoader$3$3.class...
    75. processing com/google/unity/ads/NativeAdLoader$4.class...
    76. processing com/google/unity/ads/PluginUtils.class...
    77. processing com/google/unity/ads/RewardBasedVideo.class...
    78. processing com/google/unity/ads/RewardBasedVideo$1.class...
    79. processing com/google/unity/ads/RewardBasedVideo$1$1.class...
    80. processing com/google/unity/ads/RewardBasedVideo$1$1$1.class...
    81. processing com/google/unity/ads/RewardBasedVideo$1$1$2.class...
    82. processing com/google/unity/ads/RewardBasedVideo$1$1$3.class...
    83. processing com/google/unity/ads/RewardBasedVideo$1$1$4.class...
    84. processing com/google/unity/ads/RewardBasedVideo$1$1$5.class...
    85. processing com/google/unity/ads/RewardBasedVideo$1$1$6.class...
    86. processing com/google/unity/ads/RewardBasedVideo$1$1$7.class...
    87. processing com/google/unity/ads/RewardBasedVideo$1$1$8.class...
    88. processing com/google/unity/ads/RewardBasedVideo$2.class...
    89. processing com/google/unity/ads/RewardBasedVideo$3.class...
    90. processing com/google/unity/ads/RewardBasedVideo$4.class...
    91. processing com/google/unity/ads/UnityAdListener.class...
    92. processing com/google/unity/ads/UnityAdLoaderListener.class...
    93. processing com/google/unity/ads/UnityRewardBasedVideoAdListener.class...
    94. processing com/google/unity/ads/UnityRewardedAd.class...
    95. processing com/google/unity/ads/UnityRewardedAd$1.class...
    96. processing com/google/unity/ads/UnityRewardedAd$2.class...
    97. processing com/google/unity/ads/UnityRewardedAd$2$1.class...
    98. processing com/google/unity/ads/UnityRewardedAd$2$1$1.class...
    99. processing com/google/unity/ads/UnityRewardedAd$2$1$2.class...
    100. processing com/google/unity/ads/UnityRewardedAd$3.class...
    101. processing com/google/unity/ads/UnityRewardedAd$4.class...
    102. processing com/google/unity/ads/UnityRewardedAd$4$1.class...
    103. processing com/google/unity/ads/UnityRewardedAd$4$1$1.class...
    104. processing com/google/unity/ads/UnityRewardedAd$4$1$2.class...
    105. processing com/google/unity/ads/UnityRewardedAd$4$1$3.class...
    106. processing com/google/unity/ads/UnityRewardedAd$4$1$4.class...
    107. processing com/google/unity/ads/UnityRewardedAd$5.class...
    108. processing com/google/unity/ads/UnityRewardedAdCallback.class...
    109. processing archive D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\NativeToolkit\bin\nativetoolkit.jar...
    110. ignored resource META-INF/MANIFEST.MF
    111. processing com/secondfury/nativetoolkit/Dialog.class...
    112. processing com/secondfury/nativetoolkit/Dialog$1.class...
    113. processing com/secondfury/nativetoolkit/Dialog$2.class...
    114. processing com/secondfury/nativetoolkit/Dialog$3.class...
    115. processing com/secondfury/nativetoolkit/Dialog$4.class...
    116. processing com/secondfury/nativetoolkit/Dialog$5.class...
    117. processing com/secondfury/nativetoolkit/Dialog$6.class...
    118. processing com/secondfury/nativetoolkit/Email.class...
    119. processing com/secondfury/nativetoolkit/EmailMultiAttachment.class...
    120. processing com/secondfury/nativetoolkit/FileUtils.class...
    121. processing com/secondfury/nativetoolkit/FileUtils$1.class...
    122. processing com/secondfury/nativetoolkit/FileUtils$2.class...
    123. processing com/secondfury/nativetoolkit/FileUtils$3.class...
    124. processing com/secondfury/nativetoolkit/Image.class...
    125. processing com/secondfury/nativetoolkit/LocalNotification.class...
    126. processing com/secondfury/nativetoolkit/LocalNotificationResult.class...
    127. processing com/secondfury/nativetoolkit/Main.class...
    128. processing com/secondfury/nativetoolkit/Main$1.class...
    129. processing com/secondfury/nativetoolkit/Main$2.class...
    130. processing com/secondfury/nativetoolkit/Main$3.class...
    131. processing com/secondfury/nativetoolkit/MainActivity.class...
    132. processing archive D:\projects\Tarc\GAZETI\Temp\StagingArea\android-libraries\VuforiaWrapper\libs\.\Vuforia.jar...
    133. processing com/vuforia/Anchor.class...
    134. processing com/vuforia/AnchorResult.class...
    135. processing com/vuforia/Area.class...
    136. processing com/vuforia/Area$TYPE.class...
    137. processing com/vuforia/Box3D.class...
    138. processing com/vuforia/COORDINATE_SYSTEM_TYPE.class...
    139. processing com/vuforia/CameraCalibration.class...
    140. processing com/vuforia/CameraDevice.class...
    141. processing com/vuforia/CameraDevice$CAMERA_DIRECTION.class...
    142. processing com/vuforia/CameraDevice$FOCUS_MODE.class...
    143. processing com/vuforia/CameraDevice$MODE.class...
    144. processing com/vuforia/CameraField.class...
    145. processing com/vuforia/CameraField$DataType.class...
    146. processing com/vuforia/CustomViewerParameters.class...
    147. processing com/vuforia/CylinderTarget.class...
    148. processing com/vuforia/CylinderTargetResult.class...
    149. processing com/vuforia/DataSet.class...
    150. processing com/vuforia/Device.class...
    151. processing com/vuforia/Device$MODE.class...
    152. processing com/vuforia/DeviceTrackable.class...
    153. processing com/vuforia/DeviceTrackableResult.class...
    154. processing com/vuforia/DeviceTracker.class...
    155. processing com/vuforia/EYEID.class...
    156. processing com/vuforia/EyewearCalibrationProfileManager.class...
    157. processing com/vuforia/EyewearCalibrationReading.class...
    158. processing com/vuforia/EyewearCalibrationReading$AlignmentType.class...
    159. processing com/vuforia/EyewearDevice.class...
    160. processing com/vuforia/EyewearDevice$ORIENTATION.class...
    161. processing com/vuforia/EyewearUserCalibrator.class...
    162. processing com/vuforia/EyewearUserCalibrator$CONSISTENCY.class...
    163. processing com/vuforia/Frame.class...
    164. processing com/vuforia/GLTextureData.class...
    165. processing com/vuforia/GLTextureUnit.class...
    166. processing com/vuforia/GuideView.class...
    167. processing com/vuforia/HINT.class...
    168. processing com/vuforia/HandheldTransformModel.class...
    169. processing com/vuforia/HeadTransformModel.class...
    170. processing com/vuforia/HitTestResult.class...
    171. processing com/vuforia/INIT_ERRORCODE.class...
    172. processing com/vuforia/INIT_FLAGS.class...
    173. processing com/vuforia/Illumination.class...
    174. processing com/vuforia/Image.class...
    175. processing com/vuforia/ImageTarget.class...
    176. processing com/vuforia/ImageTargetBuilder.class...
    177. processing com/vuforia/ImageTargetBuilder$FRAME_QUALITY.class...
    178. processing com/vuforia/ImageTargetResult.class...
    179. processing com/vuforia/InstanceId.class...
    180. processing com/vuforia/InstanceId$ID_DATA_TYPE.class...
    181. processing com/vuforia/Matrix34F.class...
    182. processing com/vuforia/Matrix44F.class...
    183. processing com/vuforia/Mesh.class...
    184. processing com/vuforia/ModelTarget.class...
    185. processing com/vuforia/ModelTargetResult.class...
    186. processing com/vuforia/MultiTarget.class...
    187. processing com/vuforia/MultiTargetResult.class...
    188. processing com/vuforia/NonCopyable.class...
    189. processing com/vuforia/Obb2D.class...
    190. processing com/vuforia/Obb3D.class...
    191. processing com/vuforia/ObjectTarget.class...
    192. processing com/vuforia/ObjectTargetResult.class...
    193. processing com/vuforia/ObjectTracker.class...
    194. processing com/vuforia/PIXEL_FORMAT.class...
    195. processing com/vuforia/PositionalDeviceTracker.class...
    196. processing com/vuforia/Rectangle.class...
    197. processing com/vuforia/RectangleInt.class...
    198. processing com/vuforia/Renderer.class...
    199. processing com/vuforia/Renderer$FPSHINT_FLAGS.class...
    200. processing com/vuforia/RendererHelper.class...
    201. processing com/vuforia/RenderingPrimitives.class...
    202. processing com/vuforia/RotationalDeviceTracker.class...
    203. processing com/vuforia/STORAGE_TYPE.class...
    204. processing com/vuforia/SmartTerrain.class...
    205. processing com/vuforia/SmartTerrain$HITTEST_HINT.class...
    206. processing com/vuforia/State.class...
    207. processing com/vuforia/StateUpdater.class...
    208. processing com/vuforia/TargetFinder.class...
    209. processing com/vuforia/TargetSearchResult.class...
    210. processing com/vuforia/TextTracker.class...
    211. processing com/vuforia/TextTracker$UP_DIRECTION.class...
    212. processing com/vuforia/TextureData.class...
    213. processing com/vuforia/TextureUnit.class...
    214. processing com/vuforia/Tool.class...
    215. processing com/vuforia/Trackable.class...
    216. processing com/vuforia/TrackableResult.class...
    217. processing com/vuforia/TrackableResult$STATUS.class...
    218. processing com/vuforia/TrackableSource.class...
    219. processing com/vuforia/Tracker.class...
    220. processing com/vuforia/TrackerManager.class...
    221. processing com/vuforia/TransformModel.class...
    222. processing com/vuforia/TransformModel$TYPE.class...
    223. processing com/vuforia/Type.class...
    224. processing com/vuforia/UpdateCallback.class...
    225. processing com/vuforia/VIDEO_BACKGROUND_REFLECTION.class...
    226. processing com/vuforia/VIEW.class...
    227. processing com/vuforia/Vec2F.class...
    228. processing com/vuforia/Vec2I.class...
    229. processing com/vuforia/Vec3F.class...
    230. processing com/vuforia/Vec3I.class...
    231. processing com/vuforia/Vec4F.class...
    232. processing com/vuforia/Vec4I.class...
    233. processing com/vuforia/VideoBackgroundConfig.class...
    234. processing com/vuforia/VideoBackgroundTextureInfo.class...
    235. processing com/vuforia/VideoMode.class...
    236. processing com/vuforia/ViewList.class...
    237. processing com/vuforia/ViewerParameters.class...
    238. processing com/vuforia/ViewerParameters$BUTTON_TYPE.class...
    239. processing com/vuforia/ViewerParameters$TRAY_ALIGNMENT.class...
    240. processing com/vuforia/ViewerParametersList.class...
    241. processing com/vuforia/ViewerParametersList$VPIterator.class...
    242. processing com/vuforia/VirtualButton.class...
    243. processing com/vuforia/VirtualButton$SENSITIVITY.class...
    244. processing com/vuforia/VirtualButtonResult.class...
    245. processing com/vuforia/VuMarkTarget.class...
    246. processing com/vuforia/VuMarkTargetResult.class...
    247. processing com/vuforia/VuMarkTemplate.class...
    248. processing com/vuforia/Vuforia.class...
    249. processing com/vuforia/Vuforia$1.class...
    250. processing com/vuforia/Vuforia$UpdateCallbackInterface.class...
    251. processing com/vuforia/VuforiaJNI.class...
    252. processing com/vuforia/Word.class...
    253. processing com/vuforia/WordList.class...
    254. processing com/vuforia/WordList$FILTER_MODE.class...
    255. processing com/vuforia/WordResult.class...
    256. processing com/vuforia/ar/pl/CalibrationProfileServiceConnection.class...
    257. processing com/vuforia/ar/pl/Camera1_Preview.class...
    258. processing com/vuforia/ar/pl/Camera1_Preview$1.class...
    259. processing com/vuforia/ar/pl/Camera1_Preview$CameraCacheInfo.class...
    260. processing com/vuforia/ar/pl/Camera2_Preview.class...
    261. processing com/vuforia/ar/pl/Camera2_Preview$1.class...
    262. processing com/vuforia/ar/pl/Camera2_Preview$2.class...
    263. processing com/vuforia/ar/pl/Camera2_Preview$AutofocusRunner.class...
    264. processing com/vuforia/ar/pl/Camera2_Preview$CameraCacheInfo.class...
    265. processing com/vuforia/ar/pl/Camera2_Preview$FrameInfo.class...
    266. processing com/vuforia/ar/pl/Camera2_Preview$OnCameraDataAvailable.class...
    267. processing com/vuforia/ar/pl/Camera2_Preview$OnFrameCapturedCallback.class...

    I tried to search google for this and I came to know that this problem is most likely caused by one or more ".aar " having identical classes in them and removing one of them can solve the problem, but I'm not able to figure out which one I should remove. can someone please point me in the right direction.

    Thanks, folks.
     
  3. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,965
    Try exporting with stacktrace for better error details and post.
     
  4. Ankit_JeGames

    Ankit_JeGames

    Joined:
    May 28, 2019
    Posts:
    11
    I just followed the path provided in Error I deleted all the classes which were being conflicting.