Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7512213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:47:47+00:00 2026-05-29T23:47:47+00:00

For Android 2.3, I use this command line to enter CTS console: java -Xmx512M

  • 0

For Android 2.3, I use this command line to enter CTS console:

java -Xmx512M -cp
%CTS_ROOT%\tools\ddmlib-prebuilt.jar;%CTS_ROOT%\tools\cts.jar;%CTS_ROOT%\tools\junit.jar;
%CTS_ROOT%\tools\hosttestlib.jar com.android.cts.TestHost
%CTS_ROOT%\repository/host_config.xml

Is there a similar way of running Android 4.0 CTS like this without cygwin-like thing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:47:48+00:00Added an answer on May 29, 2026 at 11:47 pm

    For run Android 4.0+ CTS on Windows

    here is my solution:(I assume all path(adb)/classpath(Java) is set correct)

    1.download and unzip CTS file(for example,I put all unzipped files into D:\cts , the folder will look like D:\cts\android-cts)

    http://source.android.com/compatibility/downloads.html

    2.make cts_windows.bat file and put into tools folder.
    (that is D:\cts\android-cts\tools\cts_windows.bat in my case)

    edit cts_windows.bat file with code below (remember to use your own -DCTS_ROOT path):

    java -cp ddmlib-prebuilt.jar;tradefed-prebuilt.jar;hosttestlib.jar;cts-tradefed.jar -DCTS_ROOT=D:\cts com.android.cts.tradefed.command.CtsConsole
    
    1. execute cts_windows.bat file and it will into a shell like “cts-tf>”
      then you can run cts using ” run cts –plan CTS ” command.

    for more instructions, read manual at
    http://source.android.com/compatibility/android-cts-manual-r4.pdf

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently trying to research how to use Android with an existing java
After updating my sdk tools I cannot build my project from the command line.
I need to build my Android application using the command line, when I get
How do you use the Android API to zoom in and out maps with
What are the the positive and negative attributes to use iPhone/Android phones to write
Has anyone managed to use ItemizedOverlays in Android Beta 0.9? I can't get it
How can we use Web services in Android Applications?
In a Android application I want to use Scanner class to read a list
Should I use 32-bit Eclipse or 64-bit Eclipse for Android development? Im on a
How do I use prepared statements in SQlite in Android?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.