I tried turning off AAPT2 but it didn't work. Below is the log.
Build: build failed 5s 44ms Run build 4s 889ms Load build 47ms Run init scripts 43ms Evaluate settings 2ms Configure build 776ms Calculate task graph 2s 211ms Run tasks 1s 839ms null
/Users/dt/AndroidStudioProjects/HappyBirthday app/src/main/res/layout/activity_main.xml error: resource dimen/activity_vertical_margin (aka com.example.android.happybirthday:dimen/activity_vertical_margin) not found. error: resource dimen/activity_horizontal_margin (aka com.example.android.happybirthday:dimen/activity_horizontal_margin) not found. null failed linking file resources.
After upgrading Android Studio you must invalidate caché and restart Android Studio
File
> Invalidate Cache / Restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With