Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by hermes · Jul 15, 2015 at 08:48 PM · unity5build-error

Unity5 can not Build on Android: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$attr

I get the following error when I try to export out a build for android.But it was working fine with Unity 4.6, It will be great if someone smarter could look at this to figure out what might been wrong.

I'm using the following jar files: android-support-v4.jar, autoallstarsv1.jar, bolts-android-1.1.2.jar, google-play-services.jar, supersonic_sdk_5.12.jar,

Here my error message :

DisplayProgressNotification: Build Failed Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details. C:\Program Files\Java\jdk1.8.0_25\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="D:/Program Files/Android_SDK_KOR/sdk\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -

stderr[

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$attr;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$color;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$dimen;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$drawable;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$id;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$integer;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$layout;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$menu;

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/chuchen/android/autostars/R$raw;

UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.RuntimeException: Translation has been interrupted

     at com.android.dx.command.dexer.Main.processAllFiles(Main.java:608)
 at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
 at com.android.dx.command.dexer.Main.run(Main.java:277)
 at com.android.dx.command.dexer.Main.main(Main.java:245)
 at com.android.dx.command.Main.main(Main.java:106)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:483)
 at SDKMain.main(SDKMain.java:129)

Caused by: java.lang.InterruptedException: Too many errors at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600) ... 9 more ] stdout[ processing archive bin\classes.jar... processing com/unity3d/player/a$1.class... processing com/unity3d/player/a$2.class... processing com/unity3d/player/a$a.class... processing com/unity3d/player/a.class... processing com/unity3d/player/b$1.class... processing com/unity3d/player/b$2.class... processing com/unity3d/player/b.class... processing com/unity3d/player/c.class... processing com/unity3d/player/d$1.class... processing com/unity3d/player/d$2.class... processing com/unity3d/player/d.class... processing com/unity3d/player/e.class... processing com/unity3d/player/f.class... processing com/unity3d/player/g.class... processing com/unity3d/player/h.class... processing com/unity3d/player/i.class... processing com/unity3d/player/j$1.class... processing com/unity3d/player/j$2$1$1.class... processing com/unity3d/player/j$2$1.class... processing com/unity3d/player/j$2.class... processing com/unity3d/player/j.class... processing com/unity3d/player/k$1.class... processing com/unity3d/player/k.class... processing com/unity3d/player/l.class... processing com/unity3d/player/m.class... processing com/unity3d/player/n$1.class... processing com/unity3d/player/n.class... processing com/unity3d/player/NativeLoader.class... processing com/unity3d/player/o.class... processing com/unity3d/player/ReflectionHelper$1.class... processing com/unity3d/player/ReflectionHelper$a.class... processing com/unity3d/player/ReflectionHelper.class... processing com/unity3d/player/p.class... processing com/unity3d/player/q$1.class... processing com/unity3d/player/q$2.class... processing com/unity3d/player/q$3.class... processing com/unity3d/player/q.class... processing com/unity3d/player/r.class... processing com/unity3d/player/s.class... processing com/unity3d/player/UnityPlayer$1.class... processing com/unity3d/player/UnityPlayer$2.class... processing com/unity3d/player/UnityPlayer$4.class... processing com/unity3d/player/UnityPlayer$5.class... processing com/unity3d/player/UnityPlayer$6.class... processing com/unity3d/player/UnityPlayer$7.class... processing com/unity3d/player/UnityPlayer$8.class... processing com/unity3d/player/UnityPlayer$9.class... processing com/unity3d/player/UnityPlayer$10.class... processing com/unity3d/player/UnityPlayer$11.class... processing com/unity3d/player/UnityPlayer$12.class... processing com/unity3d/player/UnityPlayer$13$1.class... processing com/unity3d/player/UnityPlayer$13.class... processing com/unity3d/player/UnityPlayer$3.class... processing com/unity3d/player/UnityPlayer$14.class... processing com/unity3d/player/UnityPlayer$15.class... processing com/unity3d/player/UnityPlayer$16.class... processing com/unity3d/player/UnityPlayer$17.class... processing com/unity3d/player/UnityPlayer$18.class... processing com/unity3d/player/UnityPlayer$19.class... processing com/unity3d/player/UnityPlayer$a.class... processing com/unity3d/player/UnityPlayer$b.class... processing com/unity3d/player/UnityPlayer$c.class... processing com/unity3d/player/UnityPlayer.class... processing com/unity3d/player/UnityPlayerActivity.class... processing com/unity3d/player/UnityPlayerNativeActivity.class... processing com/unity3d/player/UnityPlayerProxyActivity.class... processing com/unity3d/player/t.class... processing com/unity3d/player/u$1.class... processing com/unity3d/player/u.class... processing com/unity3d/player/WWW.class... processing org/fmod/FMODAudioDevice$a.class... processing org/fmod/FMODAudioDevice.class... processing org/fmod/a.class...

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Unity5 build issue, not showing texture. 1 Answer

Build & Run doesn't finish 0 Answers

I made a custom icon that is not showing 1 Answer

Building Unity game that includes SQLite database ,How to build Unity game that includes SQLite Database. 3 Answers

UWP Build Error 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges