Ant Packet Function Solve! BUILD FAILED

Updated on technology 2024-03-22
9 answers
  1. Anonymous users2024-02-07

    You see if there is such an error in the back:

    build failed

    d:\android\sdk\tools\ant\:649: the following error occurred while executing this line:

    d:\android\sdk\tools\ant\:694:

    execute failed: :cannot run program "d:

    android\sdk\build-tools\" (in directory "d:\cocos\hellococos\"): createprocess error=2, the system cannot find the specified file.

    at :1048)

    at :620)

    It's this :d: android sdk build-tools, you go to your sdk directory and see if there is this folder and file bin; If you don't have one, create a new one yourself, and then copy and copy it in, these two files are in your d:

    Android SDK build-tools directory. Then in the compilation. That's how my mistake was resolved.

  2. Anonymous users2024-02-06

    Problem solved. The reason is that I wrote the environment variable android home as android sdk home, which caused android home to be found in it

  3. Anonymous users2024-02-05

    ยทยทยท sdk tools ant: 198 null this already tells what the problem is.

  4. Anonymous users2024-02-04

    debug...Some debugs are automatically added when packing**. Therefore, the operation efficiency is relatively not so high.

    If you're going to do a product launch... With release version.

    If you create a program in Visual Studio. By default, no optimization is made.

    The Program's Release configuration is fully optimizedVisual Studio projects have separate configurations for the release and debugging versions of the program, and Visual Studio will automatically create these configurations and set the appropriate default options and other settings. As the name suggests, the purpose of building a debug build is to be used for debugging. (Optimizations complicate debugging, and building a release is intended for the final distribution of the version:.)

    The program's "debug" configuration is compiled with full symbolic debugging, because the relationship between the source and the generated instructions is more complex. Debugs can be generated in a separate pdb file and do not contain any symbolic debugs

  5. Anonymous users2024-02-03

    If the name of your file is, just type ant in the command prompt.

    Don't use ant build

    If the name of the file is different but something else, e.g. to run, you have to type the command ant buildfile

  6. Anonymous users2024-02-02

    There is a problem with your writing. In the friendship project, there is no build target

    You check if your file looks like this. The main ones are target name="build"This paragraph.

  7. Anonymous users2024-02-01

    The class that implements the extension method in C must be static, and the name of the class is independent of the class that implements the extension method.

    The class method that implements the extension method must be static.

  8. Anonymous users2024-01-31

    Add slf4j's. The path of the jar package to the classpath

  9. Anonymous users2024-01-30

    lzYou upgrade the build tool in your server's SDK to see if the build tool version of your server is too low.

Related questions
7 answers2024-03-22

Based on my personal experience, I can start with a list of personal items, fragile items, books, electronics. Packing separately not only saves space, but also allows you to return to your place as soon as possible after you move home. The following personal experience is shared with you >>>More

13 answers2024-03-22

The profit is average, it takes more than 6,000 yuan to buy raw materials, the market price of finished products is more than 6,000 yuan, and the electricity bills, rents, and workers' wages are basically the same! I've changed careers now!! At that time, I bought Kexin machine, and now I want to sell it after seven months, but I don't know that there is no old equipment.

3 answers2024-03-22

Eagle claw gong, the method of practicing fingers, with both internal and external cultivation, the effect can be fast. There are no drawbacks. Its strength is all in the knuckles, especially if it is not as good as the slash of the fist, it can still be carried through by the power of the wrist and arm. >>>More

8 answers2024-03-22

First of all, Python is an interpretive line language, and it is not possible to directly generate an executable file. >>>More

11 answers2024-03-22

I used a lunch box to pack it in the cafeteria, today's meals are still OK, first of all, this mushroom, this mushroom I will also like to eat, haha except for this mushroom I don't like to eat much, the rest I think it's okay, it's all delicious, I think the mushrooms are quite delicious, haha this mushroom can be eaten a little more, this nutrition will be super good, generally use pickles to burn it will be very delicious, or just use snow cabbage to burn, It's also delicious. >>>More