You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it means you compileSdkVersion and buildToolsVersion is not very fit.
I am use 25 and 25.0.0 and get this error.Then I instead of 23 and 23.0.2.And this error is solve.
Q3:
Causedby: org.gradle.api.InvalidUserDataException: File 'project/module/build/intermediates/res/
resources-release-stripped.ap_' specified for property 'resourceFile' does not exist.
A3:
set shrinkResources's value to be false
shrinkResources false
There are some bug when we build android project with gradle, now give some solutions follow.
Q1:
A1:
disable the ProGuard first.
check you module build.gradle, make the minifyEnabled's value to be false.
minifyEnabled false
Q2:
A2:
it means you compileSdkVersion and buildToolsVersion is not very fit.
I am use 25 and 25.0.0 and get this error.Then I instead of 23 and 23.0.2.And this error is solve.
Q3:
A3:
set shrinkResources's value to be false
shrinkResources false
Q4:
A4:
in jenkins,change the task from
assemble --stacktrace
to
assemble --stacktrace -Dorg.gradle.java.home='yourjdkhome'
Q5:
A5:
check your gradle version and jdk version.mostly it's your jdk version.You can try the Q4 solution and see whether it solve or not.
The text was updated successfully, but these errors were encountered: