I want to add fused location services and getting this Error in Build
Cannot fit requested classes in a single dex file. Try supplying a main-dex list.
# methods: 65596 > 65536
Message{kind=ERROR, text=Cannot fit requested classes in a single dex file. Try supplying a main-dex list.
# methods: 65596 > 65536, sources=[Unknown source file], tool name=Optional.of(D8)}
- 5 years ago
try to use Gradle for multi dex
implementation 'com.android.support:multidex:1.0.3'
android { ... defaultConfig { ,... multiDexEnabled true .... }
Hot Questions