How can I fix this error in Android Studio: “Cause: invalid type code: 00”?

前端 未结 4 2085
旧巷少年郎
旧巷少年郎 2021-02-12 04:03

All the code was working perfectly and nothing was wrong. Suddenly when i want to run the app it gives me this one error.

I have not touched the code.I tried uninstalling

4条回答
  •  无人及你
    2021-02-12 04:50

    Try disabling the "Only sync active variant" option and rebuilding. It worked for me.

    enter image description here

    EDIT:
    This address is for Android Studio with newer versions
    Setting > Experimental > Only sync the active variant

提交回复
热议问题