Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by anajimmy · Aug 06, 2013 at 12:13 AM · androiderror-messagealign

Align Error Android APK build

Hello All,

I am building a game for android. When I try to build the apk file (or run it on my device), it gives me the following error. I have also added Android SDK to unity and I am able to build apk file for other projects, but this project needs JDK and I guess something is going wrong with it. I am using Unity 4.12f on a 64bit pc, I have JDK SE 6u45 (b06) development kit (version 32 bit) and I have android SDK and the same kind of project works fine in eclipse. I feel something is wrong with the link between JDK and unity. I would really appreciate it if someone could help me with this.

Win32Exception: ApplicationName='\tools\zipalign', CommandLine='-v 4 repack_apk\dist\dyhtdy.apk dyhtdy.apk', CurrentDirectory='C:/Users/Dell/Desktop/temp33/Unity Project' System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start () (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () PostProcessScriptStarter.runProcess (System.String fileName, System.String arguments, System.String workingDir, System.String addToPath) (at Assets/Editor/SoomlaPostBuild.cs:115) PostProcessScriptStarter.OnPostprocessBuild (BuildTarget target, System.String pathToBuiltProject) (at Assets/Editor/SoomlaPostBuild.cs:66) UnityEditor.HostView:OnGUI()

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by anajimmy · Aug 08, 2013 at 10:56 PM

I am going to answer this for me :D So, that how it worked for me: Uninstall JDK Install JDK 6, 32 bit Add variable names "ANDROID_HOME" and "JAVA_HOME" to their directories in system setting. (windows 7)

Comment
Add comment · Share
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
avatar image
0

Answer by awesomeaustin316 · Aug 06, 2013 at 05:41 AM

for me I had to also install 32 bit jdk. I don't know if this will help you, but you could try

Comment
Add comment · Show 1 · Share
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
avatar image anajimmy · Aug 06, 2013 at 06:58 AM 0
Share

Yeah I have seen that in some forums and I am using 32 bit too.. I hope I find the problem, thanks anyway ;)

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

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Unity + Android + Development Build = CompareBaseObjectsInternal can only be called from the main thread. 1 Answer

Unity Ads Unnecessary Android Permissions 1 Answer

Share results or score on google+ from android unity3d 1 Answer

FATAL EXCEPTION - dvm crash ? 1 Answer


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