AAPT2 compile failed: invalid dimen on Android 3.0 Canary 1

后端 未结 7 1117
后悔当初
后悔当初 2020-12-04 08:37

I am playing around with Instant Apps for Android.I installed all the correct packages and tired to create new Application with Instant App support (checked the box for Inst

7条回答
  •  春和景丽
    2020-12-04 08:59

    Make sure you are not adding any units(dp) when using format="float"

    I was facing the same problem because I auto-generated dimens using Android Studio using Extract dimen resource and it added unit type like:

    51.75dp

    It should be:

    51.75

提交回复
热议问题