When trying to run my app using Android Studio Preview 5 and android gradle 
plugin 2.0.0-alpha5 I get the following error:

Error installing split apks: com.android.ddmlib.InstallException: Failed to 
finalize session : INSTALL_FAILED_INVALID_APK: Split 
lib_dependencies_7ec239608d467565bc6f479202ec42f20ec3b5fa was defined 
multiple times.

The command that it tries to run is:

$ adb install-multiple -r 
/Users/solcott/projects/android/android-app/build/outputs/apk/MyAndroidApp-lollipopDev-debug.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/dependencies_7ec239608d467565bc6f479202ec42f20ec3b5fa.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/dependencies_7ec239608d467565bc6f479202ec42f20ec3b5fa.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_0_0cc50a6f09677ee17ae03076f74b5378d698b820.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_1_8f7938e2d457b2e80a46c8318ca27d1f21833b47.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_2_b6a4ead236c2238c2df0bf3a60d031719554f1b6.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_3_081525630b51fd597d92beb7c11f813f462516da.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_4_7bf5fecc821c58ed781936ffa65958e07e1f495e.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_5_8efd1b37394115acaa167d5b063b120ae6a91714.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_6_0252cd7de53d4a6aa6219f202c42ccbc07fea3f6.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_7_3df5da96a862e62322f85d5a37f7d34d6766475e.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_8_c795dbebbf9488ca7cb26c8735a9a968645a57a4.apk
 
/Users/solcott/projects/android/android-app/build/intermediates/split-apk/lollipopDev/debug/slice_9_11956eb06e2a19818f979975882b6aeb649e114c.apk
 

It definitely is being defined twice in the command.  Also I also noticed 
that every time I hit the run button in AS it does a clean. Is it just 
caused by the previous run not being successful?

Thanks,

Scott

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to