Questions tagged «android-instant-apps»

7
AAPT2编译失败:Android 3.0 Canary 1上无效的dimen
我正在使用适用于Android的Instant Apps。问题是我总是遇到编译工具的问题。是否还有其他人有此问题,并且能够找到任何解决方法。 我的环境: Android Studio 3.0 Canary 1 编译SDK:25 构建工具:“ 26.0.0 rc2” Gradle插件:3.0.0-alpha1 Gradle:尝试了gradle-4.0-milestone1和2 Java 1.8 / 1.7 操作系统:尝试Windows 10和Linux Ubuntu 16.4 LTS 错误: Error: java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed: aapt2 compile -o /home/simonp/Work/201705_InstantApp/InstantAppTest/feature/build/intermediates/res/merged/androidTest/debug /home/simonp/Work/201705_InstantApp/InstantAppTest/feature/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml Issues: - ERROR: /home/simonp/Work/201705_InstantApp/InstantAppTest/feature/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml:520 invalid dimen - ERROR: /home/simonp/Work/201705_InstantApp/InstantAppTest/feature/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml:521 invalid dimen - ERROR: /home/simonp/Work/201705_InstantApp/InstantAppTest/feature/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml:568 …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.