Problem 1: There was no problem when the project typed debug package, and an error was reported when the release package was typed.

1. Problem phenomenon:

Console error message: Expect Java type before ‘com.meizu.cloud.pushsdk.** holmium ‘in line 22 of file ‘c: \ users \ kk gradle, caches, transforms – 2 \ \ ada9c754e86d79e4fdca7053ff95b350 \ proguard files – 2.1 TXT’

2. Solutions

1. Chinese characters on the console are garbled. Refer to the following links to pack the console again.

Links: blog.csdn.net/fendou8/art…

Problem 2: The Terminal console commonly used command line, the main purpose is to solve the problem of project dependency conflict

1. How to open the corresponding project address in the Terminal console, as shown in the figure:

Or use a CD command such as CD D:\EpointProject\StandardProject\2020\V74\ShuZiJianSheType\ZsGongDi\Tag7.5

2. View the packages that the project depends on

Use the following command: gradlew workplatform: dependencies

‘gradlew’ is not an internal or external command. It is not a executable program.

Gradle-wrapper. jar must be placed under gradle-wrapper.jar, otherwise an error will be reported: ‘gradlew’ is not an internal or external command and is not a runnable program.

How do I get the gradle-wrapper.jar file? A: Create an empty Android project to obtain, copy to the corresponding directory can be.

3. If the console output, look at the dependency package look uncomfortable, you can also generate the corresponding TXT file, the generated file in the root directory of the project

gradlew workplatform:dependencies >a.txt

gradlew workarea:dependencies >a.txt