How to zip Align APK file in android?

Read the documentation from Google itself The steps should be simple to follow. Please follow this doc from google for complete publishing details In short,complete steps in a nutshell(I am assuming you use eclipse/android sdk): 1. Check android_manifest.xml and verify that android:debuggable attribute is set to false in your manifest file 2. Check the android:versionCode … Read more

Android Studio – How to ZipAlign apk

Inside you main module’s build.gradle file you can have multiple build types along with your debug one. You can specify zipAlign characteristic inside any of your buildType by using buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.txt’ zipAlignEnabled true } } Note: Older versions use zipAlign, instead of zipAlignEnabled Default gradle tasks always created … Read more

cannot find zip-align when publishing app

I had the same problem. And to fix it, I copy the Zipalign file from sdk/build-tools/android-4.4W folder to sdk/tools/ Edited: Since Google updated SDK for Android, new build-tools does fix this problem. So I encouraged everyone to update to Android SDK Build-tools 20 as suggested by Pang in the post below.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)