I am getting above mentioned error while building my android project in android studio version 4.0 and gradle version 4.0.0.
Asked
Active
Viewed 789 times
2
-
I suggest you try this [answer](https://stackoverflow.com/a/54235107/8738452). – Yunus Karakaya Jun 03 '20 at 17:30
-
Does this answer your question? [Android 3.3.0 update, ERROR: Cause: invalid type code: 68](https://stackoverflow.com/questions/54214605/android-3-3-0-update-error-cause-invalid-type-code-68) – Cobolt Jun 04 '20 at 07:18
-
not helped both suggesions – Vamsi Krishna Jun 09 '20 at 12:58
2 Answers
0
For me, the error resolved on setting the correct ndk version in build.gradle
file.
Example configuration:
android {
compileSdkVersion 29
ndkVersion "18.1.5063045"
defaultConfig {
........
You can click on the first line in Build Output to get full information about the error:

JiTHiN
- 6,548
- 5
- 43
- 69