• 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 Giannis7312777 · Jun 16, 2013 at 03:19 PM · androidbuildplayer settings

Error building Player: Exception: android (invokation failed)

Hello. I tried to build my project with Android. I have already install the latest version of java, JDK and android-sdk-windows. I got this error:

 Error building Player: Exception: android (invokation failed)
 ERROR: unknown error
 cmd:android list target -c
 stdout;
 
 Usage:
   android [global options] list target [action options]
 
 Global options:
   -v --verbose  Verbose mode: errors, warnings and informational messages are printed.
   -h --help     Help on a specific command.
   -s --silent   Silent mode: only errors are printed out.
 
 Action "list target":
   Lists existing targets.
 Options:
   No options
 stderr:
 Error: Flag '-c' is not valid for 'list target'.

Please can someone help me:( I really need to fix that Thanks in advance!

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

1 Reply

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

Answer by Stephen_O · Jun 22, 2013 at 08:01 PM

Android is a little tricky to get up and running. long story short, you may need to downgrade your sdk tools to r21. I made a video describing the steps I took to successfully set up my Android environment: Android Setup Video

Comment
Add comment · Show 2 · 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 Giannis7312777 · Jun 25, 2013 at 02:56 PM 0
Share

Thanks, you solved my problem :D

avatar image Stephen_O · Jun 25, 2013 at 04:24 PM 1
Share

Glad I can help =)

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



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

Android splash screen not working 4 Answers

Android Build is flickering and breaking the game 0 Answers

Build/packing specified assets? 0 Answers

Game too slow or too fast on Android 1 Answer

Problem with building apk file for android 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges