diff --git a/TotalCrossVM/android/app/build.gradle b/TotalCrossVM/android/app/build.gradle index b7791552f..97e2b73da 100644 --- a/TotalCrossVM/android/app/build.gradle +++ b/TotalCrossVM/android/app/build.gradle @@ -92,14 +92,14 @@ android { into "${rootDir}/../../TotalCrossSDK/dist/vm/android" rename { 'TotalCross.apk' } } + copy { + from fileTree('build/intermediates/processed_res/' + variant.name +'/out').files + into "${rootDir}/../../TotalCrossSDK/etc/launchers/android" + include 'resources-' + variant.name + '.ap_' + rename { 'resources.ap_' } + } } } - copy { - from fileTree('build/intermediates/processed_res/' + variant.name +'/out').files - into '${rootDir}/../../TotalCrossSDK/etc/launchers/android' - include 'resources-' + variant.name + '.ap_' - rename { 'resources.ap_' } - } } else { variant.outputs.each { output -> def outputFile = output.outputFile