---
title: "apk 多个dex "
author: "sunj"
date: "2018-03-16T10:05:16Z"
tags: []
categories: ["移动开发"]
slug: "apk-dex"
draft: false
lastmod: "2018-03-16T10:05:16Z"
id: 2413277
url: "https://sunj.iteye.com/blog/2413277"
---

android studio 配置应用生成多个dex 

    defaultConfig {
        applicationId "com.zoehoo.ledplayer"
        minSdkVersion 19
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
        multiDexEnabled  true  // 默认为true, 如果想生成一个，改为false

    }