Rich-text Reply

Build Error with Optimizely

abhishekdabral 05-24-16

Build Error with Optimizely

error","text":"No resource identifier found for attribute \u0027drawableTint\u0027 in package \u0027android\u0027","sources":[{"file":"C:\\myapp\\build\\intermediates\\exploded-aar\\com.optimizely\\optimizely-editor\\1.5.0\\res\\layout\\activity_preview.xml","position":{"startLine":23}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"No resource identifier found for attribute \u0027drawableTint\u0027 in package \u0027android\u0027","sources":[{"file":"C:\\myapp\\build\\intermediates\\exploded-aar\\com.optimizely\\optimizely-editor\\1.5.0\\res\\layout\\activity_preview.xml","position":{"startLine":34}}],"original":"","tool":"AAPT"}

 

org.gradle.process.internal.ExecException: Process 'command 'E:\Android\adt-bundle-windows-x86_64-20131030\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1

tedroddy 05-25-16
 

Re: Build Error with Optimizely

Hi abhishekdabral,

Are you on Android Studio 1.x? In order for this build to work we want to make sure you are on the latest version of Android Studio and using the latest version of gradle. If you can upgrade to Android Studio 2.2 and update your gradle plugin to 2.1.0, syncing gradle and doing a clean project then building should work. Let me know what versions of these softwares you're using and I will see if there is another workaround if you are already up to date.
Best,
Ted
Optimizely