當我將應用加載到設備時,我的Android應用高速緩存大小約爲40MB,並且它在第一次啓動應用時顯示空白屏幕。我不知道如何解決這個挑戰,請幫助。如何最小化Android應用高速緩存大小
這些是我正在使用的庫。
compile(group: 'com.microsoft.azure', name: 'azure-notifications-handler', version: '1.0.1', ext: 'jar')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.google.code.gson:gson:2.6.2'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.microsoft.azure.android:azure-storage-android:[email protected]'
compile 'com.microsoft.azure:azure-mobile-services-android-sdk:2.0.3'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
感謝您的回覆@Marcin Orlowski,我將嘗試..是否有減少應用程序緩存內存消耗... – Manu
嘗試使用ProGuard去除包含庫中的未使用部分(在項目設置中稱爲「minifing」)。另外檢查一下:http://tools.android.com/tech-docs/new-build-system/resource-shrinking –
非常感謝,它的工作非常好。我很驚訝我的應用程序響應時加載,30秒到少於2秒:)不幸的是沒有足夠的聲譽來表決..謝謝。 – Manu