I tried to build my project and run the app using Android studio and it works fine but when I tried the same using terminal command, it gave me below error.
FAILURE: Build failed with an exception.
I saw some other answers but all suggest to upgrade the JDK which I already did but no luck
I am using jdk: java 14 2020-03-17
Gradle version: 5.6.4
According to this answer;
upgrading your Gradle version in the
gradle/wrapper/gradle-wrapper.properties
will solve your problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.