Errors running builder 'Android Package Builder' on project solution

Related Posts:

http://support.rongcloud.cn/kb/MzMy

 

question:

After the recent upgrade of SdkManager on eclipse, this error is reported every time I run the Android program

 

Process:

At first, I checked on the Internet and said that it was a problem with the version of jdk or Android's buildtools.

So add a line of sdk.buildtools=21.1.1 to the project.properties file, the project can run

Change sdk.buildtools to sdk.buildtools=24.0.1, the program cannot run again

 

Analyze the reasons:

1. The Android buildtools in eclipse use the highest version in sdkmanager by default. I have downloaded Android7.0, so the buildtools is 24.0.1

2. But the JDK on the computer is installed with JDK_1.7.0_52 in order to be consistent with the background, and the version is older

3. So guess it is the problem of buildtools and jdk version (I still don't understand why these two versions have this error)

 

Solution:

1. Added a line of sdk.buildtools=21.1.1 to the project.properties file and the test passed!

2. Delete the high version of buildtools in SdkManager Test passed!

3. The solution that others said on the Internet is to upgrade the JDK to 1.8.0 (not yet tested)

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326566555&siteId=291194637