You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alex Carter edited this page Sep 30, 2018
·
2 revisions
This document was written while setting up the UWU-Bot and DogeQuickstart projects. AS 3.2
Build Errors
Could not find com.android.tools.build:aapt2:3.2.0-4818971.
Fix:
To solved this I added this snippet to the end of the top-level build.gradle file, this should be the gradle fin your project folder with the project name next to inside AS.
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
Fix:
This issue is a deprecation warning in many of the ftc_app gradle files. This is not going to cause the build to fail as of right now, however, it claims that after 2018, this may cause issues. Hopefully, FTC will update these files themselves but until then it seems safe to assume you can simply replace any instance of compile xxx with implementation xxx
The number of method references in a .dex file cannot exceed 64K.
FIX (Credit to ACME Robotics):
"In some cases, Road Runner's dependencies may exceed the limit of method references. To fix it, add compile 'com.android.support:multidex:1.0.3' to your dependencies and add multiDexEnabled true to the defaultConfig closure (for FTC, this is located inside build.common.gradle)."