Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 1479197

Browse files
cleared statement about multidex
1 parent 5f925bb commit 1479197

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,21 @@ com.android.dex.DexIndexOverflowException: method ID not in..
331331
```
332332

333333
Congrats, you ran into [this issue](https://github.com/NativeScript/android-runtime/issues/344)
334-
which can be solved by adding `multiDexEnabled true` to your `build.gradle`.
335-
See the linked issue for details.
334+
which can be solved by adding `multiDexEnabled true` to your `app/App_Resources/Android/app.gradle`
335+
so it becomes somehthing like this:
336+
337+
```
338+
android {
339+
defaultConfig {
340+
applicationId "my.package.id"
341+
multiDexEnabled true
342+
generatedDensities = []
343+
}
344+
aaptOptions {
345+
additionalParameters "--no-version-vectors"
346+
}
347+
}
348+
```
336349

337350
## Pro tips
338351

0 commit comments

Comments
 (0)