Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
2
Question by DoomerDGR8 · Jul 11, 2017 at 07:09 PM · android buildfilenotfound

Win32Exception Native error= The system cannot find the file specified

Hi, everyone!

So today, I'm in the mood of publishing for the first time in my life. I have followed a few latest tutorials to get to the current stage. I'm having a build issue in Unity 2017.1.0f1 x64 (free):

 Win32Exception: ApplicationName='E:\Android\android-sdk\build-tools\26.0.0\apksigner.bat', CommandLine='sign --ks "G:/Users/name/path/company/game/Key/game.keystore" --ks-pass pass:"nope" --ks-key-alias "key-game" --key-pass pass:"nada" "G:\Users\name\path\company\game\Temp/StagingArea/Package.apk"', CurrentDirectory='Temp/StagingArea', Native error= The system cannot find the file specified

I'm checking all paths and all the mentioned files are there where they are supposed to be: Java installed, SDK installed and updated, project folder ok, and Temp/Staging exists for a while but then gets cleaned after a while (after the error occurs). So, I'm a bit clueless right now.

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

4 Replies

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

Answer by Evgenij · Jul 12, 2017 at 02:41 PM

I have exactly the same error. The only way for me to fix it was to change the "Build System" in your Publishing Settings to Gradle (New) instead of Internal (Default).

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 therealamitk · Apr 05, 2019 at 02:15 AM 0
Share

Can you help? Changing to Gradle doesn't help me. I already that build system set to gradle before this error occurred.

avatar image
1

Answer by BadGrumpyCat · Jul 15, 2017 at 07:44 PM

For me, deleting build-tools version 26 from android sdk manager, has helped.

Comment
Add comment · Show 4 · 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 DoomerDGR8 · Jul 16, 2017 at 02:47 AM 0
Share

Interesting as this was the skd version Unity was building against for me as well. I however also reverted back to the .Net 3.5 + the Gradle build system and app is now published.

avatar image DevLuke · Jul 17, 2017 at 08:25 PM 0
Share

Yeah, I fixed the issue by deleting version 26.0.0 and installing 25.0.3 using Android Studio.

avatar image LLozanov DevLuke · Sep 09, 2017 at 08:49 PM 0
Share

This helped to me

@DevLuke " I fixed the issue by deleting version 26.0.0 and installing 25.0.3 using Android Studio."

avatar image ioane37 · Jun 11, 2018 at 02:18 PM 0
Share

I Downloaded version 26 and worked

avatar image
0

Answer by ermenda · Sep 14, 2017 at 06:24 PM

Check the permissions of the aapt file in the folder, make sure that all users can read and execute it. That's how I solved it. The same with zipalign and apksigner, execute and read permissions for all users not only administrators.

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 d-o4 · Jun 26, 2020 at 03:23 PM

listen to me I have the same problem and I solve this problem through: 1- download SDK tools version 25.2.5 from google that will download with zip file. 2- extract zip file. 3- open file--------->tool-----------> here will find android click right and run as administrator. 4- in this step will open the SDK manager. 5- choose android SDK Build-tool 27.0.3 and install it. 6- if you download SDK Build-tool 26 you should click on this and delete it 7- if you finish installing Build-tool 27.0.3 back to unity and open Other settings and choose from a minimum API level 16. 8- back to SDK manager and download Android API level 16 that will take 1 hour. 9- go-to preference in unity and Brouse SDK and choose SDK tools_r25.2.5-windows. 10- Build your project will succeded 100%100.,listen to me I have the same problem and I solve this problem through: 1- download SDK tools version 25.2.5 from google that will download with zip file. 2- extract zip file. 3- open file--------->tool-----------> here will find android click right and run as administrator. 4- this step will open the SDK manager. 5- choose android SDK Build-tool 27.0.3 and install it. 6- if you download SDK Build-tool 26 you should click on this and delete it 7- if you finish installing Build-tool 27.0.3 back to unity and open Other settings and choose from a minimum API level 16. 8- back to SDK manager and download Android API level 16 that will take 1 hour. 9- go-to preference in unity and Brouse SDK and choose SDK tools_r25.2.5-windows. 10- Build your project will succeded 100%100.

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

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

116 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 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 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 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 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 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 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Problem with unity editor 0 Answers

iOS 9 Bloating Unity Apps 0 Answers

Interactive 2D map using shapefiles 0 Answers

How to duplicate a file and save it in a new folder? 0 Answers

Variables not showing in Inspector 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