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

  • Home
  • SEARCH
  • 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 7653373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:01:02+00:00 2026-05-31T12:01:02+00:00

I want to create my Android virtual device from another java application. I don’t

  • 0

I want to create my Android virtual device from another java application.
I don’t want to use the default Android AvdManager because you can’t set where you want to create your AVD and it has problem with exotic caraters.

So I get the sdklib.jar of the AvdMagager and try to do this.

But I can’t create a AVD because I have the log :
Error
Unable to find a ‘%1$s’ file for ABI %2$s to copy into the AVD folder.

This is an exemple of what I do :

class Choice implements ISdkLog {

    public Choice() {
    com.android.sdklib.internal.avd.AvdManager avdmanager;
    try {
        com.android.sdklib.SdkManager manager = com.android.sdklib.SdkManager.createManager("Boulet", this);
        IAndroidTarget[] targets = manager.getTargets();

        avdmanager= new com.android.sdklib.internal.avd.AvdManager(manager,this);

        avdmanager.createAvd(new java.io.File("filename"), "dunno", targets[0], "dunno", "dunno", "dunno", null, false, false, false, this);

    } catch (AndroidLocationException e1) {
        // TODO Auto-generated catch block
        e1.printStackTrace();
    }
    }
//Method of interface ISdkLog
@Override
public void error(Throwable arg0, String arg1, Object... arg2) {
    // TODO Auto-generated method stub
    System.out.println("Error");
    System.out.println(arg1);
    System.out.println(arg0);
}

@Override
public void printf(String arg0, Object... arg1) {
    // TODO Auto-generated method stub
    System.out.println("Log");
    System.out.println(arg0);
}

@Override
public void warning(String arg0, Object... arg1) {
    // TODO Auto-generated method stub
    System.out.println("Warning");
    System.out.println(arg0);
}
}
  • 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-31T12:01:04+00:00Added an answer on May 31, 2026 at 12:01 pm

    This error is related to the system image the plateform must use.
    I could create my avd on windows with this.

    AvdManager avdmanager;
    try {
        SdkManager manager = SdkManager.createManager("path/to/android/sdk/folder", this);
        IAndroidTarget[] targets = manager.getTargets();
    
        avdmanager= new AvdManager(manager,this);
    
        avdmanager.createAvd(new File("custom/path/for/your/avd","advname"), "advname", targets[0], target[0].getSystemImages()[0].getAbiType(), null, null, null,
                false, false, false, this);
    
    } catch (AndroidLocationException e1) {
        // TODO Auto-generated catch block
        e1.printStackTrace();
    }
    

    The null parameters are options for skin, sdcard path, emulator params (screen params,etc…).

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

Sidebar

Related Questions

I want to create a Android Virtual device that resembles a 7 inch tablet
I want to create simple application like android image gallery but I don't want
I want to create an Android Virtual Device in Eclipse Galileo which matches HTC
I want to create a Custom Virtual KeyBoard and use it to replace android's
I want to create a jar file from one android project for another android
I want to create a android search application that can be used to search
I want to create an application for Android that will be able to scan
I want to create a twitter application in Android. For this I want to
I want to create settings page for my android application.In the settings page is
i want to create 3d games for android but i don't have any information

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.