diff --git a/docs/html/tools/building/index.jd b/docs/html/tools/building/index.jd index c64942ff7d254..c1f301943ab83 100644 --- a/docs/html/tools/building/index.jd +++ b/docs/html/tools/building/index.jd @@ -79,3 +79,14 @@ page.title=Building and Running running on a device. +

Note: Apps are limited to a 64K method reference limit. If your app reaches +this limit, the build process outputs the following error message: + +

Unable to execute dex: method ID not in [0, 0xffff]: 65536.
+ +To avoid this, you can +load +secondary dex files at runtime and use +ProGuard to strip out unnecessary +class references (Proguard only works when building in release mode). +

\ No newline at end of file